Have you updated iTerm recently to find that your preferences are blown away? Feeling a rise in blood pressure because your bookmarks are gone?
Waaaaaah!
Never fear, you can get them back.
The recent iTerm update is using a different .plist filename, so just:
mv ~/Library/Preferences/iTerm.plist ~/Library/Preferences/net.sourceforge.iTerm.plist
And you’re all set. See ticket 2064198.
Another miscellaneous, marginally useful post that hopefully saves someone’s day.
I happened to be able to get a couple of the new Seagate Momentus 2.5″ 7200rpm 320GB laptop hard drives from PC Connection.
After a 20-minute upgrade following these instructions for replacing a MacBook Pro hard drive I ran xbench and below are the results, in case anyone cares.
A couple of tips:
- Don’t get the drives with G-shock if you’re an MBPro user
- No, there shouldn’t be any jumpers set on the drive.
| Xbench Version | 1.3 |
| System Version | 10.5.4 (9E17) |
| Physical RAM | 4096 MB |
| Model | MacBookPro3,1 |
| Drive Type | ST9320421AS |
|
Disk Test: 47.82 Sequential 96.43
Random 31.79
|
|
Eric Meyer updated his reset css in January 2008. I’ve re-sassified it here.
Sass CSS Reset Revised
// reset-revised.sass
// Generated 04/07/2008
// yong joseph bakos
// This is a sassified version of Eric Meyer's latest reset.css
// http://meyerweb.com/eric/thoughts/2008/01/15/resetting-again/
//
html
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
body
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:line-height 1
div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
blockquote
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:quotes none
pre, a, abbr, acronym, address, big, cite, code
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
del
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:text-decoration line-through
dfn, em, font, img
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
ins
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:text-decoration none
kbd
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
q
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:quotes none
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
ol, ul
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:list-style none
li, fieldset, form, label, legend
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
table
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
:border-collapse collapse
:border-spacing 0
caption, tbody, tfoot, thead, tr, th, td
:margin 0
:padding 0
:border 0
:outline 0
:font-size 100%
:vertical-align baseline
:background transparent
*:focus
:outline 0
If you’d like to display certain Unix directories within your Mac’s Finder, don’t use
defaults write com.apple.finder AppleShowAllFiles TRUE
which clutters your finder with every hidden file. Just use
SetFile -a v someFileOrDir
which lets you selectively display whatever you want in OS X’s Finder. (Restart Finder for the change to take effect.)
SetFile is in /Developer/Tools
Update: Sass CSS Reset has been revised.
An associate turned me on to Hampton Catlin’s Haml and Sass — terse, structured representation of xhtml markup and css rules. Not bad work for a guy who used to work with a Canadian vampire! If you’re working with Rails, I highly recommend it. I am a markup snob who is sensitive to white space, and after my initial rash-like reaction to Haml, the itching went away and I grew to like it.
For those that have embraced Eric Meyer’s css reset work, here’s a version of css reset in Sass.
Sass CSS Reset
// reset.sass
// Generated 10/1/2007
// yong joseph bakos
// This is a sassified version of Eric Meyer's reset.css
// http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
//
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td
:margin 0
:padding 0
:border 0
:outline 0
:font-weight inherit
:font-style inherit
:font-size 100%
:font-family inherit
:vertical-align baseline
*:focus
:outline 0
body
:line-height 1
:color black
:background white
ol, ul
:list-style none
table
:border-collapse separate
:border-spacing 0
caption, th, td
:text-align left
:font-weight normal
blockquote:before, blockquote:after, q:before, q:after
:content ""
blockquote, q
:quotes "" ""