Blogs

Mikrotik DHCP to DNS synchronization script

For some reason i fail to understand, the DHCP server shipped with Mikrotik still has no ability to sync its active hostname leases dynamically to the DNS server itself. So this quite basic LAN feature is something every Mikrotik administrator will have to implement themselves using the Mikrotik scripting tools. How this script functions to sync its DHCP to DNS hostnames is heavily on the work from Daniel Aleksandersen at https://www.ctrl.blog/entry/routeros-dhcp-lease-script.html. I recommend reading it for a explanation for why the script is written in this more way.

Read more →

August 9, 2025

Migrate Your Existing Matrix Account, The Harder but Safe Way!

I love migrating my federated accounts on Mastodon, i have done so multiple times in my years using it. Its painless, its easy, and everything is done for me. Its like magic! So today I decided to also migrate my federated Matrix away from matrix.org, should be just as easy right? From a quick search online, there exists a preexisting solution called EMS Matrix Migration which should work similar to the migration of a mastodon account. But, how they achieve this is by logging into your previous and new account and then running a bunch of commands on your behalf. I do not particularly trust this method, since this would be giving away your password to a third party for a secure messenger protocol! How this is the “official way” is just baffling me. Also there not being an integrated way to do this in Element either, its only available in the paid and proprietary EMS toolbox. So to hell with this solution, lets just do it ourselves. How hard could that be?

Read more →

October 8, 2024

Using Chromium to replace Electron Applications

I’m guessing you run quite a few electron applications on your computer. Its the modern trend of development of desktop application these days. And I don’t like it. The idea of Electron is flawed. Where each program packages an entire chromium engine with some extra JavaScript that allows you see and manipulate almost anything on your computer. Also if you run multiple electron based apps, each one of them will start up a completely new chromium engine just to handle that one application. On slower systems this can become a real resource hog.

Read more →

March 22, 2021