Last night a friend of mine gave me the idea of creating a time-lapse video of New York using the images by the NY-Times webcam. The video shows New York between 15:30 and 08:30 (local time) last night as Sandy hit.
I used a simple script to download one image per minute – combining a cron-job with a few lines of PHP, and used these to create a 60fps 30fps time-lapse video of the approximately 1050 images gathered so far.
I updated my site to utilize html5 history and ajax recently. One of the challenges I faced was how to handle Gist embeds. Since they only consist of a single script tag it initially seemed like there wasn't a lot to go on. Not to mention that it would trigger…
Recently I was asked about jQuery's resize event. It runs its resize while the users resizes the window – meaning it can be triggered hundreds of times before ending the resize. Is there a way to wait until the user is done resizing? I know jQuery isn't the coolest kid…
Electric power companies, in general, are pretty much the same. Tibber however, is unlike any electricity company I had seen before. They try to utilise the data we get from smart devices, which they also sell, to save electricity, money and the environment, as well as improving comfort. It’s a…