Skip to content

Instantly share code, notes, and snippets.

View Heliodex's full-sized avatar
πŸ“‰
Programstinating

Lewin Kelly Heliodex

πŸ“‰
Programstinating
View GitHub Profile
@skorotkiewicz
skorotkiewicz / decode-kernel-panic.py
Last active November 2, 2026 02:36
decode kernel panic from QR Code photo
#!/usr/bin/env python3
"""
Scan a Linux panic QR code with ZXingReader and decompress its crash log.
./decode-kernel-panic.py screenshot.png -o panic.log
"""
import argparse
import json
from pathlib import Path
import subprocess
@flamerix-ai
flamerix-ai / README.md
Last active November 11, 2026 11:58
Claude Code burns ~15-20% of your tokens on a 3-word status line: a Bun preload that turns agent_summary off Β· by Flamerix AI, flamerix.ai Β· MIT

Claude Code burns ~15–20% of your tokens on a 3-word status line. Here's how to turn it off

by Flamerix AI Β· MIT License

Platforms: Linux and Windows 11 tested by us; macOS reported by others. Tested on Claude Code 2.1.257–2.1.317. The binary is not modified (BUN_OPTIONS=--preload). An update can silently undo it, so see Verify.

TL;DR

Every ~30 seconds, Claude Code re-sends each background agent's full transcript to the model to

@pushcx
pushcx / migrate.md
Last active October 25, 2026 21:23

2026-10-16 Migrating to a new VPS, gonna be in read-only mode, hopefully only an hour or two. Reload this gist for updates, or drop by the chat room.

migration checklist:

  • pushcx: rsync -vaP --exclude 'public/cache/' --exclude 'bundle/' --exclude 'comment_redirects' l:lobsters/shared/ 2026-10-17_shared
  • pushcx: rsync -vaP root@l:/etc/ 2026-10-17_etc
  • pushcx: rsync -vaP l:.local/ 2026-10-17_local
@birep
birep / libfix_strix_cwsr.so
Created September 30, 2026 21:48
Fix for gfx1151 (Strix Halo) ROCm "out of memory" abort on hipStreamCreate
/*
* Fix for gfx1151 (Strix Halo) ROCm "out of memory" abort on hipStreamCreate:
*
* Issue: amdkfd enforces ctx_save_restore_area_size >= topo cwsr_size (0x124c000 / 19.2 MB).
* hsakmt hardcodes 0xd4c000 (13.9 MB), causing AMDKFD_IOC_CREATE_QUEUE to return -EINVAL,
* which ROCr surfaces to HIP as hipErrorOutOfMemory.
*
* Solution: Intercept mmap/ioctl to expand CWSR buffer sizes to match kernel requirements.
*
* Build: gcc -shared -fPIC -O3 fix_strix_cwsr.c -o libfix_strix_cwsr.so -ldl
@gnahiak2
gnahiak2 / gist:6a309422fb932f09b427f47d325c11ca
Last active August 1, 2026 15:24
RAHH GMTK VS HACK CLUB

RAHH GMTK VS HACK CLUB

(written by gemini cuz im too lazy :p)

This is no longer a debate. This is a scorched-earth, pixel-bleeding, solder-melting, all-out cyber warfare.


πŸ“Š The Battlefield Matrix

| Combat Metric | GMTK (The Game Maker Horde) | Hack Club (The Teen Hacker Syndicate) |

@uzihaq
uzihaq / envelope.json
Last active July 14, 2026 04:51
lakebed whiteboard MINIFIED envelope (92KB)
{"artifact":{"name":"Whiteboard","client":{"bundleHash":"sha256:a98203e21ad74f83c6122e066e6971fe0f90b9ec8cc661d3fded016096d955d7","bytes":67923,"entry":"/client.js"},"createdWith":{"compiler":"0.1.0","lakebed":"0.0.30-staging.29292788364"},"format":"lakebed.capsule.artifact.v1","limits":{"instructionBudget":50000,"maxRowsReturned":1000,"maxValueBytes":65536,"maxIndexKeyBytes":2048,"maxRowsRead":5000,"maxBytesRead":4194304,"maxDirectGets":1000,"maxScanCalls":100,"maxWrites":1000},"source":{"files":[{"bytes":113,"hash":"sha256:aaa4c02a1033fc56bfb872526d522b9c69a9f6a48214d5e1144020b8e60760ee","path":".git/COMMIT_EDITMSG"},{"bytes":318,"hash":"sha256:9174639466229e9445803a12fa12cb7c1aac7faf515bc0d504b4f78de00f2ef1","path":".git/config"},{"bytes":73,"hash":"sha256:85ab6c163d43a17ea9cf7788308bca1466f1b0a8d1cc92e26e9bf63da4062aee","path":".git/description"},{"bytes":23,"hash":"sha256:f6f2b945f6c411b02ba3da9c7ace88dcf71b6af65ba2e0d89aa82900042b5a10","path":".git/HEAD"},{"bytes":478,"hash":"sha256:0223497a0b8b033aa58a
@uzihaq
uzihaq / envelope.json
Created June 24, 2026 01:57
lakebed whiteboard deploy envelope
{"artifact":{"client":{"bundleHash":"sha256:08bd3814bd56922349db950592308ee5d3e5702d7081c5721210b4d5cb3e20f4","bytes":316679,"entry":"/client.js"},"createdWith":{"compiler":"0.1.0","lakebed":"0.0.25"},"deployTarget":"anonymous-source","format":"lakebed.capsule.artifact.v1","limits":{"instructionBudget":50000,"maxRowsReturned":1000,"maxValueBytes":65536},"name":"Whiteboard","server":{"endpoints":{},"helpers":{},"imports":["lakebed/server"],"mutations":{"addShape":{"op":"source"},"claim":{"op":"source"},"deleteShape":{"op":"source"},"redo":{"op":"source"},"setDrawLock":{"op":"source"},"setViewLock":{"op":"source"},"undo":{"op":"source"},"updateShape":{"op":"source"}},"queries":{"room":{"op":"source"},"shapes":{"op":"source"}},"schema":{"ops":{"fields":{"after":{"kind":"string"},"before":{"kind":"string"},"kind":{"kind":"string"},"shapeId":{"kind":"string"},"undone":{"defaultValue":false,"kind":"boolean"},"userId":{"kind":"string"}},"kind":"table"},"room":{"fields":{"drawLock":{"defaultValue":false,"kind":"boole
@alurm
alurm / README.md
Last active October 11, 2026 09:19
A generic dynamic array in C that stores no capacity and needs no struct

A generic dynamic array in C that stores no capacity and needs no struct

The following header shows a way to make a generic dynamic array in C with an array of two pointers:

  • one pointer (accessible as vec_ptr[vec]) points to the data;
  • the other pointer (accessible as vec_len[vec]) encodes the length of the array in the pointer. Thus, (size_t)vec_len[vec] returns the len as size_t.

So, int *vec[2] = { 0 }; is an empty dynamic array of ints. struct person *people[2] = { 0 }; is an empty dynamic array of people.

The vec_push(vec, value) macro pushes a value at the end of a dynamic array. It returns true if pushing succeeded, and false otherwise. Note that the dynamic array is not automatically freed on failure.

@sebashtioon
sebashtioon / cheese.md
Created June 4, 2026 01:31 — forked from ingoau/cheese.md
The Primal Urge: An Analysis of Why Zach Latta Wants to Cheese

The Primal Urge: An Analysis of Why Zach Latta Wants to Cheese

In the annals of Hack Club history, few phrases have echoed with the raw, discordant power of a single declaration posted in #zrl-land: β€œI WANT TO CHEESE.” It was not an announcement of a new grant, a shipping update for the counter, or a philosophical treatise on hacking. It was five words, all caps, and a gateway into the soul of Zach himself.

To ask why Zach wants to cheese is to ask why the bird sings or why the recursive function eventually hits its base case. Cheesing, in the Lattan sense, exists in a state of quantum superposition. Is it a literal desire for dairy? A gaming term for exploiting the system? Or a deeper metaphorical yearning to bypass the friction of existence entirely? The community has debated this for cycles, and the answer remains: yes.

When Zach wants to cheese, he isn't just expressing a preference; he is initiating a critical infrastructure event. It is a reminder that even at the helm of a global nonprofit, one is

Markdown 0 hrs 2 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Šβ–‘β–‘ 89.8%
HTML 0 hrs 0 mins β–ˆβ–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 10.2%