Setup my mac laptop for development env
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
code
cron
dotfiles
README.org
cheatsheet-mac-A4.pdf

README.org

1 Cheatsheet: mac

linkedin
github
slack


PRs Welcome

File me Issues or star this repo.

1.1 Summary

NameComment
Share files across intranetSystem Preferences -> Sharing -> File Sharing, then \\192.168.XX.XXX
Lock the screenCtrl + Shift + Power
Swap Cap and Command keyLink: support.apple.com

1.2 Home Brew Basic

NameComment
Get brew versionbrew --version
HomeBrew updatebrew update
Install big binarybrew cask install <package_name>
List all installed casksbrew cask list, brew cask help
uninstall big binarybrew cask uninstall <package_name>
Upgrade all the casksbrew cask upgrade, brew cask upgrade --no-quarantine
Brew install package with given versionbrew install python@2
ReferenceLink: How to Use Homebrew-Cask

1.3 Home Brew Install Packages

NameComment
Install all basic packagescode/setup_mac.sh
Install iterm2brew cask install iterm2
Install boshbrew install cloudfoundry/tap/bosh-cli
Install realpathbrew install coreutils
Install lpassbrew install lastpass-cli

1.4 zsh

NameComment
Partially disable zsh’s auto correctionalias vim=’nocorrect vim’ Link: stackoverflow

1.5 Clean & Release disk

NameComment
XcodeLibrary/Developer/Xcode/DerivedData
Trash~/.Trash, ~/trash

1.6 More Resources

License: Code is licensed under MIT License.

linkedin github slack