609Hide/Show Files in the Mac OSX GUI

Hiding files and folders from the Finder:

chflags hidden filename

And show them again:

chflags nohidden filename

608jQuery slideToggle flicker

I was running into a tiny, but annoying problem when using jQuery’s slideToggle. When called, the hidden container would briefly become visible, then hide, and the nicely animate in.

SOLUTION:
Turns out jQuery does not play nicely with tables. Instead using a table as a container, I wrapped the table into a <div> and applied the slideToggle to that. Works nicely.

606Safari 4 – Debug and Develop

The Developer Menu is straight-forward. Go to the Safari Preferences / Advanced and enable the menu.

The Debug Menu must be activated in the com.apple.Safari.plist. Either by issuing the following command:
defaults write com.apple.Safari IncludeInternalDebugMenu 1

Or by opening the plist with the Property List Editor Application and adding a new ‘IncludeInternalDebugMenu’ node, with a boolean value set to 1. Same thing, different means.

Don’t forget to restart Safari to see the changes.