Mark Boulton has just released his new tool “Gridset”. It has taken some months to develop and is now in beta. Gridset is not a bunch of code you download from Github. It’s a browser-based tool to create grid systems The tool is fully configurable and allows you to create all sorts of grids. You… Read More


Kevin Nilson has a great presentation on testing. After watching it, I was tempted to install my own Testswarm (jQuery project). It took me a while to get it up and running but I advise you to try it out for yourself. More info at Testswarm, intall readme. If you have trouble with the install,… Read More


While following the Javascript Masterclass, some examples poped up about using prototype on native objects. An implementation of curry was added to javascript, just as some other usefull features. This reminded me of a prototype a colleague of mine ones made for a format function. Format does replace values in a string. A bit like… Read More


Cropping an image function cropImage() { var canvas=document.getElementById(“myCanvas”); var c=canvas.getContext(“2d”); var imageObj = new Image(); imageObj.onload = function() { // draw reference image c.drawImage(imageObj,50,30, 438, 300); // draw cropped image var sourceX = 150; var sourceY = 0; var sourceWidth = 150; var sourceHeight = 150; var destX = 370; var destY = 220; var… Read More