Dev

Five-minute fixes for cleaner code.

  • The 80/20 Guide to Git's 'Reflog'-Undo Anything Without Fear

    A practical, story-driven crash-course on `git reflog`. Learn the handful of commands that rescue 80% of real-world mistakes in under a minute.
  • My Site Got Hijacked

    My site (this one), started serving weird stuff and I didn’t know why.

  • x86 Python on M1 Macbooks

    This is a very niche post. But if you happen to need an pyenv-managed, x86-version of Python installed on your Apple M1 Macbook, then you can follow these steps. It’s super simple once you know what approach to take. Figuring out the simplest approach was the hard part.

  • Clean Up Your Git History with .mailmap

    Learn how to use Git's built-in `.mailmap` file to fix wrong author names and email addresses and keep your contributors list tidy.
  • Makefiles Make Life Hard

    As a software engineer, part of your role is to reduce complexity. The more you need to juggle in your head, the worse the solution. Being a “clever” coder that likes to show off your mental acrobatics is bad for long term maintainability.

  • Everything Has Cracks

    Technology looks good until you look closely. You can only see the cracks when you look closely. I noticed GitHub Pages’ first potential issue.

  • Local GitHub Pages

    If you’re new to the Ruby ecosystem, testing GitHub Pages locally may feel a bit strange.

  • Writing Workflow with Obsidian and GitHub Pages

    My writing workflow is purpose‑built for speed and clarity. Here’s the exact writing workflow I use to turn raw notes in Obsidian into polished articles served by Jekyll on GitHub Pages.

  • Discovering Git Word Diff

    When I use git diff, I want short diffs of what changed. When you are changing written content, that often includes paragraphs of text, the format of the saved file is quite important.