Skip to content

Instantly share code, notes, and snippets.

@kralo
kralo / ubiquiti-unifi-offline-but-configure-gateway-arp-spamming.md
Created February 9, 2026 10:16
ubiquiti unifi : why you should always configure a (reachable) gateway + dns (even if it doesn't route traffic)!

Reducing WiFi ARP Requests

Ubiquiti unifi : why you should always configure a (reachable) gateway + dns (even if it doesn't route traffic)!

So you already know that multicast traffic is slowing down your wifi?!

And you're using your unify APs "offline", that is, they have no planned internet connection?

You must configure Gateway and DNS IPs in your APs that are reachable in the local lan.

@kralo
kralo / ora-inst12.2_diag.md
Created January 12, 2026 08:26
Oracle Instantclient 12.2 enable diagnosis

If you have the instantclient "installed" and want to enable some diagnostic debug output, in the same folder as your tnsnames.ora create a file sqlnet.ora

echo %TNS_ADMIN%
c:\oracle\network\admin\

file contents (remove comment to make active):

@kralo
kralo / state_of_qrcodes_debian_trixie.md
Created August 10, 2025 18:22
The (sad?) state of QRCodes in Debian 13/Trixie

Generate QRCode

The debian 13.0 default/gnome live dvd,

  • can generate simple QRCodes in Libreoffice ("From the menu bar: Choose Insert - OLE Object - QR and Barcode.")

qrencode

Although libqrencode4 is installed, it is missing qrencode by default.

qrencode works nicely and supports creating linked/sequenced QRCodes, i.e. "structured Append".

@kralo
kralo / archiv-der-klarna-festgeld-zinsen.md
Created June 18, 2025 16:18
archiv-der-klarna-festgeld-zinsen.md

Klarna Festgeld zu verschiedenen Zeitpunkten

2025-06-18:

Screenshot 2025-06-18 at 18-16-24 Klarna Festgeld Ein sicherer Ort um dein Geld wachsen zu lassen

@kralo
kralo / latency_speed_comparison_linux.md
Created March 18, 2025 20:17
Latency and Speed Comparisons; Local Loop Networking in Linux

In 2025, can you max out a 10 Gbps Link on the local Network? What do you need?
-> fast PCIe Ports with >= x4 Lanes.

I set out to test this.

TL;DR: the 1000Base-T is astonishingly very well optimized, has very small latency, 10G is not going to change much.

The 100M and 1G Tests were performed on the same machine, via loopback cable/fiber and all tests without a router.

It is not so common to be able to assign the same IP Subnet to different Interfaces on the same machine, but go see this excellent guide.

@kralo
kralo / buhl-a-tax-2025-with-wine_readme.md
Created December 30, 2024 16:29
Aldi Steuer 2024 (Buhl Tax), compile instructions for patched wine

( also called "Aldi Steuer 2024").

Compile patched Wine Version to work with Steuer 2024

On Ubuntu Linux 24.04:

sudo apt build-dep wine
git clone https://gitlab.winehq.org/wine/wine.git
cd wine
@kralo
kralo / teltonika_readout_pass.telekom.de_display.md
Last active November 20, 2025 15:13
Readout pass.telekom.de usage data locally on LTE connected teltonika router

(tested with rutx11). modified 2025-11 because the router OS doesn't let you put files in the webroot anymore.

Sometimes you want to know how much data your field router has already consumed on a mobile link. T-Mobile (Telekom Deutschland) provides pass.telekom.de as status page and has a handy json output.

If you reach your teltonika remotely, you can periodically fetch the site to produce output like:

Wed Nov 27 17:32:13 CET 2024
@kralo
kralo / monatlich_variable_stromtarife.md
Created September 5, 2024 16:23
Liste von zeit-variablen Stromtarifen (ohne Smart Meter, monatlich variabel, an Börsenpreis orientiert)

Intro

Da die Google-Suche leider ziemlich kaputt ist, wenn man nach Stromtarifen für Privathaushalte ohne Smart Meter sucht, hier eine Liste. Im Allgemeinen ist die Bezeichnung "dynamischer Stromtarif" verbunden mit einer Stunden-scharfen Messung, die idR nur mit Smart Meter oder auch Intelligentem Messystem iMsys, gelingen kann.

Jedoch gibt es auch Sparpotenzial mit einem ganz doofen Zähler, bei dem sich der Arbeitspreis einfach monatlich ändern kann (und bei dem sich die Zuordnung, wie "früher" auch, am Standardlastprofil über den Tag orientiert).

Tarife (Stand Sept 2024)

(alle Tarife als Beispiel berechnet für 60311 Frankfurt und 2000kWh, das ist in etwa ein Mittel aus 1- und 2-Personen Haushalt).

@kralo
kralo / ubuntu-24.04-knowledgebase.md
Last active April 12, 2024 09:05
ubuntu-24.04-knowledgebase

Obsolete, fresh ubuntu 24.04 should work out of the box with gnome-remote-desktop: 46.0-2.

If you enabled gnome-remote-desktop in ubuntu 24.04 (ubuntu noble nombat), and cannot connect and see these errors in journalctl

gnome-remote-desktop-daemon[2650]: [22:04:03:071] [2650:4874] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
gnome-remote-desktop-daemon[2650]: [22:04:03:172] [2650:4874] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313]
gnome-remote-desktop-daemon[2650]: [22:04:03:172] [2650:4874] [ERROR][com.winpr.sspi.NTLM] - Message Integrity Check (MIC) verification failed!
gnome-remote-desktop-daemon[2650]: [22:04:03:172] [2650:4874] [WARN][com.winpr.sspi] - CompleteAuthToken status SEC_E_MESSAGE_ALTERED [0x8009030F]
@kralo
kralo / ubuntu-24.04-disable-snap-install-firefox.sh
Last active November 1, 2025 20:32
completely disable/uninstall snap on ubuntu 24.04 (ubuntu noble numbat) and install firefox from .deb only
#!/bin/bash
# completely disable/uninstall snap on ubuntu 24.04 (ubuntu noble numbat) and install firefox from .deb only
sudo snap remove --purge firefox
sudo snap remove --purge snap-store
sudo snap remove --purge gnome-42-2204
sudo snap remove --purge gtk-common-themes
sudo snap remove --purge snapd-desktop-integration
sudo snap remove --purge bare
sudo snap remove --purge firmware-updater