about me about me
photography photography
software projects software projects
contact me contact me

Recently I tried to replace one line with multiple lines of text using Netbeans. As much as Netbeans IDE is growing on me (having recently switched from Eclipse), I couldn’t accomplish this multi-file, multi-line replace with it (yes I know about Edit > Replace in Projects… that didn’t work). I turned to bash for a solution …
Read the rest of this entry »

If you work with git as your version control system and don’t use a GUI app in your workflow, this one liner in your ~/.profile (or ~/.bashrc on Linux) will display the active branch you’re working on when you cd to a git repo path. Read the rest of this entry »

25
Feb

Having trouble with Terminal not remembering your aliases? A lot of documentation on the web talks about configuring tcsh or csh in Mac OS X. I was scratching my head for a while wondering why my ~/.tcshrc file wasn’t defining my aliases on login (or my ~/.login file for that matter, that the system created!).
Read the rest of this entry »