Useful scripts to mac os x and linux.