Command+F2 to enable screen sharing on iMac when thunderbolt is connected
Hold Shift to start in safe mode
Automator saves to ~/Library/Workflows/Applications/
Saved Application State
Copy mail rules
Restore this file from a backup.
Re-enable the rules.
How to do a Network dump
sudo tcpdump -i en0 -s 0 -B 524288 -w ~/Desktop/DumpFile01.pcap
tcpdump -s 0 -n -e -x -vvv -r ~/Desktop/DumpFile01.pcap > ~/desktop/out.txt
Resize Images in the Terminal
sips -z 768 1024 image.png
sips -Z 480 image.png
sips -Z 300 *.png (whole directory, do it in a folder)
Make Your Library Folder Visible
Like in Lion, your user library folder is hidden by default. That makes a number of things a pain, but it’s really easily fixed. Just copy the following line of code, and paste it into Terminal:
chflags nohidden /Users/USERNAME/Library
chflags nohidden /Users/melissa/Downloads/”Path to File.txt”
chflags hidden /Users/melissa/Downloads/”Path to File.txt”
Enable Key Repeat
One of the other holdover issues from Lion is the lack of key repeat. That’s where you hold down the L key when typing helllllllllll no. To re-enable it, you just need to paste this into Terminal, and then restart:
defaults write -g ApplePressAndHoldEnabled -bool false
Internet Recovery (command–option-R) ≠ Recovery (command–R). Recovery uses a local partition on your disk, whereas Internet Recovery loads an environment on-demand. The latter will always load one to install the original version of OS, whereas the regular Recovery will always load the version that matches its own version.