Skip to content

Instantly share code, notes, and snippets.

View FlorianHeigl's full-sized avatar

Florian Heigl FlorianHeigl

View GitHub Profile
@FlorianHeigl
FlorianHeigl / notes.txt
Last active October 30, 2025 21:58
reality check, revive, xen alpine cubietruck2
startsituation, altes alpine setup, fehlendes modloop.
aktuell bekommen und dann strip down wg. RAM
u-boot tricks mitnehmen und fuer mips benutzen
rpi kernel bootet nicht auf cubietruck
problem war wohl u.a. dass ich mit kernelupdate das NAND nicht mehr hatte
jahre spaeter beim versuch, das auf aktuelles alpine zu ziehen versehentlich noch die packages geloescht
dann schritt fuer schritt reparatur
(tarball auspacken, apk.static, 3.20 packages)
@FlorianHeigl
FlorianHeigl / 00-warum.md
Last active September 7, 2025 20:24
covid symptom fragebogen zur zuordnung passender Tests

Aktuell gibt es keine Uebersicht fuer Patienten, welche Tests sie verfolgen sollten, um bestimmte Symptome fach-medizinisch zu untersuchen und insbesondere Ausschlusskriterien abzuarbeiten.

Diese Notizen sollen dazu einladen, solche Tests zu benennen. Es ist angeraten, bestimmte Quellen mit anzugegen ("der mensch X da hat dort in Text mit Titel Y fuer A ist, und er hat ueber das Ergebnis berichtet (ja/nein)")

Ziele sind:

  • Symptome med. belegen
  • Aktive Ermittlung von behandelbaren Symptomen, egal wie schwach oder unwichtig sie sind
  • Bestmoegliche Differenzierung, um durch andere Krankheiten ausgeloeste Symptome zu erkennen
@FlorianHeigl
FlorianHeigl / setscript.txt
Last active August 31, 2025 22:36
tailscale stun servers for junos
i=1 ; while [ $i -lt 29 ]; do
echo "\
set security zones security-zone untrust address-book address tsderp${i} derp${i}-all.tailscale.com
set security zones security-zone untrust address-book address-set ts-stun address tsderp${i}"
i=$(( $i + 1 ))
done
__Safe sollten sein: 0 und 1__
# HMB on/off can be done in windows registry on this key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorPort
DWORD - HMBAllocationPolicy (values: 0 = off,1 = 8MB buffer,2= 64MB buffer, 3 = firmware controled buffer size)
(per https://forums.tomshardware.com/threads/host-buffer-memory-hbm.3793910/)
neuere Windows bis 1GB je nach RAM Ausbau
autotuning hier erklaert https://community.wd.com/t/windows-24h2-wd-blue-screens/297867/144
@FlorianHeigl
FlorianHeigl / config
Last active August 25, 2025 05:48
oxidized config with netbox api as router.db backend
---
username: root
password: unused
rest: 0.0.0.0:8888
debug: false
input:
default: ssh
ssh:
secure: false
source:
@FlorianHeigl
FlorianHeigl / UPGRAYEDD
Last active August 18, 2025 02:03
State of "Enterprise" Linux in 2025
Upgrading : linux-firmware-core-999:20250611-999.41.git356f06bf.el9.noarch 46/128
Upgrading : filesystem-3.16-5.el9.x86_64 47/128
Error unpacking rpm package filesystem-3.16-5.el9.x86_64
Upgrading : dracut-057-88.git20250311.0.1.el9_6.x86_64 48/128
error: unpacking of archive failed on file /mnt: cpio: chown failed - Device or resource busy
error: filesystem-3.16-5.el9.x86_64: install failed
Upgrading : dracut-network-057-88.git20250311.0.1.el9_6.x86_64 49/128
Upgrading : dracut-squash-057-88.git20250311.0.1.el9_6.x86_64
[...]
@FlorianHeigl
FlorianHeigl / srsly
Created August 6, 2025 21:31
get another job
```
[root@cnetbox ~]# nmcli con mod connection.id "Wired connection 2" eth2
Error: unknown connection 'connection.id'.
[root@cnetbox ~]# nmcli con mod "Wired connection 2" connection.id eth2
Warning: There is another connection with the name 'eth2'. Reference the connection by its uuid '701fb10e-1bc4-3e57-afed-70ab1bb32db0'
[root@cnetbox ~]# nmcli con delete eth2
Connection 'eth2' (01dea749-cf7b-4a9d-b8e7-2e9d6952f75e) successfully deleted.
Connection 'eth2' (701fb10e-1bc4-3e57-afed-70ab1bb32db0) successfully deleted.
[root@cnetbox ~]# nmcli con show
NAME UUID TYPE DEVICE
@FlorianHeigl
FlorianHeigl / cn7322.dts
Last active July 23, 2025 13:28
Cavium LiquidIO II / CN2360, NIC225E, CN7322 Device Tree
/dts-v1/;
/ {
#address-cells = < 0x02 >;
#size-cells = < 0x02 >;
compatible = "cavium,nic225e";
interrupt-parent = < 0x01 >;
model = "cavium,nic225e";
memory {
@FlorianHeigl
FlorianHeigl / bin_sd_clean.sh
Last active June 17, 2025 08:17
sd_clean.sh bullion sd card reformat
#!/bin/sh
#default case assumes interactive mode
interactive=1
#default case assumes no SD card wiping. Only cleaning
wipesdcard=0
#if included argumement is n or N then disable interactive mode
if [ "$1" == "n" ] || [ "$1" == "N" ]; then
interactive=0