Ain’t nobody got time to worry about updates. I’d rather have it break while updating than have it hacked by a script kiddie because I’ve neglected to login for a while. We will see if this ever breaks anything. Install WordPress-CLI if you have not already. Add all your sites to the update_wp.sh script: #!/bin/bash declare -a […]
Category Archives: DevOps
Linux schedule a one off reboot or task
So the server requires a reboot because you updated the kernel but clients are using it and you don’t work at 1:00am? Not a problem… echo “/sbin/shutdown -r now” |at 01:00 tomorrow You can also the check the queued jobs with: atq job 15 at Wed May 6 04:00:00 2015 And you can cancel the […]
USDA Nutrient Data SR23 POSTGRES SQL dump
I found the mysql dump online but these days I prefer Postgres. For others who are in the same boat as me, I thought I would save you the troubles! Enjoy. USDA Nutrient Data (SR23) Postgres Dump I used py-mysql2pgsql and renamed all the tables to lower case. I plan to hook this data into elastic […]
Digital Ocean is the best
You should probably checkout Digital Ocean! The UI is super clean and the VPS plans are very affordable. I’ve had no issues with them in the last year.