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.
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…
TL:DR; DigitalOcean API returns /proc/stat data in its CPU metrics API, and here I'll show you how to convert that to something usefull. After years of developers begging, DigitalOcean opened up their Monitoring API. This allows you to load the data that Digital Ocean bases the droplets graphs on. Great…
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…