macbook hibernate mode
Old school sleep, ram can be lost, no sleepimage, but fast
sudo pmset -a hibernatemode 0
You can delete sleepimage with sudo after setting 0
Full hibernate, ram goes to /var/vm/sleepimage
sudo pmset -a hibernatemode 3
TextSnippets > deckard > mac
2746 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
sudo pmset -a hibernatemode 0
sudo pmset -a hibernatemode 3
udo mv /System/Library/LaunchDaemons/com.apple.dashboard.advisory.fetch.plist /System/Library/
export PATH=/opt/local/bin:/opt/local/sbin:$PATH export DISPLAY=:0.0 export EDITOR=/usr/bin/vim case $TERM in xterm* | aterm | rxvt | screen ) XTITLE="\[\e]0;\u (\w)\a\]" ;; * ) XTITLE="" ;; esac PS1="$XTITLE""[\u:\w]\n\\$ " . /etc/aliases_bash
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
ln -s ../lib/mysql5/bin/mysql /opt/local/bin/mysql
/opt/local/share/mysql5/mysql
./mysql.server stop ./mysql.server start
sudo cp my-small.cnf my.cnf