Most browsers have a feature called “Pin Tab” which basically shrinks the tab down the the favicon. This feature has always been completely pointless to me, because really, what is the use of pinning a tab every time I open my browser?
Enter Auto-Pin URL, a Chrome Extension.
Just enter the sites that you’d like to have auto-pin, and it does the work. This actually turns out to be pretty handy for sites you regularly have open. It even supports things like chrome://bookmarks.
If you are a sysadmin or developer that uses a lot of repos throughout the day, and you use Github, this little snippet will come in handy. No more opening a browser window and fumbling around trying to navigate to your repo. Just type gh anywhere inside your project path and a browser window will open your repo on Github.
For this to work, you’ll need to do two things:
- Copy the snippet to ~/bin/gh
- Make it executable by running: chmod +x ~/bin/gh
- Reload or restart your terminal, browse into a Github project, type gh and boom!