Bubble Foundry


Posts tagged with: bash

Tweaking iTunes Settings
Over the last few iTunes revisions there have been several changes that, in my opinion, have made the iTunes user interface slightly less usable. Luckily, almost all the changes can be reversed by changing the right property values. Here’s the Bash function I wrote today so I can toggle the settings without remembering the special […] Read more – ‘Tweaking iTunes Settings’.
pgrep
I do lots of searching through source code with grep, so I wrote a little helper: #!/bin/bash if [ -z "$1" ]; then echo usage: $0 query exit fi grep -r $1 . | less I added the following line to my .profile and now I can call it easily from anywhere: alias pgrep="bash /Users/peter/pgrep" Read more – ‘pgrep’.