WordPress Containerization Boilerplate

As a step further to my previous post, I have created a boilerplate for future WordPress projects. It can be accessed at https://github.com/andrewwippler/WordPress-Containerization-Boilerplate. To quickly start a WordPress environment, simply run the following commands: git clone git@github.com:andrewwippler/WordPress-Containerization-Boilerplate.git cd WordPress-Containerization-Boilerplate/ docker-compose up and by visiting http://localhost:8080 More instructions are in the repo README. Happy Plugin/Theme development.

DHCP IP updater

This is the script I use to change the DNS record of my home IP when it changes. I have it running once a week and have not noticed a lapse in coverage. If your ISP has DHCP configured correctly, you will receive the same IP address when you are due for a renew. Otherwise […]

OpenStack PS1 snippet

I have been studying for my OpenStack certification test (the COA) which is scheduled next week. One thing that was painful to keep track of was the user I was using to interface with OpenStack as the rc file you download from OpenStack does not update your PS1 prompt. I came up with the following […]

WiFi Captive Portal

A captive portal is a piece of software that prompts for user interaction before allowing the client to access the internet or other resources on the network. It is a combination of a firewall and a webserver. In this tutorial, I will explain how to create an open WiFi network. Before deploying an open WiFi […]

Expect with expect

Wouldn’t it be nice to program a script that expects a certain line of text then sends a predetermined string? How about copy your ssh id to 40 different RPi units without typing the command for every one? Expect is that sort of program we all have been dreaming about.

Installing fonts on Windows using Puppet

I was recently tasked to install a group of fonts on windows systems. In order to do it the Internet way, you have to: Install the font on a system Export the registry file Create a GPO Place the font in an accessible location (domain readable) Make sure the GPO has the .reg and the […]

Send Aliases over SSH connections

Bash reads aliases from a file only; however, this file does not have to reside on the server you are connecting to. With OpenSSH, we have to ability to send environment variables that the server allows.

Kodi Shutdown Script

I am currently using 14.2 of Kodi on my home media center. In order to save money and energy, our rule of thumb is to keep the media center powered off during the night. At first thought, it would make sense to use Kodi’s built-in sleep function; however, it gets too mundane to open the […]