Category Archives: work

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 it would be nice to share the articles I read (the interesting ones anyway). So I built a plugin for it that you can even hook up to your own Pocket app id: Pocket widget.

Read the rest

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 with a bunch of them it feels wrong and slow having to loop through each of them.

Read the rest

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 as to what tools are used, not only software or IDE’s but also frameworks, libraries etc…

Read the rest

Bookmarklet for fullscreen Google Maps

As a developer I use bookmarklets all the time. For those of you who don’t know: a bookmarklet is similar to a bookmark but instead of a hyperlink it points to: “javascript:console.log(‘…do some Javacript to alter the page you’re currently viewing’);”.
So when developing I tend to use it for lots of stuff: quick login into a secure part, automatically fill forms with random data, altering data I get from some site… I even used it to load and initialize the level editor for a game I recently built.

Read the rest