get your mac's serial code
1 /usr/sbin/system_profiler SPHardwareDataType | /usr/bin/awk '/Serial Number/ {print $3}'
1 /usr/sbin/system_profiler SPHardwareDataType | /usr/bin/awk '/Serial Number/ {print $3}'
open your ~/.bash_profile, paste and be happy!
1 export CLICOLOR=1 2 export LSCOLORS=ExFxCxDxBxegedabagacad
1 defaults write com.apple.screencapture type jpg
1 defaults write com.apple.screencapture disable-shadow -bool true 2 killall SystemUIServer
to reverse, replaces YES by NO
1 defaults write com.apple.Finder AppleShowAllFiles YES 2 killall Finder
source: http://brunomiranda.com/past/2008/6/14/add_recent_application_menu_to/
1 defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }' 2 killall Dock
1 defaults write com.apple.Safari TargetedClicksCreateTabs -bool true
1 require 'rss/1.0' 2 require 'rss/2.0' 3 require 'open-uri' 4 5 content = '' 6 open('http://twitter.com/statuses/user_timeline/peepcode.rss').each { |i| content << i } 7 RSS::Parser.parse(content).items.each { |i| system "say \"#{i.title}\"" }
for mac users. type in terminal
1 defaults write com.apple.dock mouse-over-hilte-stack -boolean YES 2 3 killall Dock