Category: Mac OS X Shell
Mac OSX Terminal – Bash – Convert MP3 to M4R (iPhone Ringtone)
If you have an MP3 that you’d like to use for your iPhone the script below will help you get that file into your ringtone options. Then you can copy the .m4r files into iTunes Tones directory/screen and sync with your phone.
JSON – Pull #FIRSTInspires data from @thebluealliance API
Working on a couple tasks that need team information so I registered a read-only API key and started pulling down data for an offline app. Initially populating data using bash and jq. This may be cleaned up in time but it works for my purpose for now. Currently I’m just…
Mac OSX Terminal – Clear Oh My ZSH History
If you have fallen in love with Oh My Zsh you likely have at one point realized it currently lacks the “history -c” option to clear your terminal history. This code below will help with that.
Mac OSX Terminal – Wi-Fi & Ethernet Switch
Sometimes you need to turn off Wi-Fi and turn on Ethernet and vice-versa NOTE: Important to know what your configuration is.
UNIX – List USB Devices With lsusb
On the Mac “lsusb -v” is rather clean in comparison to other systems.
Mac OSX Terminal – Rename TTF/OTF Fonts
If you have ever received a list of fonts from a client where the font names didn’t make sense this code below will help. Caution: Backup your fonts directory just in case.