Use lego, gcloud DNS, and DNS Challenge to Generate Let's Encrypt SSL Certificates

Tuesday, November 8, 2016

Since it was released to the world, Let’s Encrypt has been a boon for anyone wanting to secure their website or web application with TLS. A lot of work has been, and continues to be, done to provide HTTPS to the masses.

Because Let’s Encrypt is an open certificate authority and provides an API to generate, renew, and revoke SSL certificates, anyone can create tools to make a historically cumbersome and difficult process more efficient and easier.

Continue reading...

Kickstart CentOS 7 with eth0 Instead of Predictable Network Interface Names

Saturday, July 23, 2016

By default, CentOS 7 will kickstart and boot using predictable network interface names. This is useful when provisioning and using similar bare metal servers, but it isn’t very useful when provisioning and using disparate bare metal servers and virtual machines.

Continue reading...

Issues Connecting External Hard Drives to a Retina MacBook with USB-C

Thursday, July 14, 2016

As of OS X 10.11.4 and .5, not sure which, I have issues connecting external hard drives to an Early-2015, 12-inch, retina MacBook. I suspect it has something to do with USB-C or OS X’s USB drivers. Apple’s OS X El Capitan 10.11.4 release notes reference updates to USB audio devices and Apple’s USB-C adapters.

Continue reading...

parted Commands Cheat Sheet

Saturday, June 4, 2016

Linux users have used fdisk for as long as can be remembered to partition their hard disks. However, as large hard disks have become more and more prevalent, fdisk can no longer be used because it has a 2 TB partition limit. Luckily, parted has been around for a long time and can be used to label and partition any modern sized hard disk.

Continue reading...

Using siege to Load Test Your Website and API

Wednesday, March 30, 2016

ab, Apache Bench, is often used to load test websites, but I didn’t find it extensible enough for my needs. Unless an unofficial patch is applied, it cannot attempt to simulate a real person by going to random URLs. This is where siege comes in.

Continue reading...

A Better Way to Inject Content into a Jekyll Post

Monday, March 28, 2016

In a previous post, I described a method to inject content into a Jekyll post. The method worked but felt hacky and inelegant. Additionally, you could only inject content one time in a Jekyll post.

Continue reading...

A Simple, Secure, Ephemeral Way to Share Passwords

Friday, March 25, 2016

My job frequently requires me to distribute passwords to people. Those people could be coworkers or employees from another company or organization. Obviously passwords are something that need to be transmitted securely, but I didn’t have a simple, secure way to do this.

Continue reading...

find Commands Cheat Sheet

Monday, February 22, 2016

find is an extremely powerful command. It not only finds your files and directories, it can be combined with other shell commands to perform actions on those found files and directories.

Continue reading...

sed Commands Cheat Sheet

Monday, February 1, 2016

sed is an extremely powerful stream editor. The web is full of useful sed one liners; especially here.

This post will be an ever growing list of sed one liners I have found useful.

Continue reading...