Category: Uncategorized

Discover the public IP address of an AWS Fargate container in a Docker entrypoint script

tl;dr: you must use the +tcp option with dig We needed the public IP address to configure PASV_ADDRESS for a vsftpd service we’re running under AWS Fargate. Unfortunately, there’s no direct way for a Docker entrypoint script to get the current public IP address. There are some annoyingly-complicated ways using AWS api’s, etc, but the…

Read the full article

New theme :-(

Today I upgraded a raft of things on this WordPress site, one of them my base theme.  And the site looked like crap-o-la. Apparently, creating a child theme to avoid losing custom styling when upgrading the base theme… is virtually no help at all. So it goes.  Spending the afternoon fiddling with CSS seemed like…

Read the full article

Announcing encoding-inspector

First there was the encoding_sampler Gem Last November, I created the encoding_sampler Gem (RubyGems, github) to help find the desired encoding for a particular text file. From the Gem description: EncodingSampler helps solve the problem of what to do when the character encoding is unknown, for example when a user is uploading a file but has…

Read the full article