Skip to content

Instantly share code, notes, and snippets.

View vroomfondel's full-sized avatar

Henning Thieß vroomfondel

View GitHub Profile
@vroomfondel
vroomfondel / flickr-immich-k8s-sync-operator_clone_history.json
Last active April 2, 2026 02:54
flickr-immich-k8s-sync-operator clone tracking
{
"2026-01-19 00:00:00+00:00": {
"count": 0,
"uniques": 0
},
"2026-01-20 00:00:00+00:00": {
"count": 0,
"uniques": 0
},
"2026-01-21 00:00:00+00:00": {
@vroomfondel
vroomfondel / update_local_k3s_keys.py
Created January 31, 2026 12:19
Compare and update K3s kubeconfig credentials
#!/usr/bin/env python3
"""
Script to compare K3s kubeconfig from remote server with local ~/.kube/config
and optionally update local credentials for a specific context.
"""
import argparse
import subprocess
import sys
from pathlib import Path
@vroomfondel
vroomfondel / envsubst.sh
Last active January 23, 2026 14:37
envsubst implementation in pure bash
#!/bin/bash
# Pure Bash implementation of envsubst.
# Usage: ./envsubst.sh [SHELL-FORMAT]
# self-ref
# https://gist.githubusercontent.com/vroomfondel/7ef185d8d6d726fdf720ad0f4ef23619/raw/envsubst.sh
# per curl with cache-busting query-arg
# curl -L https://gist.githubusercontent.com/vroomfondel/7ef185d8d6d726fdf720ad0f4ef23619/raw/envsubst.sh?cache_bust=$(date +%s)
{"schemaVersion": 1, "label": "Clones", "message": "811", "color": "blue", "namedLogo": "github", "logoColor": "white"}
{"schemaVersion": 1, "label": "Clones", "message": "779", "color": "blue", "namedLogo": "github", "logoColor": "white"}
{"schemaVersion": 1, "label": "Clones", "message": "703", "color": "blue", "namedLogo": "github", "logoColor": "white"}
{"schemaVersion": 1, "label": "Clones", "message": "721", "color": "blue", "namedLogo": "github", "logoColor": "white"}
{"schemaVersion": 1, "label": "Clones", "message": "853", "color": "blue", "namedLogo": "github", "logoColor": "white"}
@vroomfondel
vroomfondel / somestuff_clone_count.json
Last active April 2, 2026 01:54
somestuff badge count
{"schemaVersion": 1, "label": "Clones", "message": "2427", "color": "blue", "namedLogo": "github", "logoColor": "white"}
@vroomfondel
vroomfondel / micropysensorbase_clone_count.json
Last active April 2, 2026 01:52
micropysensorbase clonce count
{"schemaVersion": 1, "label": "Clones", "message": "736", "color": "blue", "namedLogo": "github", "logoColor": "white"}