Category: Technology

Install Jenkins as a Service on CentOS 7

I have previously written about how to Install Jenkins on CentOS as a Service where it was necessary to write your own startup, shutdown, configuration, and init.d scripts. Luckily this is all much easier...

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...

Install WSDL2Apex on OS X El Capitan

The WSDL2Apex generates the Apex classes necessary to implement a SOAP callout from the Force.com platform using the WSDL for the service you are trying to implement. In 2014 it was split out of...

Monitor IPSec VPN Tunnel

I have an IPSec Tunnel built from one of my servers to an integration partner which is used to secure our web service calls. It uses a IPSec, OpenSwan, and Pluto to maintain a...

OS X El Capitan / Sierra Hanging on Boot [FIXED]

If your OS X El Capitan/Sierra update won’t reboot you can skip to the fix or check here for the (mostly) automated fix script. Otherwise feel free to read the saga below! Update 3/23/2016...