OS X - cllu/.rc GitHub Wiki
Setup
System Preferences->Keyboard->Keyboardtab -> checkUse all F1, F2, etc. keys as standard function keysKeyboardtab ->Modifier Keys-> ChangeCapsLocktoControlShortcutstab -> Full Keyboard Access: chooseAll controls(use space to trigger focused actions, use enter to trigger highlighted actions)Input Sources, use^SpaceforSelect the next source in Input menu
Trackpad-> checkTap to clickDock-> checkAutomatically hide and show DockDesktop & Screen Saver->Screen Savertab ->Hot Corners...-> choosePut Display to Sleepfor the bottom left cornerSecurity & Privacy->Generaltab -> checkRequire password 5 seconds after sleep or screen saver begins
Commands
pbcopy/pbpastefor copy/paste, e.g.pbcopy < blogpost.txt,ls ~ | pbcopymdfindfor finding filesF11to show the desktop temporarily, drag a file,F11again, drop to the app/browser.
Apps
Apps via App Store
- Xcode (to install command line tools, run
xcode-select --install) - Day One
- Timing
- ReadKit, together with feedly
- Stache
- Skitch
Manually Installed Apps
- Utility
- Seil: To map the
Shift_Rkey toEscape - FUSE for OS X, include NTFS-3G, SSHFS
- Go2Shell Open terminal in the current Finder directory
- Seil: To map the
- General
- Evernote
- Google Chrome
- Dropbox
- 1Password
- Google Drive
- OmniFocus
- Sublime Text 2
- The Unarchiver (rar files)
- Alfred 2
- Security
- avast
- Little Snitch
- Communication
- Media
- VLC
- Development
- pgAdmin 3
- Dash
- iTerm2
- Charles Proxy
- Genymotion
- Design
- SkyFonts (Google Fonts etc)
- Sketch 3
brewed apps:
- scala/sbt
- the_silver_searcher
- nginx
- postgresql
- python3
- android
- zsh
- tmux
- coreutils (
PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"is included in env-osx.sh) - rbenv (see Ruby)
ImageMagick
To support Tiff
brew install libtiff
brew install imagemagick --with-libtiff
Tips
Check network port
sudo lsof -i -n -P | grep TCP | grep 8888
-i, select all internet connections, or-i4to select ipv4 only-n, do not convert raw network addresses to host names.-P, do not convert port numbers to port names.
too many open files in system
Sooner or later you will encounter this problem if you use your mac extensively in development(db,web server, virtual machines etc.). To increase the file descriptors:
System: edit /etc/sysctl.conf:
kern.maxfiles=65536
kern.maxfilesperproc=65536
Shell: edit ~/.zshrc
ulimit -S -n 2048