12 October, 2022
1 min read
66 words
Tee stderr to a file for the next command while keeping the original exit code through PIPESTATUS, then annotate the build with it.
25 June, 2021
1 min read
96 words
Extracting the registrable domain in bash with a short awk expression, so .com and .co.uk both come out right.
22 June, 2020
1 min read
82 words
A bash function that stamps out the same YAML build step for every environment, so the pipeline file stays short.
15 December, 2016
1 min read
141 words
Curl scripts that log the CloudFront X-Amz-Cf-Id whenever a response is slower than a threshold, plus a full connection timing breakdown.
29 April, 2015
2 min read
283 words
GNU Parallel's citation notice, what --bibtex actually prints, and how to make it stop.
21 January, 2014
1 min read
5 words
A shell report that pulls Bacula job results out of the Postgres catalogue and emails a daily or weekly summary.