Category Archives for code

WordPress Pocket widget

Pocket is really handy. It is a way to save articles and access them cross-device. It has an API and is also on IFTTT. I use Pocket to save articles I see on Zite and interesting stuff I encounter during the day. In between work I’m currently rebuilding my two sites into one and thought […]

Also posted in php, wordpress | Tagged , | Leave a comment

DRY responsive Javascript

My last post got me thinking when I was implementing responsive Javascript events (well, signals really). I never liked it when similar things are defined or implemented multiple times. That is the reason why I tend to put classNames added through Javascript inside a value object, or why I wrote something to parse Less variables […]

Also posted in javascript, Uncategorized | Tagged , , | Leave a comment

Change CSS styles at the root.

When building web applications a lot of times a certain elements style needs to be changed. Mostly you can suffice by using one of the Element.classList methods. But sometimes you have to set an elements style directly (think of non-constant values like width, height, padding etc…). This is fine for single elements but when dealing […]

Also posted in css, javascript | Tagged , , | Leave a comment

Using Google spreadsheets for your freelance invoicing

Being your own boss is great! You get to pick your own clients, your own hours, your own workplace. Not so great is all the administrative work: making quotations, doing taxes, making invoices (although the latter does make me happy). Luckily I have a spreadsheet and Javascript to do some of the boring stuff for me.

Also posted in javascript, Uncategorized, work | Tagged , , | Leave a comment

Testing for unused functions with Grunt

I’m relatively new to Grunt. I had used it before in several projects but it was already set up and working fine, to I didn’t really look into it. Besides, the sheer amount of options/plugins available put me off a bit. That and time being money. But in between projects I have a bit of […]

Also posted in javascript, jquery | Tagged , , , , | Leave a comment

A freelance developer’s tool box

As a freelancer it’s always a challenge to find the right tools for the job. No collective knowledge base of colleagues you can quickly pop a question to. On the other hand, being a freelancer also gives you the unique opportunity to have a peek in the kitchen of various companies. And I’m always curious […]

Also posted in work | Tagged , , , , | 4 Comments

Storing multiple properties in one integer using bitwise AND

Objects with multiple properties with each their own variable can get a bit messy. Here’s a nice solution to store multiple properties in a single variable.

Also posted in actionscript, java, javascript | Leave a comment

Creating tileable noise maps

Creating a tileable image in Photoshop is easy; crop an image, take the cropped right and bottom and stick it left and top with a fade. But creating proper tileable noise maps is a bit trickier to get your head around if you want to do it right.

Tagged , , , , | 6 Comments

Migrating a subversion repository from Google Code to Github

Recently I migrated TinySort from Google Code to Github. I’m a real Git noob so I expected a full history migration to be a real pain in the ass. Plus I also wanted to move both the open and closed issues (since they correspond to the regression tests). Luckily it turned out to be a […]

Also posted in javascript, jquery, python | Tagged , , , , , , | Leave a comment


I really just wanted to update my WordPress core.

Also posted in css, graphic design | Leave a comment