Tag: dev
All the articles with the tag "dev".
The Invariant Pattern - Cleaner TypeScript with Assertion Functions
Posted on:August 20, 2025How the invariant pattern can eliminate endless null checks and make your TypeScript code more readable and type-safe.
Managing Default Code Editors on macOS
Posted on:August 13, 2025A 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
Posted on:August 8, 2025A practical Zsh function to batch convert images to WebP format with ImageMagick.
Efficient API Polling in Redux RTK Query with EtagCacher
Posted on:March 22, 2024How to build a reusable caching utility that optimises API requests through ETag tracking and smart polling strategies.
Merging Coverage from Jest and Cypress
Posted on:September 19, 2023How to unify unit and E2E test coverage into a single report. Solving inconsistency issues between SWC (Next.js/Jest) and Babel (Cypress).
.dotfiles - one to rule them all
Posted on:February 5, 2017My personal repository to rule all the dotfiles and set up my working environment in a matter of seconds.