Dezinerfolio's free Drupal snippet library for the Coda editor (Mac OS only) provides a very useful set of code clips for theming Drupal sites.

http://www.dezinerfolio.com/freebie/drupal-coda-clips