Coding Knowledge Center
Mac OS X
CONTROL + SHIFT + G
Pops up a "Go to the folder:" dialog box that lets you specify a directory to browse to in Finder. May need to minimize other applications first. Works great for those system directories that can be hard to browse to like /usr/local.
|Browser (Change Default)|
Safari => Preferences => General => Default web browser
Change the default browser setting.
CONTROL + TRACKPAD/MOUSE SCROLL up/down
Allows the user to zoom in and out on their desktop.
defaults write com.apple.dock no-glass -boolean YES; killall Dock
This takes away the 3d affect on the dock. I do this in an attempt to speed up my desktop.
|Effects (Negative Image)|
CONTROL + OPTION + COMMAND + 8
Creates a negative image effect on the desktop
|Expose (Cycle Backwards)|
COMMAND + `
Cycle's the current program selection backward in Expose.
|Expose (Cycle Forward)|
COMMAND + TAB
Cycle's the current program selection forward in Expose.
|Files (Show hidden files)|
defaults write com.apple.Finder AppleShowAllFiles YES defaults write com.apple.Finder AppleShowAllFiles NO
Turn on hidden directory viewing in Finder. I got sick of not being able to access /usr, /tmp, /etc view the Finder so I found this snippet. The YES at the end turns it on, the NO turns it off. *Note: DO NOT RUN AS "sudo".
|Grammar (Word Suggestions)|
ESC while typing
Pops up a list of word suggestions for the unfinished word
|Keys (Windows Style Delete Key)|
FN + DELETE
Turn's the Mac Delete key into a typical delete key which deletes the character in front of it.
|MAMP (reboot manually)|
sudo /Applications/MAMP/bin/start.sh sudo /Applications/MAMP/bin/stop.sh sudo /Applications/MAMP/bin/start.sh OR use GUI
This will shutdown MySQL and Apache services via MAMP. I had to do this once because my laptop lost power and MAMP would not function properly.
Clears the local dns cache on machine.
print => preview => save as PDF
Allows you to save a document in PDF format.
|Screen Capture (Select between)|
Allows you to switch between both selection screen shot selection modes.
|Screen Capture (Selection)|
COMMAND + SHIFT + 4
Snaps a screen shot of the current selected area.
|Screen Capture (Whole)|
COMMAND + SHIFT + 3
Snaps a screen shot of the entire screen.
COMMAND + OPTION + CONTROL + F12
Shutdown the system
Outputs "please" to the terminal in an endless loop.
sudo ifconfig en1 down sudo ifconfig en1 up sudo /System/Library/StartupItems/CiscoVPN/CiscoVPN restart
Restarts the network interface card and reboots the vpn client. I have had to do this before because sometimes I get the following error message when starting it: "Error 51: Unable to communicate with the VPN subsystem"
|WiFi (WEP Keys)|
System Preferences => Network => Configure => Select network name => Edit => Password => $[WEP Key] (Example: $00000000)
Set wep keys of router.
|Window (Slow Minimize)|
Minimize + SHIFT
Window slowly minimizes into dock station.