Also see The Lazy Programmer
cmd-shift-t
open last tab (sometimes preserves input) via @atmosoption-shift-volume|brightness
increase/decrease brightness or volume by quarter incrementscmd-shift-3
whole screenshotcmd-shift-4
select screenshot. Click space and it'll let you choose a window.cmd-shift-g
in finder, go to folder. tab completion availablecmd-shift-h
go to home- cloudapp, skitch
cd -
go back to last directorycd ~
go to home dircontrol-a, control-e
- beginning and end of lineoption-b, option-f
- backward/forward one wordcontrol-k
- kill linepbcopy
- takes input and puts it into osx clipboardpbpaste
- pastes clipboard!!
- run last commandcontrol-r
- search through recent commandslsof -i:3000
- list processes running on port 3000alias
all the things- grep, ack
- wc
- sort -n
- du
bundle open gem-name
opens the version of the gem in your editorgem unpack gem-name
quick way to vendor a gem- ruby -pe; perl -pe; python -pe
- git config
- alias
- hub
- git pull request
- git clone
- git fork
- git browse
- basic usage
- -I show just headers
- -H send headers
- -d form post
- cat > filename; control-d
- touch
- sed -i
- sourcing a local overrides
- dotjs