A weekly analysis is a better fit for pandas than for PHP, and the integration should be the narrowest thing that works. A file with a documented schema…
A predictable temporary path in /tmp is a symlink attack and a collision between two concurrent runs, and both are avoided by three lines in a specific order.…
A shell pipeline reports the exit code of the last command, so mysqldump | gzip > file succeeds when the dump fails and the gzip writes nothing. pipefail…
Parsing the table output with awk works until a value contains a space, and every command takes a format flag that removes the question. –format=ids is the one…
The tests need MySQL and Redis, and CI gives you an empty machine. Service containers, where they differ from compose, and the readiness nothing does for you.
A development machine accumulates dangling layers, stopped containers and orphaned volumes, and none of it is visible until the disk fills. -a –volumes deletes the database volume of…
A heredoc expands variables and command substitutions by default, which is convenient for a template and disastrous for anything containing a dollar sign belonging to another language. One…