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.
In the realm of home automation, Home Assistant stands out for its flexibility and customization capabilities. A common scenario, when working with blueprints, involves using triggers based on input variables. But what if you need to modify these inputs for different triggers? This challenge led me to a solution that…
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…
Today I have been playing around with Varnish, SSL and SPDY in relation to WordPress hosting. Now, one thing that I noticed was that several images were using the http protocol instead of https – which seemed to be caused by wp_get_attachment_url. Luckily we can use the WordPress filters to…