Latest posts
See all posts- Unpacking Node.js Memory - From Raw Bytes to Usable DataExplore how Node.js handles binary data under the hood with a simple guide to ArrayBuffer, TypedArray, and Buffer. Learn how these core concepts work together for efficient file and memory management in Node.
- How to Debug Node with TypeScript in NeovimDebugging Node.js with TypeScript in Neovim can be a bit tricky, a lot of custom setup might be needed to get the basic functionality. This is a guide that will try to cover some of the most important parts. I'll also share some ways I work with it.
- Nesting Rounded Corners in CSSConsistency in rounded corners is something I came upon every now and again. It would really bother me until I found this very neat trick to solve it.
- Intercepting a Fetch RequestA stumbled upon a nice script that helped a lot of people to book a train in Sweden, and got interested in how it works. This is just a quick summary of that.
- Convert a SVG File to PNG and Serve It in ExpressI tend to use SVG:s a lot, however, sometimes I feel like it simpler to render them as PNG:s for some special workflows. This a neat trick to do that in your own API.
- A Simple Hook for React ContextIt is often quite nice to use Context in React, I tend to use this hook to simplify it.