Recent Posts
Create Linux User With Live CD
Today i had to fix a linux laptop, that did not boot correctly, and where i did not know the password of.
The graphical user interface did not came up because of a full ssd. This i did not know yet when i got the laptop. I figured that it would be easiest to login on the system to have easy access to journalctl etc.
So i created a user from a live linux CD called GRML.
read more
Nimja
Nimja is a compiled, type safe and fast templating engine written in Nim. It looks like python’s jinja2 or PHP’s twig, but in contrast to them, it is fully compiled and type safe, since it compiles down to Nim. All the heavy lifting is done on compile time, and the resulting binary contains idiomatic Nim that is very fast on runtime.
# nimble install nimja import nimja proc renderStuff(): string = compileTemplateStr(""" {% extends partials/_master.
read more
Wireguard Linux Shadowed Endpoint
I create wireguard configurations for ~120 users via a small nim application. Its easy and works beautifully on windows and macos with the official wireguard client for those platforms.
The same config, does not work on linux.
When enabled it basically broke my network.
The issue was that i added a whole subnet to the AllowedIPs that also contained the endpoint’s ip. Interestingly this worked on windows and macos but not on linux.
read more