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.
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
* 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.
* TIL: Initiate Config class in Python
I came across anthonywritescode’s Github repository for his twitch-chat-bot which is written in Python. I have not written much Python in my life so maybe this is trivial, but I found it to be a neat little trick anyways.
* Using Go vanity URL with cgit
* 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.