Posts

  • AWS Azure login interactive profile selection function

    I’ve created a wrapper for aws-azure-login to let you interactively select the profile you want before logging in. I have a bunch of profiles, I can never remember what they are called, and some of them have short session lifetimes, so this has been a lifesaver.

  • Being open about openness

    tl;dr: Being open about what you’re open about is helpful to everyone involved, including maintainers.

  • Easy PostgreSQL testing with pgTAP and Nix

    This article explains one way to get from zero to a psql shell inside a local PostgreSQL instance with pgTAP enabled. It’s based on the Nix shell template article.

  • Nix shell template

    Nix shells are the best tool for creating software development environments right now. This article provides a template to get you started with Nix shells from scratch, and explains how to add common features.

  • Convert date/time from machine-readable to human-readable

    Enter a date/time string below to get the human-readable local time instantly.

  • On brevity

    There was a young joker, a git,
    Who thought himself quite the wit,
    But he wasn’t funny,
    His jokes were runny,
    Like “Conciseness, rather than prolixity, is the very being, the very body, the very soul, of wit!”

  • YouTube channel web feed bookmarklet

    tl;dr Drag →→→ YouTube channel feed ←←← to your bookmarks to get to the web feed of the current channel.

  • Reproducible Jupyter Notebook with Nix

    So you have a Jupyter Notebook with pyproject.toml and poetry.lock files, and you want to productionise it? You’ll just need a Linux or macOS machine. This is the magic sauce:

  • systemd services & timers in NixOS

    systemd services and timers are a game changer if you’re used to cron jobs. This looks at a couple of simple real-life examples to show off the advantages.

  • Elden Ring Linux performance settings

    tl;dr Just set everything to max performance in CoreCtrl and you’re good to go.