Travel, Code, and Engineering

Tag: coding


Check Ruby on Rails's Load Path

Sometimes you need to add some special functions to your Ruby on Rails app, and you want these functions to be available everywhere in your application. In cases like these, you can put your code...


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