Shell scripts that are useful on Mac OSX