A blog by Thomas Cremers, senior software engineer and adventurer of the interwebs.

Posting JSON to a restful API with vbscript

Suddenly I found myself in a strange world where I couldn't just click my heels and escape. A client asked me for a VBScript he could use to post JSON to his restful api. I told him I never wrote a line of code for the Windows platform but that I would have it done in an hour or two.

Read article

Capybara webkit and HTTP basic auth

I thought that doing HTTP basic auth would be easy with the Capybara webkit driver. It isn't as easy as you might expect. I would have expected a authorize method of some sort but you have to actually set the header yourself.

Read article

Arduino Push Notification Doorbell

A while ago I did a hardware hack project that used an old wireless doorbell unit and an Arduino to make a push notifications enabled doorbell. It actually started out as a joke but the video got more attention than I would ever expected with a lot of requests to do a proper tutorial on it.

Read article

Web Components and HTML import

As a web developer in 2014 I'm sure you use jQuery or something similar, maybe Bootstrap or Foundation? Perhaps you need a nice carousel? And for templating you're using Handlebars, or maybe your prefer to go with a nice framework like KnockoutJS, EmberJS or AngularJS.

Read article

Ember Handlebar helpers and img objects

Today I spend about an hour figuring out how I could return jQuery generated nodes from an (ember) Handlebars helper and have it rendered as markup in the document. O boy what a battle. I was a bit surprised that this wasn't easier and/or better documented.

Read article

Ember and Cloudinary

A new client asked if I could implement gallery functionality in their EmberJS app. I already implemented company logo uploads using Cloudinary so adding gallery functionality shouldn't be to big of a problem.

Read article

Using jQuery in your content_script

Using jQuery in your Chrome extension as a content_script inorder to inject it into a webpage might be something you're scratching your head over especially if you're new to Chrome extension development (which at the time of writing pretty much everyone is).

Read article