Category: Mac OSX
Posts in this category are specific to Mac OS and may not work on other UNIX based systems.
Bash – Mass NSlookup
When you are moving from one server public IP to another you could use some help knowing things are changed. This bash script will do an NSLookup on various DNS servers.
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.