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


Transfer Files and Directories Containing Spaces Using scp

Sunday, December 6, 2015

Have you ever used scp to transfer files and/or directories containing spaces only to have it output the following errors:

Continue reading...


Use the OpenStack swift Command with Rackspace Cloud Files

Thursday, December 3, 2015

Rackspace Cloud Files is, and has always been, powered by OpenStack Swift.

The easiest way to interface with Rackspace Cloud Files is through the web portal or third-party clients such as Cyberduck.

Continue reading...


Install and Configure Cobbler on Ubuntu 14.04

Thursday, November 26, 2015

Cobbler has always been my goto for provisioning bare metal servers. This is due in large part to its ability to provision CentOS, RHEL, Ubuntu, and Debian easily and quickly.

This post will cover setting up Cobbler on Ubuntu 14.04 and how to provision a server with Ubuntu Server 14.04.

Continue reading...


Debian/Ubuntu Preseed Documentation and Working Examples

Wednesday, October 14, 2015

Debian/Ubuntu’s Preseed is not the easiest thing to understand. Having used Red Hat/CentOS Kickstart Profiles for so long, trying to setup a Preseed file for the first time was an extremely uninviting process.

Ubuntu has support for using Kickstart Profiles but it isn’t as full featured as Preseed, and I have encountered plenty of edge cases where Kickstart Profiles do not work for provisioning Ubuntu systems.

I currently spend a lot more time with Ubuntu than Red Hat or CentOS, so all I can do is try to better understand Preseed.

Continue reading...


Create a Bootable Ubuntu USB Drive in OS X

Tuesday, October 13, 2015

Ubuntu has a great set of instructions on creating a bootable USB drive in Mac OS X, but they have an additional step I found to not be needed; there’s no need to convert the Ubuntu ISO to an IMG file. You can simply download the ISO and use dd to copy it to a USB drive.

Continue reading...