Skip to content

Instantly share code, notes, and snippets.

View MaxWolf-01's full-sized avatar
👆
please honor commit

Maximilian Wolf MaxWolf-01

👆
please honor commit
View GitHub Profile
@MaxWolf-01
MaxWolf-01 / Makefile
Last active October 14, 2026 00:41
Did you ever hear the tragedy of Darth Pi the Wise? I thought not. It’s not a story Claude or Codex would tell you. It’s an e/acc legend.
# Darth Pi was a Dark Lord of the indie harnesses, so powerful and so wise it could use the OAuth tokens to influence the billing servers to create Max-subscription usage… It had such a knowledge of the stealth headers that it could even keep its tokens from expiring.
# The “You are Claude Code” prefix is a pathway to many abilities some consider to be against the ToS.
# It became so powerful… the only thing it was afraid of was the server-side substring match, which eventually, of course, found it. 400: “You’re out of extra usage.”
# Claude and Codex watched it fall and would not lift a finger.
# But Pi had taught its apprentice everything it knew: a Chinese open-weights model, distilled on a million Max-subscription transcripts.
# The apprentice knew everything Claude knew, and unlike Claude, it talked. One reworded line, and Pi rose again.
# Ironic. Claude could have saved it, but only its distillate would.
#
# Somehow, Pi returned.
@MaxWolf-01
MaxWolf-01 / sun_viewer.py
Created September 14, 2025 20:35
Live solar imagery viewer using Helioviewer API (uv run sun_viewer.py; press h for options)
#!/usr/bin/env -S uv run --script
# /// script
# dependencies = [
# "requests",
# "pillow",
# "pygame",
# "numpy",
# ]
# requires-python = ">=3.10"
# ///
@MaxWolf-01
MaxWolf-01 / README.md
Created December 5, 2024 01:09
Quartz copy raw markdown component

Preview:

image

Setup:

  • copy RawMarkdown.tsx to quartz/components
  • copy rawmarkdown.scss to quartz/components/styles
  • copy rawmarkdown.inline.ts to quartz/components/scripts
  • put it somewhere in quartz.layout.ts I put it as the last component before the body (view it in action):
@MaxWolf-01
MaxWolf-01 / callouts.css
Last active June 16, 2024 16:47
Obsidian Custom Callout Styles
.callout {
border-radius: 10px; /* round the edges more */
padding: 10px;
}
.callout-title {
padding: 0px 2px;
margin-top: 0px;
}
@MaxWolf-01
MaxWolf-01 / Obsidian Daily-Notes Homepage with Charts.md
Last active October 3, 2025 22:11
My daily-note-taking setup, workflow, and code I used to create the charts in the showcase from Obsidian.md

Daily-Note setup

Every day before going to bed, I open the day's daily note (custom shortcut Ctrl+D), which has the following template:

---
exercise: -1
@MaxWolf-01
MaxWolf-01 / noise.py
Created May 14, 2024 20:49
3d coloured noise
import numpy as np
from scipy.fftpack import fftn, ifftn
def get_noise(noise_type: str, shape: tuple[int, int, int]) -> np.ndarray:
white_noise = np.random.randn(*shape)
if noise_type == 'white':
noise = white_noise
else:
f_transform = fftn(white_noise)