defaults write com.apple.dock scroll-to-open -bool TRUE; killall Dock
defaults write com.apple.menuextra.clock IsAnalog -bool true
Show hidden files in Finder
defaults write com.apple.finder AppleShowAllFiles YES
echo $'Host * \n UseKeychain yes \n AddKeysToAgent yes \n IdentityFile ~/.ssh/id_rsa' >> ~/.ssh/config
defaults write -g NSWindowResizeTime -float 0.003
delete -g NSWindowResizeTime
https://ss64.com/osx/reportcrash.html
launchctl unload -w /System/Library/LaunchAgents/com.apple.ReportCrash.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist
mkdir -p ~/Pictures/Screenshots && defaults write com.apple.screencapture location ~/Pictures/Screenshots && killall SystemUIServer
defaults write com.apple.dock springboard-rows -int 4 && defaults write com.apple.dock springboard-columns -int 4 && killall Dock
defaults write com.apple.dock springboard-rows && defaults write com.apple.dock springboard-columns && killall Dock
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 5
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 5
System Preferences → Accessibility → Pointer Control → Mouse & Trackpad → Trackpad Options link
https://github.com/cl3m/MiddleClick
Click "Chrome" in the menu bar and check the "Warn Before Quitting"
xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew cask
brew tap buo/cask-upgrade
Restore previously saved bundle dump (howto)
brew bundle --file=~/Brewfile-20200531
echo "export HOMEBREW_NO_AUTO_UPDATE=1" >> ~/.bash_profile
echo "alias brewup='brew -v update; brew -v upgrade; brew -v cask upgrade; mas upgrade; brew -v doctor; brew -v cleanup'" >> ~/.aliases
brew cask install authy gimp spotify the-unarchiver vlc
# Limit Spotify cache size
echo "storage.size=512" >> "/Users/fiosue/Library/Application Support/Spotify/prefs"
# Browsers
brew cask install google-chrome
brew cask install brave-browser
# Messaging
brew cask install telegram
brew cask install whatsapp
brew cask install microsoft-teams
brew cask install vanilla licecap coconutbattery scroll-reverser monitorcontrol
brew install nmap htop watch tree multitail ffmpeg tree wget ncdu
brew install maven gradle node git git-flow-avh svn mysql-client jq swaks
brew install --cask iterm2 docker postman gitkraken sublime-text virtualbox virtualbox-extension-pack drawio
# Docker fix insicure registry
https://stackoverflow.com/a/39492340
# GPG commits signature
brew install gnupg pinentry-mac
echo "pinentry-program $(which pinentry-mac)" >> ~/.gnupg/gpg-agent.conf
gpgconf --kill gpg-agent
brew install fortune cowthink zsh zsh-completions zsh-syntax-highlighting zsh-autosuggestions
font-meslo-for-powerline
brew tap parera10/csshx
brew install parera10/csshx/csshx
If some previously purchased software from the Mac App Store needs to be included, we can use mas to ease the installs.
brew install mas
# Amphetamine
mas install 937984704
# Microsoft Word
mas install 462054704
# Microsoft Excel
mas install 462058435
# Spark email client
mas install 1176895641
# Skitch
mas install 425955336
brew install karabiner
# Then enable "Swap Dot and Shift+Dot"
curl -s https://get.sdkman.io | bash
sdk install java 8.0.275.j9-adpt && sdk home java 8.0.275.j9-adpt
sdk install java
cp "/Users/fiosue/Library/Preferences/IntelliJIdea2018.2/jba_config/mac.keymaps/feio _Eclipse Mac OS X_.xml" "/Users/fiosue/Library/Preferences/AndroidStudio3.2/keymaps/feio _Eclipse Mac OS X_.xml"
xcode-select --install
AirPrint drivers could not correctly detect scanner feature. If so use the native driver.