Monday, January 19, 2009
Noisy Partials
Noisy Partials - render partial names in html comments when developing to quickly track down what's being rendered: http://github.com/gwynm/noisy_partials/tree/master
Sunday, December 28, 2008
OS X Leopard Slow-loading Pages After Installing New Wireless Router
I started experiencing slow loading pages on my iMac (Leopard) after changing routers. I had a pretty good idea that the culprit was DNS as the browser would take 5 to 10 sec to resolve a domain, while pulling up the page via ip worked great. The resolution was simple. Pull up OS X network preferences, DNS tab and remove any stale DNS server entries (remove all if in doubt). Worked like a charm. Hopes this saves someone some time and frustration.
Friday, September 12, 2008
Force Safari to Open All Links in New Tabs
Force every single web page to open links in new tabs in Safari:
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true
defaults write com.apple.Safari TargetedClicksCreateTabs -bool false
http://www.mactips.org/archives/2008/03/30/force-safari-to-open-all-links-in-new-tabs/
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true
And to revert:
defaults write com.apple.Safari TargetedClicksCreateTabs -bool false
Colorize OS X Terminal
Add to your .bash_profile, .bash_login, etc:
LS_COLORS='no=00;32:fi=00:di=00;34:ln=01;36:pi=04;33:so=01;35:bd=33;04:cd=33;04:
or=31;01:ex=00;32:*.rtf=00;33:*.txt=00;33:*.html=00;33:*.doc=00;33:*.pdf=00;33:
*.ps=00;33:*.sit=00;31:*.hqx=00;31:*.bin=00;31:*.tar=00;31:*.tgz=00;31:*.arj=00;31:
*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.deb=00;31:
*.dmg=00;36:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.ppm=00;35:*.tga=00;35:
*.xbm=00;35:*.xpm=00;35:*.tif=00;35:*.mpg=00;37:*.avi=00;37:*.gl=00;37:*.dl=00;37:
*.mov=00;37:*.mp3=00;35:'
export LS_COLORS;
export TERM=xterm-color
export CLICOLOR=true
Subscribe to:
Posts (Atom)