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 a 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 »