Skip to content

Instantly share code, notes, and snippets.

@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 September 16, 2024 12:34
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
@kralo
kralo / nord-500e-500p-differences.md
Last active March 28, 2024 21:03
NORDAC frequency converter changes/differences in parameters between 5xxE and 5xxP series

There are some subtle differences between Nord frequency converters from the 500e and 500p series. I.e. changing from 530e to NORDAC PRO 550p needs different register. Unfortunately I had no changelog from the manufacturer.

The reference documents are BU 0500 and BU 0600 respectively. I found no good way discerning the models apart from reading the parameter 742 = Data base version.

s= Supervisor
P= Parameter Set dependant
Arr = Array Parameter
V = Simple (V)alue, i.e. word/dblword
@kralo
kralo / channels.xspf
Created October 22, 2023 15:25
Astra 19.2E channels.xspf for Linux DVB-S2 watching with vlc. Created with `w_scan_cpp -fs -sS19E2 -c DE -L -E 0 > channels.xspf`
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/">
<title>DVB Playlist Astra 19.2E 2023-10-22, only free-to-air channels</title>
<creator>w_scan_cpp</creator>
<info>https://gen2vdr.de/wirbel/w_scan_cpp/index2.html</info>
<trackList>
<track>
<trackNum>1</trackNum>
<title>.</title>
<location>dvb-s://frequency=12363000000</location>
@kralo
kralo / rpi-buildskript.sh
Created July 18, 2023 14:22
Build kernel for raspberrypi and archive as tar for easy installation
#!/bin/bash
# inspired by the github-actions build-script https://github.com/raspberrypi/linux/blob/rpi-6.1.y/.github/workflows/kernel-build.yml
# on the pi, can be installed like so # SKIP_BACKUP=1 SKIP_DOWNLOAD=1 rpi-update http://192.168.178.32:8081/bcm2711_arm64_6.1.32-c2251ce04.tar.gz
set -x
name=bcm2711_arm64
arch=arm64
defconfig=bcm2711_defconfig
matrix_defconfig=$defconfig
kernel=kernel8
@kralo
kralo / a_rico_sp230sfnw_printer_scanner_linux.md
Created December 30, 2022 16:59
RICOH SP 230SFNw Printer/Scanner Linux

RICOH SP 230SFNw Printer/Scanner Linux

It's a dream come true! This machine works out of the box on ubuntu 22.10 !

printing works, scanning works!

cups printer

@kralo
kralo / a_gpon_fiber_latency_ftth.md
Last active February 4, 2024 11:26
FTTH GPON Latency and throughput in european residential home networks

Summary

Expect the following latencies to the "first hop":

ADSL         19 ms (depends on interleaving times)
VDSL50       24 ms (without Vectoring, no detail data in this report)
VDSL50        4 ms (with Vectoring)
GPON Fiber  1.5 ms (nearly the same in France & Germany)
COAX Docsis 7.5 ms (line is not stable unfortunately)
@kralo
kralo / a_TetraControl_Live_Web_Callmonitor.md
Created May 11, 2022 07:18
Live Callmonitor for Tetracontrol - Tetra Funkgespräche mit Details (in kleinem always-on-top Windows Fenster anzeigen geht mit Electron)

Live Tetra (Group-)Callmonitor für Tetracontrol

screenshot2

Hiermit lassen sich aktive Gespräche, die von TetraControl erfasst werden, live über Webtechnologien anzeigen.

Sehr hilfreich bei mehreren Funkkreisen und Arbeitsplätzen mit viel Bildschirmplatz, die ein kleines weiteres Fenster anzeigen können.

Es werden bis zu 4 Funkkreise unterstütz, mit Klick auf den blauen Text lassen die sich einfach verstecken/anzeigen.

@kralo
kralo / a_reresolve-dns-windows-powershell.md
Created December 14, 2021 20:47
Wireguard re-resolve dns script for dynamic endpoints (dyndns)

This is a script I use on windows for dynamic DNS endpoints ("servers").

The big upside is that it supports multiple configurations and does not need hard-coded endpoints or "ping-endpoints".

I have tested this in win7 and win10. You might add it to the task scheduler and run this every 3 minutes or so.

Some care has to be taken as to know which user is running the script. The encrypted dpapi-binary file can only be read by the same user that created/saved the tunnels, i.e. \system.