Some handy (JS and PHP mostly) snippets for Drupal developers