// posts, page 4 of 14

Apache SNI

I covered Server Name Indication (SNI) a while back, but it still surprises me how little people know about it. So, it’s time to look at configuring Apache to use SNI.

These Are the Inodes You Are Looking For

Ever gotten a disk full error, only to run df and not see any full disks? After banging you head against the wall for a while, you remember to run du -i and low an behold you are out of inodes. What’s an inode anyway? It’s the data struc...

Importing Legacy Data into Your Rails App

Sometimes you have to write a new Rails app for old data. One approach is to keep the old format and carefully craft your ActiveRecord models to work with the existing schema. But, odds are the old schema has become a mess overtime and w...

Getting the ngrok URL

A quick addendum to my previous ngrok post. If you are not using subdomains, it can be useful for your app to know what ngrok’s dynamically generated URL is. The simplest way to do that is to set an environmental variable. I like APP_URL...

Autostart ngrok with Rails

I’ve been using ngrok on quite a few projects lately. I’ve written about it before, but in short, it solves to problems for me.

Cheap SSH VPN

Recently (I seem to start a lot of posts with “Recently”), I was on the road needed to access a server that was behind a firewall. There was no VPN and access was limited to a small set of IPs. I could however access another server in th...