Blog

See more
Implementing a mail queue in Drupal 7

Implementing a mail queue in Drupal 7

By default Drupal sends an email as soon as you make a call to drupal_mail(). For relatively small sites this may never be a problem. However, if you run a large site with many users, then you need to develop a stratagy for controling how much mail gets sent at a given time.

Understanding Drupal 7 hook_mail()

Understanding Drupal 7 hook_mail()

Understanding Drupal’s hook_mail() implementation is essential if you want your custom modules to send emails. It is, however, one of the strangest hook implementations you will find in Drupal.

Taking a screenshot with webdriver (python)

Taking a screenshot with webdriver (python)

An essential part of debugging for web based tests is the ability to grab a screenshot of the current page. A good test design should automatically take screenshots of important pages for manual review or any time an assertion fails.

Helpful Git aliases

Helpful Git aliases

Here are some convenient aliases I've created to speed up Git usage. You can put these directly in your .bashrc or .bash_aliases file for unix based systems.

Macbook pro keyboard fixes

Macbook pro keyboard fixes

Let’s face it, the keyboards on Apple laptops are less than ideal (to put it kindly). For some strange reason the Apple engineers forgot home/end keys, added an annoying ?(“command”) key that attempts to replace ctrl, and created a delete key that really only functions as a backspace.

Subscribe & Contact

Know how to listen, and you will profit even from those who talk badly.
~ Plutarch ~