claw0ry.net

Hi, my name is Mads! *waves*

I'm a developer and Linux enthusiast from Norway. I mainly use this site as a personal reference, cause my brain too smol. Maybe you'll find something interesting too.

  • I grew up on the internet with Linux and open source in the early 2000s.
  • I believe the tech world has become to overengineered, abstracted and complicated.
  • I'm always searching for a deeper knowledge on how things work.

Bluesky: claw0ry.net


* Format JSON with Python (oneliner)

I’m experimenting with getting by without Language Server Protocol (LSP), and today I came a accross a large JSON file that was compressed into a single line. As I usually do I typed <leader>+f to make the LSP format the file.. I soon realized that I had to find another way without my LSP.

Read more »


* Convert SVG to PNG

Today I was going to pick-up an order and to my dissapointment the store sent me a QR-code that I needed to bring for them to hand out my order. Usually you get a simple code. For most people this is not a problem tho, but I have started to use a dumbphone. So, then I have to bring my smartphone (which has no internet access on the go) with the QR as an image. An important details is that the image was in SVG format. To my surprise my smartphone (a Pixel 8a) does not support displaying SVG images locally, so I had to convert it to PNG.

Read more »



* Using Go vanity URL with cgit

This year I wanted to experiment with moving away from Github (and other cloud based VCS). So I setup my own server with git, cgit as the interface and nginx as the web server. The basic setup was fairly easy.

Read more »


* cgit: Idle has no value

I decided to brush-up on my cgit setup today and I realized that the ‘idle’ column had no data for non of my repositories. There’s a reason for this that might not be obvious for many people.

Read more »