Here's just a quick mention for a couple of decent tools.

Syntax Highlighter plus (plugin for wordpress). Link

IMO this is the best code highlighting plugin for WordPress. Here's a quick example: 

[lang='bash']ls -la
apt-get update
apt-get upgrade[/lang]

Does exactly what is says on the tin and has the 'view source' button to you to copy and paste the plain text version of your code into notepad or Putty sessions.

Second quick mention is EasyVMX. Link

Ever wondered how to create a new VM for VMware player? Just visit the EasyVMX site, fill in the form and click go, and your VMX file is created. Then just give the file to VMware player and you can boot into your new machine. Genius!