deno: The node API is the standard library

February 16, 2026denonode

One of the things I've always struggled with in deno was that fact almost every time you wanted to do something non trivial you end up having to import from the @std module. This used to be hosted on deno.land but now it have moved to jsr. This always felt like a poor solution to the standard library problem to me. As soon as I have to import from @std I at least need a deno.json file. This discouraged me from writing all but the simplest scripts in deno.

Now with version 2.0 the node compatibility has gotten so good that I just always reach for the node APIs. I don't have to create an extra deno.json file and I can get on with the task at hand.

Cherry picking only certain files from one branch to another

May 21, 2025gitbash

At work I had a branch with a large amount of updated VRT (Visual Regressen Tests) (.png) files and this made the review process in GitLab near impossible. To make the Merge Request reviewable I wanted to rebase the branch into 2 commits. The first one containing just the code chages and the second one containing all the updated VRT(s).

Continue reading "Cherry picking only certain files from one branch to another"

Use VSCode to remove comments with regex

January 20, 2025vscoderegex

In you need to remove multiline comments (/* Comment */) from files in VSCode here is an easy regex to help you find them:

\/\*\*([\s\S\n]+?)\*\/

Debian 12: WiFi missing after installing update

It finally happened to me. The other night after installing an update from debain bookworm and restarting my WiFi was no longer working. On the desktop there was no longer a signal strength indicator and my browser informed me I was disconnected from the internet.

So I plugged in an ethernet cable and got started researching. After 2 minutes of searching I had the answer. I used nmcli (network manager cli) to see the state of my network devices. On my WiFi adapter there was an error plugin missing. Simply reinstalling network-manager with sudo apt reinstall network-manager fixed the problem and I could use my WiFi again.

Installing debian on a Lenovo ThinkCentre M715q

August 31, 2024linuxdebianlenovo

I recently purchased a Lenovo ThinkCentre M715q and wanted to install debian on it but after starting the installer the screen was completely corrupted. This forum post provided the solution. I had to press tab and add vga=normal fb=false to the boot string. After that the installer was displayed normally.