Tag: code
All the articles with the tag "code".
-
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
npm or yarn, the dilemma is always the same, is this a dependency or a dev dependency?
-
Git: How to delete all the merged branches
How to delete all the merged branches.
-
Git: How to get all the changes on a branch
How to get all the changes on a branch.
-
W3C Validation with Gulp
How to validate your code with Gulp