Snippets are small pieces of Drupal code that others have found useful and shared with the community.
More snippets are available on the Dropbucket site.
Warning: USE THIS CODE AT YOUR OWN RISK! No one checks the snippets found in the handbook. Do not apply a snippet to a production server without first testing in a development environment. Additionally, you should read the comments on a snippet's handbook page before applying code.