Using CheatSheets To Apply Best Practices

Mac Cheatsheet

Mac Cheatsheet

1.1 Summary

Name Comment
Share files across intranet System Preferences -> Sharing -> File Sharing, then \\192.168.XX.XXX
Lock the screen Ctrl + Shift + Power
Swap Cap and Command key Link: support.apple.com

1.2 Home Brew Basic

Name Comment
Get brew version brew --version
HomeBrew update brew update
Install big binary brew cask install <package_name>
List all installed casks brew cask list, brew cask help
uninstall big binary brew cask uninstall <package_name>
Upgrade all the casks brew cask upgrade, brew cask upgrade --no-quarantine
Brew install package with given version brew install python@2
Reference Link: How to Use Homebrew-Cask

1.3 Home Brew Install Packages

Name Comment
Install all basic packages code/setupmac.sh
Install iterm2 brew cask install iterm2
Install realpath brew install coreutils
Install lpass brew install lastpass-cli

1.4 zsh

Name Comment
Partially disable zsh’s auto correction alias vim=’nocorrect vim’ Link: stackoverflow

1.5 Web browser

Name Comment
Backup mac OSX safari bookmarks ~/Library/Safari/Bookmarks.plist
Chrome undo closed tab Command + Shift + T
Crhome scroll to top/bottom Command + arrow up, Command + arrow down

1.6 Clean & Release disk

Name Comment
Xcode Library/Developer/Xcode/DerivedData
Trash ~/.Trash, ~/trash

1.7 More Resources

License: Code is licensed under MIT License.

linkedin
github
slack




Leave a Reply

Your email address will not be published. Required fields are marked *