Optimize Aperture database
1 2 sqlite3 Pictures/Aperture\ Library.aplibrary/Aperture.aplib/Library.apdb vacuum
DZone Snippets > willcodeforfoo > osx
12980 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
1 2 sqlite3 Pictures/Aperture\ Library.aplibrary/Aperture.aplib/Library.apdb vacuum
1 tell application "System Events" 2 set frontmostApplication to name of the first process whose frontmost is true 3 end tell
1 sudo /usr/local/bin/rsync -aREx --delete --exclude='.Spotlight-*' --exclude '/private/var/vm/*' [IP-address of Mac mini]::PowerBookBackup
defaults write com.apple.Terminal FontWidthSpacing 1.003
1 2 curl -O http://www.circlemud.org/pub/jelson/tcpflow/tcpflow-0.21.tar.gz 3 tar -zxvf tcpflow-0.21.tar.gz 4 cd tcpflow-0.21 5 cp /usr/share/libtool/config.* . 6 ./configure --prefix=/usr/local 7 sudo make install