Archive

2025

  1. Hype

    If you fear you might get caught up in the hype, this post might be for you.

2023

  1. SvelteKit: A static site without admin

    Build a static site, but have an admin panel too.

  2. The Token Limit

    A reminder that what we consider the norm today is not going to be the norm of tomorrow.

2022

  1. Constructors should construct

    Rule of thumb - keep your constructors pure.

  2. Sourcemaps in SvelteKit

    How to enable CSS Sourcemap in SvelteKit

  3. Starting a channel

    I'm starting a YouTube channel and this is going to be my secret sauce.

  4. Show Up

    I went from dismissing habit tracking to building a habit tracker.

  5. What. How. Why.

    As you write code, explain the why and not the how or what. Your future self is going to thank you.

  6. Push notifications from the CLI

    Sometimes tasks take a long time. There's an easy way to create a CLI helper to send push notifications when they're done.

  7. Dark Mode Toggle

    How I built a color scheme toggle using Svelte in Astro.

  8. Short

    Writing with simplicity in mind is liberating. It's actually possible to do more with less.

  9. ZX

    You should write scripts more, but can't be bothered learning bash? Take your terminal back with `zx`.

  10. Simplify

    Every line of code increases the complexity of a project, which in turn, decreases the overall velocity. How to we maintain velocity?

  11. Show your work!

    Work in public. Document - don't create.

  12. Package Driven Development

    Pluggable systems are everywhere you look. Learn from the success around you and apply the principle to your projects right now.

  13. Socket Tunnels

    Make SSH Tunnels even better by assigning them to a socket file.

  14. The Pattern Zoo

    Concrete examples are important for learning, but many sources are missing good real-world design pattern examples.

  15. Begin Again

    My struggle with perfectionism lead me to work in silence and publish nothing for years. It's time to start for a blank slate.

2020

  1. is_front_page() vs is_home()

  2. Writing is hard

  3. Auto-start multiple iTerm2 Sessions

  4. PHP comparison operator precedence and inequality

2019

  1. WP CLI: Add/Update Users in Multisite

2018

  1. How to dynamically enable Gutenberg

    There is an easy way to enable/disable the new WordPress Block Editor (Gutenberg) using good old filters.

  2. Removing difficult WordPress Actions

2012

  1. Get Attachment ID from media_sideload_image()

  2. Dashes and Underscores in Variables - SASS

    A quick tip about dashes and underscores in SASS variables

2011

  1. How to clean an URL with Regex

    A regex pattern to fix 1st level domains. Useful for when data is submitted from users.