Category: software

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

TRI Resources T3 plugin for WordPress

TRI Resources International provides data, reference tools, and web services for the printer supplies industry. One of those services is “T3,” an API designed to serve data needed to support “ink and toner finders” like you see on virtually every printer supply retail site. To avoid making each of our clients write an app to…

Read the full article

Retrofitting tests

In this time of TDD, the obvious question is, “why?” (Or possibly “what the hell is wrong with you?”)¬† But I think I can explain… Why are there no tests to begin with? It is sort of obvious if you have been at this for a while: ¬†legacy apps. All the Cool Kids have the…

Read the full article