I love working in the command line because you just feel like you have so much raw power at your fingertips. While the nice GUI windows and popups are the cute and approachable face of your machine, the command shell the backdoor into your computer's soul. I use terminal (the default command shell on Mac computers) quite a lot, and I'm often flipping back and forth between the terminal and other programs; sometimes between terminal and the default directory viewer, Finder. This post is about making that flippage easier.
This is a great little tip for any software developer, regardless of your programming language of choice. It's these subtle things that can raise you up regular programmer to coding superstar. When sending URLs that link to files on github you may want to reference a specific line number or block of code. The people receiving your code snippets will appreciate these nice highlights, and (subconsciously or not) they'll be thinking, "damn, he's good".
If you have multiple accounts on Github (or whatever git repository host you use) then it can be a little confusing knowing which user you are committing as and how to switch to a different user. In this post I'll show you an easy way to switch between users from the command line.
I was recently at a Meetup watching over the shoulder of web development and Angular guru, Daniel Zen. I saw him working in his command line and he would easily open the current directory in WebStorm by typing, "webstorm ." into the terminal window. However, when I tried I would get the error message, "-bash: webstorm: command not found". This post is about installing the webstorm command line tool so that you can use this easy, nifty project opening shortcut.
This is an interesting problem that I just solved yesterday- creating a CNAME file from a Travis CI server.
The posts on this site are written and maintained by Jim Lynch. About Jim...