Author: Justin Silver

Letsencrypt: Free SSL Certificates for NGINX

I always wanted all of my sites to run over SSL, but it also didn’t seem worth the expense of buying certificates for all the domains I own. Enter Let’s Encrypt which offers free...

Reconnect Bluetooth Devices After Waking From Sleep

My Macbook goes to sleep when I leave it idle for a few minutes which saves energy and locks the screen. Quite annoyingly – for a long time – upon waking up from sleep my...

Dynamically Update /etc/hosts from NGINX

I wanted to guarantee that requests coming from one of my servers going to a domain they host are routed to localhost. The solution I arrived at was to generate a list of domains...

MySQL / MariaDB Backup & Archive Script

I am using MariaDB – the open source version of MySQL – and wanted an easy way to backup my databases on a regular schedule without having to do anything when I created or...

Unban GoDaddy / MediaTemple WordPress Plugins

GoDaddy managed WordPress hosting, and by ownership MediaTemple as well, prevents some plugins from being activated on website. Some of these may make some sense if the conflict with caching, etc, but I feel...

Salesforce sObject Id Validation in Apex

Salesforce sObject Id‘s are specially formatted strings used to uniquely identify sObjects. If you want to test the validity of an sObject Id in Apex, you can go the simple route of checking the...