Tag: dev
All the articles with the tag "dev".
Ode to ADRs
Why Architecture Decision Records are one of the most underrated tools in software engineering, and why I start every project with them.
Quick Image Resizing with macOS Automator
Simple Automator Quick Actions to resize images to 25% or 50% directly from Finder's right-click menu.
The Invariant Pattern - Cleaner TypeScript with Assertion Functions
How the invariant pattern can eliminate endless null checks and make your TypeScript code more readable and type-safe.
Managing Default Code Editors on macOS
A simple bash script to quickly switch default file associations when jumping between code editors like VSCode, Cursor, and Windsurf.
Bulk Image Conversion to WebP with a Simple Zsh Function
A practical Zsh function to batch convert images to WebP format with ImageMagick.
Efficient API Polling in Redux RTK Query with EtagCacher
How to build a reusable caching utility that optimises API requests through ETag tracking and smart polling strategies.
Conditionally run GitHub Actions based on PR labels
Enhancing GitHub Actions with conditional job execution, based on PR labels.
Merging Coverage from Jest and Cypress
How to unify unit and E2E test coverage into a single report. Solving inconsistency issues between SWC (Next.js/Jest) and Babel (Cypress).
Dependencies vs devDependencies
When to put an npm package in dependencies vs devDependencies.
Update Ghost blog on Webfaction
How to update a self-hosted Ghost blog on Webfaction.