Install global nodejs tools in home directory

When installing packages using npm install --global, you need to have sudo rights.
To avoid this you can move this directory inside your home directory and avoid the use of sudo while installing packages.

Read More

Ubuntu 17.10 Alt-tab same workspace

By default Ubuntu 17.10 alt-tabbing works across all workspaces, to change this
run the following command in a terminal (CTRL-ALT-T)

Read More

Easy chat integration for Drupal 7

If you want to easily send messages to a chat service, all you need is a webhook configured on that service and the following code.

Read More

Create image styles in bulk for Drupal 7

Since we use responsive images a lot in Drupal, we use the following to create image styles in bulk.

Read More

High precision currency in drupal 7 commerce

In Drupal Commerce you can run into rounding errors when only using 2 significant digits, the easiest solution is to inform commerce to work with 4 significant digits

Read More

Create a local git repository

Follow these steps to get started with a local git repository.

Read More

Undo last commit

Ever made a change, but you forgot something

Read More

Restore to local

Restore Drupal database on local machine using drush.

Read More