Skip to content

Instantly share code, notes, and snippets.

View FlorianHeigl's full-sized avatar

Florian Heigl FlorianHeigl

View GitHub Profile
@FlorianHeigl
FlorianHeigl / vhosts-dtc.conf
Last active September 22, 2026 10:25
mod macro migrate off dtc
# just a snippet before I flip it over to normal hosting now
# before it's too late to show it for others who fell into the trap
# old config snippet
<VirtualHost *:443>
ServerName dtc.wartungsfenster.de
ServerAlias mx.wartungsfenster.de www.wartungsfenster.de
Use macro-dtcconf dtc wartungsfenster.de
Use macro-sslconf dtc.wartungsfenster.de
@FlorianHeigl
FlorianHeigl / errorhandler.bash
Last active September 20, 2026 12:52
shell traceback, errorhandling, similar examples
#!/bin/bash
trap 'rc=$?; echo "ERR at line ${LINENO} (rc: $rc)"; exit $rc' ERR
trap 'rc=$?; echo "EXIT (rc: $rc)"; exit $rc' EXIT
set -u
set -E # export trap to functions
cmd(){
echo "args=$*"
echo ${UNSET_VAR}
echo hello
@FlorianHeigl
FlorianHeigl / main.c
Created August 16, 2026 19:23 — forked from Ncerzzk/main.c
cv1800b test camera VI/VENC with gc2083
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "cvi_mipi.h"
#include "cvi_sns_ctrl.h"
#include <linux/cvi_defines.h>
#include <linux/cvi_common.h>

User: Please investigate calcium intake blockers with regard to:

long covid/post covid and ME/CFS related mithochondrial calcification or eye calcification indications, studies

what diagnosis they are normally prescribed for (on-label) Afterwards, investigate if some of the prescription diagnosis for the blockers are overlapping with symptoms of MCAS or POTS

gemma4:31b: The user is asking for an investigation into "calcium intake blockers" (likely referring to calcium channel blockers - CCBs).

@FlorianHeigl
FlorianHeigl / console.txt
Created July 16, 2026 00:53
stale tcpdump binary
vpn-drone-ifz-osb:~# apk add tcpdump
(1/2) Installing libpcap (1.10.5-r1)
(2/2) Installing tcpdump (4.99.5-r1)
Executing busybox-1.37.0-r30.trigger
OK: 683.2 MiB in 234 packages
vpn-drone-ifz-osb:~# tcpdump
Error loading shared library libcrypto.so.1.1: No such file or directory (needed by /usr/sbin/tcpdump)
Error relocating /usr/sbin/tcpdump: EVP_CipherInit_ex: symbol not found
Error relocating /usr/sbin/tcpdump: EVP_CIPHER_CTX_block_size: symbol not found
Error relocating /usr/sbin/tcpdump: MD5_Final: symbol not found
@FlorianHeigl
FlorianHeigl / dmesg.md
Created July 6, 2026 22:40
sfx-nvme: Exceed physical capacity limitation (suspected overheat)
[  151.070054] Hardware name: LENOVO System x3650 M5: -[8871AC1]-/01GR174, BIOS -[TCE156A-3.70]- 04/14/2022
[  151.070057] RIP: 0010:mark_buffer_dirty+0xd8/0xf0
[  151.070064] Code: 48 85 c0 74 2c 48 89 c6 48 89 df 31 d2 e8 80 fe ff ff 48 89 df e8 58 9a f9 ff 48 8b 7d 00 5b be 04 00 00 00 5d e9 48 3b ff ff <0f> 0b e9 34 ff ff ff 48 89 df eb bb 66 66 2e 0f 1f 84 00 00 00 00
[  151.070070] RSP: 0018:ffffb635f04a3cc8 EFLAGS: 00010246
[  151.070075] RAX: ffff95c29f7c92d8 RBX: ffff95c29f7c92d8 RCX: ffff95c2b9ea7b40
[  151.070078] RDX: ffff95b417d5f000 RSI: ffff95c2b9ea71e0 RDI: ffff95c29f7c92d8
[  151.070081] RBP: ffff95c29f7c92d8 R08: 0000000000000000 R09: 0000000000000010
[  151.070084] R10: 0000000000000228 R11: 0000000000000000 R12: ffff95c29f7c92d8
[  151.070087] R13: ffff95c2b9ea7000 R14: ffff95b417d5f3a8 R15: ffff95b417d5f000
@FlorianHeigl
FlorianHeigl / gitlab-ci.yml
Created May 7, 2026 20:12
gitlab-ci-local apt caching, ccache caching
---
stages:
- bootstrap
default:
image: ubuntu:22.04
tags:
- docker
variables:
# FORCE_UNSAFE_CONFIGURE: 1
HTTP_PROXY: http://proxy:3128
@FlorianHeigl
FlorianHeigl / liovswgogo.sh
Created April 29, 2026 22:33
liquidio-II openvswitch kernel module and env init
modprobe liquidio fw_type=vsw
echo 50 > /sys/bus/pci/devices/0000:01:00.0/sriov_numvfs
echo 50 > /sys/bus/pci/devices/0000:01:00.1/sriov_numvfs
PF0=eth0
PF1=eth1
LIO_BOND_MGMT=lio-bond-mgmt
LIO_MACVLAN_PF0=lio-mcvlan0
LIO_MACVLAN_PF1=lio-mcvlan1
@FlorianHeigl
FlorianHeigl / octsftpinfo
Created April 28, 2026 08:39
octeon 25g link failure
Octeon nic225e=> octsfpinfo octeth0
Reading SFP/SFP+ EEPROM at 0x0:0x50
Copper Pigtail SFP/SFP+/SFP28 25GBase-CR CA-S module detected
Vendor: FS
Vendor OUI: 00:02:C9
Vendor part number: S28-PC01 Revision: 01
Manufacturing date code: 201207
Rate: 25G
Copper cable type: Passive
Cable length: 1 meters
chris cappy
https://www.youtube.com/watch?v=VnsGUJak0gY&t=17s
fortress belt - fortreszh belt (mild slurring)
https://www.youtube.com/watch?v=VnsGUJak0gY&t=49s
stretchech? (mind you, native speaker, though this is tiny and also often with people who just aren't there at the moment or who smoke too much pot)
https://youtu.be/VnsGUJak0gY?si=u6ALDy4Iwh7jkFL2&t=95