Travel, Code, and Engineering

Tag: coding


How to Install OpenResty and Passenger on Ubuntu 16.04 (Xenial Xerus)

Making OpenResty and Passenger work together isn't too hard, but it's not obvious how to do it. There's a lot of guides for getting Passenger to work with Nginx, but the process for OpenResty is a...


Funny Language Codes in Google Analytics Data

While checking out my Google Analytics data, I noticed a couple strange language codes. Language codes are strings like "en-us" that a browser sends to a server when requesting a web page to let...


Setting a Default Program for Extensionless Files

I've been using Ruby on Rails for a while now to build websites. One important file in any Ruby on Rails project is the Gemfile. This file has no extension, so it's a bit annoying to open in...


Debugging the BarStack Windows App

I wrote the BarStack Windows App way back in 2014 when Windows 8 was brand new. Windows 8.1 hadn't been released yet, and "Metro" style apps had just been rebranded as "Windows Store" apps....


Testing Impressionist with RSpec

On Bloopist, my blogging platform, I use the Ruby Gem Impressionist to track how many views each post gets. I've been experimenting with adding tests to Bloopist's code base. I want to make it less...