you are in: codestackercodes [RSS] → tag: mac [RSS]

get your mac's serial code Delicious Email

show/hide lines
   1  /usr/sbin/system_profiler SPHardwareDataType | /usr/bin/awk '/Serial Number/ {print $3}'
created by leozera — 10 September 2008 — get a short url — tags: mac serial embed

color your os x shell Delicious Email

open your ~/.bash_profile, paste and be happy!

show/hide lines
   1  export CLICOLOR=1
   2  export LSCOLORS=ExFxCxDxBxegedabagacad  
created by leozera — 29 September 2008 — get a short url — tags: mac shell embed

screenshot file format in mac os Delicious Email

show/hide lines
   1  defaults write com.apple.screencapture type jpg
created by leozera — 21 September 2008 — get a short url — tags: mac screenshot embed

disable shadow in screen window captures Delicious Email

show/hide lines
   1  defaults write com.apple.screencapture disable-shadow -bool true
   2  killall SystemUIServer
created by leozera — 17 August 2008 — get a short url — tags: mac embed

show hidden files in finder Delicious Email

to reverse, replaces YES by NO

show/hide lines
   1  defaults write com.apple.Finder AppleShowAllFiles YES
   2  killall Finder
created by leozera — 08 July 2008 — get a short url — tags: mac embed

Add recent application menu to your dock Delicious Email

source: http://brunomiranda.com/past/2008/6/14/add_recent_application_menu_to/

show/hide lines
   1  defaults write com.apple.dock persistent-others -array-add '{ "tile-data"  = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
   2  killall Dock
created by leozera — 18 July 2008 — get a short url — tags: dock mac embed

safari single window mode Delicious Email

show/hide lines
   1  defaults write com.apple.Safari TargetedClicksCreateTabs -bool true
created by leozera — 16 July 2008 — get a short url — tags: mac safari embed

mac os reading twitter updates Delicious Email

show/hide lines
   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}\"" }
created by leozera — 09 July 2008 — get a short url — tags: mac ruby twitter embed

highlight active item in dock Delicious Email

for mac users. type in terminal

show/hide lines
   1  defaults write com.apple.dock mouse-over-hilte-stack -boolean YES
   2  
   3  killall Dock
created by leozera — 07 July 2008 — get a short url — tags: dock mac embed
Displaying records 11 - 19 of 19