Monthly Archives: March, 2022
JavaScript
Chrome devtools: Using logpoints for logging messages directly
When it comes to debugging JavaScript in Chrome devtools, there are two different camps: the console.log fans and the debugger/breakpoint maximalist. I...
JavaScript
How to prevent npm install for unsupported Node.js versions
npm configurations allow us to do quite a lot of nifty things. One of them is to allow the project to set...
Development
How to terminate a process on a port using the command line
Zombie processes are usually a pain to figure out. More often than not, I end up googling about how to terminate a...
JavaScript
Detecting dark mode preference using JavaScript
As dark themes have become popular across the web and across operating systems, we might want to check the user's operating system...