Ryan Burnette

Ryan Burnette

I'm a full-stack web developer. This is my blog.


Migrating Existing WordPress Assets to Amazon S3

I've been using the Amazon S3 and CloudFront WordPress plugin to sync my uploaded WordPress assets with an S3 bucket for a while now. I recently moved an existing site over to the plugin and wanted to migrate all the old assets to S3. This is how I went about it.

Read More


My tmux Notes

My ongoing notes related to tmux.

Read More


USB 3.0 Gigabit Ethernet Adapter for Mac OS

I wanted a USB 3.0 Gigabit Ethernet adapter that worked well with my MacBook Pro on Mac OS. Here's what I found.

Read More


Got Tired Of Fixing ZSH zcompinit Error

I got tired of fixing the ZSH zcompinit error that I seem to get most times I install a fresh oh-my-zsh. The fix is pretty quick and easy. But I have to go find it when I need it.

Not anymore. I...

Read More


Styling Multiple Navs

Responsive web design often demands that we build at least two very different navigation elements for sites. One is usually targeted to desktop browsers and has a horizontal footprint, while another...

Read More


How I Manage My Photos

This is a tl;dr sparked from a conversation with a good friend regarding management of personal photo libraries.

In this modern era where it's not unusual to take dozens of digital photos per day...

Read More


Exploring Ways To Improve Vagrant Performance

As a developer who is frequently switching between projects, Vagrant is one of my favorite tools. It gives me a fast, automated way to create a virtual machine instance that's tailored to the needs...

Read More


Deploy A Subdirectory To A Git Branch

I love using Jekyll and Github Pages together. In my case I use some custom plugins so I compile the site myself and push the changes over to a gh-pages branch.

The other day I was looking at the

Read More


Enable PostgreSQL hstore with Bash

I've been loving PostgreSQL's hstore ever since I found out about it. I frequently use it with Rails where I develop in a Vagrant instance. It's nice to be able to fully provision Vagrant instances...

Read More


A Pull Request I'm Especially Proud Of

A year from now when I read this post I hope it seems trivial, but today I'm reveling in a mini-victory. I was working on a Jekyll site and I ran across a bug. After submitting an issue on the Github...

Read More


I Gave Google Inbox a Chance and I Love It

I was fortunate enough to get an invite to Google's Gmail beta back in early 2004. As I write this today I have been a Gmail user for over a decade!

Back in 2004 Gmail was a major departure from the...

Read More


Using Bower In Rails

I like for using Bower with Rails to be as simple as running bower install -S package and including it from my asset file. It takes a couple configuration steps to get to that point.

Set a non-standard...

Read More


My Boilerplate Gruntfile.js

I've been using Grunt for over 3 years now, almost all the way back since I started using CSS pre-processing. In the beginning I was using CodeKit, which is still an awesome tool. I prefer Grunt because...

Read More


Scrolling Can Be Interrupted By Hovering A Google Map

While coding websites I have seen a few situations where a Google embedded map has a width of 100%. This might cover just a main container column or the whole browser viewport. Either way, it creates...

Read More


Building A Cost-Effective Gaming Computer With Parts From Amazon

This story began earlier this year when my best mate Ben and I wanted to build a couple desktop machines to take our gaming to the next level. We wanted good performance, but you could say that we were...

Read More


Using Shotgun (or Rails) Inside Vagrant

A lot of development servers bind themselves to 127.0.0.1 by default. This is the case in Sinatra and in Rails as of 4.2. If you're like me and you're using a virtual environment like Vagrant, you'll...

Read More


The Best iOS Remote For Using The Camera

I recently wanted to use a remote to take pictures using my iOS device. I immediately went to Amazon and purchased the most expensive option. I figured you get what you pay for, plus it was first in...

Read More


Insert A Suffix Into A File Name Before The Extension In Ruby

Earlier this evening I had a situation where I needed to insert a suffix into a file name before the extension. I figured I'd need to do this again so I made it a snippet.

There are probably fancier...

Read More


WordPress Public Post Preview Plugin Stopped Working

I have a client who relies heavily on a WordPress plugin, Public Post Preview. It's a very useful plugin for publishers who need to proof their content with collaborators or advertising agencies before...

Read More


Forward Port 80 From Vagrant in Mac OS

For some projects I wanted to serve the development environment on my local port 80. This wasn’t straightforward with Mac OS until I found this workaround. Forward the virtual environment’s ports 80...

Read More


WordPress WP-Markdown Plugin Filters

I'm a huge fan of using Markdown for authoring web content. I've been on a big push as of late to see my clients publish their web material using Markdown. Many of the sites I build and maintain are...

Read More


Clearing Chrome's DNS Cache

Here's a situation I find myself in frequently as a web developer. I change the address a domain resolves to, usually by editing my hosts file, only to find that Chrome is still loading the old site...

Read More


Capistrano Deployment By Semantic Version Tag In Git

I use semantic versioning to keep up with my Rails project releases. This involves tagging each release with a semantic version number preceeded by a 'v'.

For deployment I usually use Capistrano. The...

Read More


My Boilerplate Vagrantfile

A few months back I finally hit a point where maintaining my local development environment was taking up too significant a portion of the day. Tweaking things to make the environment suitable for one...

Read More


Quickly Add Swap In Ubuntu

Use the dd command to make a swap file. Set the count to the number of megabytes you'd like the swap file to be. Then run the mkswap command to make it usable as swap.

Read More


About That "Open Link In A New Window" Logic

Link targets are as easy to overlook as they are critically important. Content publishers need to think about target behavior each time they create a link. This makes it easy to err or be inconsistent...

Read More


Pygments Syntax Highlighter Sass (Solarized)

I pieced together this lengthy Sass snippet as a basis for creating syntax highlighter themes for Pygments in Sass. There are a couple cool things going on here.

This is the solarized color scheme...

Read More


Complete SSL Chain Verification With GoDaddy SSL Certificate And Nginx

If you are using an Nginx web server and want to install an SSL certificate signed by GoDaddy, their instructions may leave an important step out. The SSL certificate they provide you with lacks the...

Read More


What To Do When You Receive A Domain Name Expiration Notice From Domain Registry Services

Have you received a letter from Domain Registry Services saying that your domain will soon expire? If so, what should you do?

Throw it in the trash.

If you carefully read this document you'll find...

Read More


Getting And Setting URL Query Parameters In JavaScript

I've been learning Ember.js lately and I'm excited using MVC frameworks in the browser. Without getting too far off the topic of this post before I even get started, I'll mention what lead to write...

Read More


I Love These SVG Patterns

I have a bunch of bookmarks in a folder on my desktop. It's terribly a terribly haphazard mash of links, text files, screen shots, and other sundries that I plan to do something with one of these days...

Read More


Beware Of Redirect Pain When Migrating To WP Engine

If you're starting a fresh WordPress site on WP Engine, this probably won't effect you, but if you're like me and you have – or are in the process – of migrating a site to WP Engine, you'll want to...

Read More


Using Two Versions of jQuery In A Restrictive Environment

On a recent project I had to integrate a front end I built into another environment that had some restrictions. I didn't have full control over the page. It was loading jQuery 1.4.2 and had many elements...

Read More


Improving My Github Workflow

When I think back to the days before I used Github, I'm not sure how I functioned as a web developer at all.

My name is Ryan Burnette, and I've been a Github member since August 20, 2012. I started...

Read More


Why Do My Gems Install So Fast?

I was sharing my screen with a friend the other day. I had just reloaded my computer a couple days before so I had to install some core gems, including Rails, to get spooled up on the project we were...

Read More


Client Autonomy On The Internet

One of the first things I always suggest when I start working with a new client is that we run through a quick autonomy checklist. What does it mean to consider a client's Internet autonomy? Businesses...

Read More


Backing Up Email With Fetchmail And Procmail

I recently needed to back up an email account before deleting it. I tried several methods for doing this and found that using one of my Ubuntu-based VPS servers I could easily set up a background task...

Read More


The Environments

I can't remember exactly when the concept of the three environments was introduced to me. It's been several years back now. It has taken me until fairly recently to fully utilize them in all projects...

Read More


Removing Query Parameters From File Names

A few times I've had situations where I was downloading a lot of files using cURL or wget. In some cases getting the right output involved some parameters that made their way into the file names.

Read More


Published On CSS-Tricks: WordPress Fragment Caching

A few months back I had a conversation with Chris Coyier about WordPress performance. We touched on fragment caching so I got into reading on the topic and ended up coming up with a pretty useful snippet...

Read More


An Early Review Of Apple iOS 7

One of the perks of having an Apple Developer account is that I can download and install beta versions of Apple's latest software. A buddy and I decided to give iOS 7 a try.

Apple deserves some leeway...

Read More


Who To Use For WordPress Hosting

I have been building and maintaining WordPress sites since 2007. Back then I also worked in Joomla, Drupal, or just plain PHP and MySQL. Once 2008 rolled around I decided to dive completely into one...

Read More


Illustrated Me

A few years back I ran across YourSceneSucks.com, an exhibition of hilariously accurate scene kid stereotypes by artist Rob Dobi. I loved the style and began following his illustrations and photography...

Read More


Responsive Instagram Iframe Using jQuery

I was recently working with a blog that featured embedded content from many social media sources. Instagram was one of them. The embeddable Instagram is great, but it doesn't naturally respond to fluid...

Read More


Create MySQL Database And User

When we need a MySQL database for a site it's best to create a database and a user with privileges on that database alone.

First we need to log in to MySQL as root to set everything up. Be prepared...

Read More