I just posted this answer: http://sitecore.stackexchange.com/a/82/163, but my code block (prefixed with 4 spaces, just like on stackoverflow) didn't get shown.
As a workaround I used the backticks to get it to show, but code formatting support should be enabled on sitecore.se.