Posts

  • Cross-compiling x64 on Aarch64

    How to support cross-compiling -sys crates for x64 (x86_64) on Ubuntu 24.04 aarch64 (arm64) in WSL2.

  • Cleaning up Rust

    Tips for cleaning up after Rust, which can consume a lot of disk space.

  • 12 Months: Over 7000m with Strava

    Why I pushed myself to earn 12 months straight of Strava's 7,000m Elevation Challenge, and how I'm on track to top 100km elevation in just a year's time.

  • Helix support for TypeSpec

    You can add TypeSpec language support to Helix fairly easily. I’ve done this in my profile repo and you can copy the code. I hope to get this added to Helix if they’ll accept an up-and-comer.

  • Using 1Password for git SSH signatures in WSL

    1Password allows developers to sign git commits using SSH by setting up their own SSH agent. Doing this in your host platform e.g., Windows, is relatively straight forward but if you want to set this up in Windows Subsystem for Linux (WSL) there is additional configuration you need to perform.

  • Oh My Posh

    As a terminal junky, many years ago I customized my PowerShell $profile to define a custom function:prompt. This included custom parsing for any .git directory (even .hg for Mecurial!), and eventually any .git file to support worktrees and submodules. It was fast and, last I knew, still powered some internal environments we use at work.

  • On Mastodon

    While I haven’t yet left Twitter, I’ve joined many in the #TwitterMigration to Mastodon or, more specifically, Fosstodon. While I appreciate it’s a federated network of nodes - much like IRC of old - I am slightly disappointed I either deleted or let lapse my old mastodon.social account I opened many years ago when it first started going public. Being on that instance is like a badge of honor, but a pointless digital badge, so 🤷‍♂️.

  • Reduce fetch and checkout times in git

    Some repos can be huge, like Azure/azure-sdk-for-net (at the time this was written) due to a number of factors, like history, old binaries, or other large files. A repo could also have a relatively small history but a huge amount of files that take a very long time to check out. You can both reduce the time it takes to fetch such a repo and how long it takes to check out files.

  • git sync any branch

    Sometime ago I blogged about git sync, an alias I created to concisely pull the upstream repo’s main branch, push that branch to my origin fork, and fetch origin branches to determine which branches have been deleted - likely from merged pull requests. As many repos I work in have changed from master to main, not all of them have yet. Some also use trunk which, personally, I like better but is less common than main.

  • Table formatting in GitHub CLI 2.0

    Use table formatting functions in template to get the same great table output as with built-in GitHub CLI commands.

subscribe via RSS