Show hidden files in Mac OS X's Finder

I wanted to delete some .svn folders that didn't go away when I disconnected from a repository but couldn't see them in Finder. So I needed to show hidden files. Here's how to do it. Open up Terminal
>> defaults write com.apple.finder AppleShowAllFiles TRUE
>> killall Finder
Replace TRUE with FALSE to hide them again.