Emacs Tip #2 -- htmlize
htmlize converts the current buffer to HTML, including colors and
indentation. Save the temporary buffer it creates into a .html file
and it is ready for posting on the web. Alternately take a snippet of
the code (and the CSS chunk from the HEAD element) and insert it into
an existing web page. There's no easier way to share
syntax-highlighted code on the web.