Skip to content

Instantly share code, notes, and snippets.

View xrstf's full-sized avatar

Christoph Mewes xrstf

View GitHub Profile
@xrstf
xrstf / report.md
Created September 28, 2026 15:23
local-setup-bare-bones timing

local-setup2 timing report

  • run: 20260928-171306
  • label: test1
  • status: ok
  • host: Linux x86_64
  • git: fd2f2e5c
@xrstf
xrstf / report.md
Created September 28, 2026 14:49
pinned-version report

local-setup timing report

  • run: 20260928-163813
  • label: pinned
  • status: ok
  • host: Linux x86_64
  • git: 09d01d7a
  • args: ``
@xrstf
xrstf / cluster.tsv
Created September 28, 2026 14:29
local-setup timing
kind object created ready seconds
Repository platform-mesh-system/platform-mesh 2026-09-28T12:53:48Z 2026-09-28T12:54:24Z 36
Component platform-mesh-system/platform-mesh 2026-09-28T12:53:48Z 2026-09-28T12:54:24Z 36
Resource platform-mesh-system/account-operator-chart 2026-09-28T12:54:41Z 2026-09-28T12:54:51Z 10
Resource platform-mesh-system/account-operator-image 2026-09-28T12:54:41Z 2026-09-28T12:54:48Z 7
Resource platform-mesh-system/busybox-image 2026-09-28T12:54:41Z 2026-09-28T12:54:44Z 3
Resource platform-mesh-system/cert-manager 2026-09-28T12:54:41Z 2026-09-28T12:54:42Z 1
Resource platform-mesh-system/cert-manager-cainjector-image 2026-09-28T12:54:41Z 2026-09-28T12:54:42Z 1
Resource platform-mesh-system/cert-manager-controller-image 2026-09-28T12:54:41Z 2026-09-28T12:54:42Z 1
Resource platform-mesh-system/cert-manager-webhook-image 2026-09-28T12:54:41Z 2026-09-28T12:54:42Z 1
@xrstf
xrstf / findings.md
Created September 21, 2026 14:58
PM arch

Platform Mesh Operator Findings

This document summarizes what the platform-mesh-operator currently does, based on a careful read-through of the code in:

  • /home/xrstf/gospace/src/github.com/platform-mesh/platform-mesh/main/operators/platform-mesh-operator

The focus is on the operator's actual responsibilities today, especially the glue it provides between installed charts/components.


@xrstf
xrstf / release-notes.md
Created September 21, 2026 14:41
PM 0.5.2 notes

Platform Mesh 0.5.2

This release of Platform Mesh includes updates to multiple components.

Summary

This release includes 19 component update(s), including 1 with breaking changes 🔥.

Contributors

@xrstf
xrstf / userscript.js
Created August 23, 2026 11:38
YouTube timestamp recorder
// ==UserScript==
// @name YouTube Timestamp Logger
// @namespace local
// @version 1.3
// @description Press F8 on YouTube to save the current video ID and timestamp.
// @match https://www.youtube.com/*
// @grant GM.getValue
// @grant GM.setValue
// ==/UserScript==
@xrstf
xrstf / post.md
Created July 31, 2026 10:46
AI has turned me into a Junior developer.

It's early 2026. I had resisted the AI hype for a long time, but ultimately in January the perfect storm of customers and employers wanting AI to be used came true and so I caved in and installed Claude Code.

To get my feet wet, I first begun using Claude to build a small static personal web project, since Lord knows, I do not want to touch frontend development with a 10ft pole. And to be honest, it was amazing. Claude enabled me to realize my dream project that had been dormant since 2020. To type "can we make the logo a bit larger and move it to the center", press return and then see the website change within a few seconds was mindblowing. Within a few weeks and many, many brief Claude chats later, I have my project done and pushed it live. Bliss. A feeling of infinite possibilities, as if all blockers are now just an exercise in prompting an LLM correctly. Whether it's a testament to modern web development that I need an AI to center an image is a different question. :)

In parallel, AI made its way int

@xrstf
xrstf / with-sound.sh
Created August 12, 2025 20:28
play sounds depending on the exit code
#!/usr/bin/env bash
set +o errexit
"${@}"
EXIT_CODE=${?}
set -o errexit
SOUNDS_DIR="$HOME/bin/sounds"
SUCCESS_SOUND="yay-6120.mp3" # https://pixabay.com/sound-effects/yay-6120/
ERROR_SOUND="error-126627.mp3" # https://pixabay.com/sound-effects/error-126627/
@xrstf
xrstf / fix.md
Created July 19, 2025 12:42
Fix Windows filesystem permissions

Language Note

/D takes the localized values for yes/no, i.e. on a German system you need to give J or N.

Do it

Open a terminal with elevated privileges. Then run:

takeown /R /D J /F .
package main
import (
"context"
"log"
"time"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime"