Monthly archive for December2012

FIX: Capistrano deploy fails after changing repository URL

We have moved some of our clients repositories from Github to Bitbucket but when we tried to deploy we got the following error: I tried making a clean-up but that didn’t work. The solution however is pretty straight forward. You just need to login to…

Continue reading →

Detect if mouse click is from user or if triggered by code

I was coding a carousel solution for a client and wanted the automatic playback to stop if the user interacted with the image slider. First I thought that I would need some kind of custom solution but seems it was easier than i thought. The…

Continue reading →

LD25 – Revenge of Dr Green

My entry to the Ludum Dare 48 hour competition. The theme for the competition is “You are the villain”. I made a little twist on this as you can see I’m pretty tired now so won’t make any big write-up. Will probably write something later…

Continue reading →

Regular expressions in Notepad2 (with backreference)

Regular expressions is really nifty to use when you got a chunk of data and need to extract or change certain parts of it. I’ve used it before in Notepad2 to replace mostly with empty strings but this time I wanted a little bit more….

Continue reading →