Development

Generating a QR code using Node.js

I was preparing a slide deck for a hackathon and decided to put in a QR code to allow people…

6 months ago

How to clear the global npx cache

I have been using npx a lot lately, especially whenever I want to use a CLI tool. It is an…

6 months ago

Copy/Pasting output from the terminal

Manually copy-pasting the output of a terminal command with a mouse/trackpad feels tedious. It is more convenient to use commands…

7 months ago

How To Get The Hash of A File In Node.js

While working on a project, I wanted to do an integrity check of a file that I was referencing. So,…

8 months ago

Native popover API in HTML

Popovers have been a problem that was typically solved by using a third-party solution. But that is no longer the…

8 months ago

Node.js 20.6 adds built-in support for .env files

Node.js 20.6 added built-in support for the .env file. This is an excellent addition to the platform and gives us the ability…

8 months ago

Object destructuring in TypeScript

Object destructuring is a powerful ES 6 feature that can help developers write cleaner code. It allows us to extract…

9 months ago

Improve git clone performance in a CI pipeline

Have you felt particularly annoyed by the time it takes to clone a large repository, especially one with a huge…

9 months ago

Fix: Hydration failed because the initial UI does not match what was rendered on the server

Within a React or Next.js app, if you encounter the error "Hydration failed because the initial UI does not match…

9 months ago

How to keep the screen awake using JavaScript

Some new features in JavaScript are great to see, and the wake lock API is one of those. It allows…

9 months ago
Advertisements