Setting up a Linux VM for AI
How to setup a Linux VM for an AI CLI to go crazy in (without risk to your host system).
How to setup a Linux VM for an AI CLI to go crazy in (without risk to your host system).
Sleeping on macOS messes up Thunderbolt USB devices, so I just can't have it happening.
sudo pmset -a sleep 0
For good measure, also enable "Prevent automatic sleeping when the display is off" under System Settings > Energy
A guide on how to setup git commit signing through GPG and GitHub.
To show the macOS app switcher on all screens:
defaults write com.apple.dock autohide-delay -int 0
defaults write com.apple.dock autohide-time-modifier -float 0.1
To see the change, restart the Dock with killall Dock.
To show the macOS app switcher on all screens:
defaults write com.apple.dock appswitcher-all-displays -bool true
To see the change, restart the Dock with killall Dock.
This is everything I install and setup on a fresh Mac machine.
I can't use macOS anymore without SoundSource. However, it frequently freezes, hangs, crashes, etc. This requires a not-too-lengthy but still annoying manual flow of opening up Activity Monitor to force kill it, then opening it again. So I made it easier and automated.
Add the line
auth sufficient pam_tid.so
at the top of /etc/pam.d/sudo (you will need sudo access to write to that file).
You'll need to do this after at least every OS update as that file gets overwritten in those updates.
Here's a single command you can run to accomplish this:
sudo sed -i '' '2i\
auth sufficient pam_tid.so
' /etc/pam.d/sudo
The tools we use as developers make us more effective (or at least hopefully faster) developers. So why not spend some time to make one of the most common dev tools much more useful? Here's a way to give any terminal app a personalized and awesome experience (fwiw I use the default app included with macOS). Features covered will be the following: