-
-
CentOS | Code | Debian | Fedora | macOS | Raspbian (Raspberry Pi OS) | Red Hat | Ubuntu | UNIX | UNIX Shell Scripts | Zorin OS
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.
-
-
Code | macOS | macOS Shell | UNIX | UNIX Shell Scripts
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.
-
Code | FRC | JSON | macOS | macOS Shell | UNIX | UNIX Shell Scripts
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 creating the create and update…
-
Bash – Suction (Move files from subfolders into parent)
If you have a large amount of files that are in sub-directories and would like them to be in the same directory this will pull all the files into one directory. NOTE: The ‘find .’ is looking at the specific directory you currently are in. Make sure this is what you want.
-
-
Code | macOS | macOS Shell | UNIX | UNIX Shell Scripts
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.
-
Code | macOS | macOS Shell | UNIX | UNIX Shell Scripts
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 – Laptop Setup
This is my basic setup for a laptop/desktop that I have for my family to use. Debian Based Should work on Debian, Ubuntu (all Ubuntu flavors) Red Hat Based Should work on Red Hat, Rocky, CentOS, and Fedora This first part is only needed for Red Hat Fedora Specific Programs