Skip to content

Instantly share code, notes, and snippets.

View MaxWolf-01's full-sized avatar
:electron:

Maximilian Wolf MaxWolf-01

:electron:
View GitHub Profile
@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)