My Terminal setup

A few friends have asked me about my terminal setup, so I decided to write up a small blog post about it. This is what my terminal looks like in action: »

Git: Cleaning up merged branches

Using some kind of git branching strategy (e.g. GitFLow, GitHub Flow or other) normally produces quite a lot of branches. When these do not get merged on you »

JSON compression using transpose

I stumbled upon a blog post about compressing JSON data by rotating it 90 degrees. This caught my eye, so I decided to have a play with it. Malc (the author »

Drupal: Open Atrium alter Message Notification type

Recently I needed to send Created message instead of Updated when editors publish node in Open Atrium. This is how you can simply alter message type, which is »

Drupal: debugging to a file

Drupal and debugging often means using Devel, which ships with some very useful functions like dpm(), kpr(), dpq() and more for outputting debug stuff, but these »

Drupal: EntityMetadataWrapper auto-completing code

Using entity_metadata_wrapper() from the Entity API module has a lot of advantages discussed all over the internet, but it has been bugging me for quite some »