Tuesday, May 27, 2008

Sold on Firefox - Zoom In Just Gets Better

Two pictures worth a thousand words.

Web pages in Firefox after zoom in



Web pages in Safari after zoom in



That's right. Firefox not only increases the font size, it increases the size of everything proportionally.

Tuesday, May 13, 2008

Plain text in Mail.app by default

I generally prefer plain text when writing emails. However, in the place where I work, a lot of people use Microsoft Outlook or its web version. By default, it sends out emails in HTML. Even worse is the fact that the font size in those emails is too small. To reformat all incoming email and display them as plain text, quit Mail.app, type
# defaults write com.apple.mail PreferPlainText -bool TRUE
Relaunch Mail.app and enjoy.

To revert back, use
# defaults delete com.apple.mail PreferPlainText

Thursday, May 1, 2008

find

One thing about sharing files between Windows and Mac via a USB is that the USB has to be formated in fat32. Then all the files copied from Windows will have the file mode x enabled. Manually removing it for each file is very cumbersome because for directories you do want to keep the x mode. This can be done easily using find
# find . ! -type d -exec chmod -x {} \;
Another example is
# find . ! -type d -exec xattr -d com.apple.quarantine {} \;