OAuth2 Tokens in Postman

I like to use Postman when developing REST APIs. It allows me to save, group and share different requests, prepare different payloads to test different scenarios »

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 »

Hacking Superlux HD668B for better sound

I got myself a pair of Superlux HD668Bs based on a recommendation as a good value hi-fi headphones. I like them, but they sound a bit too harsh to me, so I decided »

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 »

How to: OS X ad-hoc batch resize images

I am by no means any photographer who generates thousands of pictures per year and has apps and workflows around all that, but a need to batch resize big pictures »

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 »

Drupal: Slow Manage Features page

Many sites and distributions built on Drupal make use of Features. It often happens that having a big number of features on a site makes the Manage Features »

Drupal: Save Entity Field Without Saving Entity Itself

Drupal provides API for saving entities such as node_save() or user_save(). Functions like this update the whole provided entity, using up a lot of resources »

Why Behavioural Testing?

There seems to be a lot of buzz around Behavioural testing in recent years. Here is a couple of thoughts from my side why could this be happening: »