For when the usual answer is wrong

Tools and tested notes for the edge case: the date before year one, the command that exits 0 on failure, the version pair that will not install. Everything runs in your browser, and nothing you type is stored.

Browse the toolsSearch the archive

Gift exchanges

  • Secret Santa generator

    Draws names with exclusions for couples, so nobody gets their own partner, and reveals each match privately. No sign-up.

  • White Elephant turn tracker

    Draws the turn order, counts the steals on every gift and locks a gift at your house limit, which is the part everyone argues about.

Dates and deep time

PHP, Symfony and Twig

  • The Symfony and PHP version checker in use

    Symfony and PHP version checker

    The minimum PHP for every Symfony version, which are long-term support and when their fixes end, from symfony.com's own data.

  • Twig cheat sheet

    Defaults, filters, escaping, inheritance and lint, each tested on a current Twig.

  • Symfony 7 cheat sheet

    The console commands for checking, debugging and generating code, tested on Symfony 7.4.

  • Symfony snippets

    Short answers to the form, security and template problems that come back.

Shell and Git, when it goes wrong

  • Git recovery cheat sheet

    Undoing a commit, getting deleted work back and escaping a rebase, with what each command does to your files.

  • Exit codes that lie

    grep, curl, bash and mysqldump each report success when the job failed, or failure when it worked. How to tell.

  • Git errors explained

    Refspec, unrelated histories and the other messages Git gives without a fix.

Website health

Labels and codes

  • The barcode label maker in use

    Barcode label maker

    Code 128, EAN-13, UPC-A, ITF-14 and Data Matrix labels as a PDF for Avery sheets, from a pasted list or CSV.

  • The barcode scanner in use

    Barcode scanner

    Read codes from the camera or a photo, then copy them or save them as CSV.

  • The QR code generator in use

    QR code generator

    A link, WiFi details or a contact card, styled, with a logo, as SVG or PNG.

Working notes

New: Postwright. A local editor for static sites where every release passes checks first. See the waitlist page.

About the archive. Many of these notes were first written between 2014 and 2017. Every post keeps its original date so you can judge it, the ones that matter most have been retested on current versions, and anything no longer accurate was removed rather than left standing.