
Environment Variable Substitution in YAML Config Files
Substitute environment variables into YAML config after parsing, not before. Expanding text first broke on a colon and hash; a typed walk kept the value.
Tag
590 posts

Substitute environment variables into YAML config after parsing, not before. Expanding text first broke on a colon and hash; a typed walk kept the value.

Run MySQL 8.4 in Docker with a named volume, environment variables, a custom config, health checks, initialization scripts and safe upgrades.

Create your first PostgreSQL role, database and schema: CREATE ROLE with LOGIN, a database with an owner, search_path, and the public schema change.

A decision guide for CSV files too big to open: look, count, sample, query in place, chunk, split, compress or convert, with numbers from a 1.3 GB file.

Split a Markdown file into YAML metadata and body with one regex, then handle dates, CRLF, a BOM, a missing closing line and body text with dashes.

Install MySQL 8.4 LTS on macOS, Ubuntu and Windows: package sources, first start, the root account, secure setup and checks that the server works.

JSON has six value types and no date, binary, integer, decimal, set or undefined. See what Python and JavaScript do to each missing type when they serialize.

Run PostgreSQL in Docker with a named volume so data survives restarts, set the password and database on first start, publish the port safely and use Compose.

dict update is shallow and replaces whole blocks. A 10-line deep merge, the list policy choice and what null means, tested on a base and an override file.

A beginner guide to getting a MySQL server running: choose a version, install, secure, connect, create users and fix the first errors.

A CSV export should re-import to the same data. A test where identical files hid a NULL turned into an empty string, and how to test round trips on rows.

Install PostgreSQL on macOS with Homebrew, on Linux with packages and on Windows with the installer, then check that the service runs.