Remove query strings from static resources in WordPress

March 27, 2015

Using tools such as Pingdom and Google PageSpeed Insights I commonly see a message simliar to the following from WordPress powered sites: Remove query strings from static resources This week I have been on a performance optimization kick for a client and have been using this site as a testbed for optimizations. By default WordPress

List column names in a MySQL table

March 17, 2015

This will allow you to quickly and easily select a list of column names from a MySQL table. SELECT distinct column_name FROM information_schema.columns WHERE table_name='{YOUR TABLE NAME}’

Recursively count all files in a directory from the terminal

March 12, 2015

If you utilize the terminal on a regular daily basis like I do you are bound to run into times when you need to get a count of how many files exist in a directory structure. Here is some code that will display that count for you. find . -type f | wc -l The

WordCamp Maui: Interacting with External APIs

February 14, 2015

There is a lot of talk these days about tapping into the resources available through external APIs (Twitter, Facebook, Flickr, etc). Much of the functionality needed to interact with APIs is already included in the core through the HTTP class. In this session you will learn the concepts behind pulling data from an external API,

How to get your Archlinux back on Digital Ocean

January 27, 2015

I love love love DigitalOcean! Spinning up and down boxes to play is fun and the price is awesome! I am even working on moving this site (and all the other sites I host) over to a DigitalOcean box managed by ServerPilot.io. DigitalOcean (DO) allows you to choose from a list of Linux distributions when