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…
Here is a guide for setting up SFTP users who's access is restricted to their home directory. Add the following to the end of the /etc/ssh/sshd_config file: Subsystem sftp internal-sftp # This section must be placed at the very end of sshd_config Match Group sftponly ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding…
When I need to debug a WordPress quickly, I usually reach for this quick command: wp plugin install query-monitor --activate wp config set WP_DEBUG true --raw wp config set WP_DEBUG_LOG true --raw wp config set WP_DEBUG_DISPLAY false --raw wp config set SAVEQUERIES true --raw Let's take a quick look at…