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.
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.
Sometimes you need to turn off Wi-Fi and turn on Ethernet and vice-versa NOTE: Important to know what your configuration is.
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
Reference: https://www.raspberrypi.org/forums/viewtopic.php?t=150438
Reference: https://github.com/aws/aws-cli/issues/1777
If you create your VM with Dynamic IPs DHCP will grab the first available IP but some VMs are best on a static IP. This script below will get the existing IP of the ipconfig and reassign it to the same ipconfig as a static IP.
If you have an app that doesn’t use the internet or can’t use the internet but still want basic multi-language capability the below will help. First add some labels and buttons. In adding the buttons add it twice (once as IBOutlet and then IBAction) Create a JSON file, in my example I named mine data.json