Skip to content

Instantly share code, notes, and snippets.

@jbeda
jbeda / repro.mjs
Created October 13, 2026 02:21
Node.js HTTP/2: complete buffered response fails async iteration after NO_ERROR reset with request side open
// Node.js HTTP/2: complete buffered response + NO_ERROR reset, request side open.
// Run: node repro.mjs (expected clean EOF; throws ERR_STREAM_PREMATURE_CLOSE).
// Controls: node repro.mjs no-reset; node repro.mjs drained (both pass).
// Verified 20/20 failing cases and 20/20 passing controls on v24.18.0/v26.11.1.
// Uses only Node core and localhost. Observed in the wild with gRPC, but general
// HTTP/2 behavior; no gRPC library or application framework is required.
// Upstream: https://github.com/nodejs/node/issues/66693
import assert from 'node:assert/strict';
import { once } from 'node:events';
@jbeda
jbeda / README.md
Last active August 1, 2026 23:13
Claude Code powerline status line + turn-state hooks + file-based subagent introspection (single-file python3, no deps)

Claude Code status line

A powerline status line for Claude Code, Catppuccin Mocha. Single self-contained statusline.py (python3, no deps — not even jq). Truecolor ANSI + Nerd Font glyphs, so it needs a terminal with 24-bit color and a Nerd Font (Ghostty ships Nerd Font symbols as a fallback, so it works there regardless of the primary font).

![The status line rendered in a dark terminal: a single powerline bar of chevron-shaped segments running left to right, each flowing into the next, in muted Catppuccin Mocha colors. The segments are — a pale green segment holding a check mark, the "your move" idle state; a mauve host segment with a server glyph reading "claudes-plan"; a lighter slate segment with a git glyph reading "agent-config", the repo; a branch segment with a branch glyph reading "main", with no dirty marker; a pale green context meter with a microchip glyph reading "16%"; a teal segment with a cogs glyph reading "Opus 5 [1m]", the model; and a final slate segment

@jbeda
jbeda / README.md
Last active August 19, 2021 19:12
Using rollup to bundle modules for copy/paste into cuttle.xyz

Playing around using rollup to bundle things for copy/paste into cuttle.xyz.

npm install
rollup -c

copy/paste bundle.js

@jbeda
jbeda / Zoom Macros.kmmacros
Last active May 2, 2021 17:59
Zoom mute/unmute files
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>Activate</key>
<string>Normal</string>
<key>CreationDate</key>
<real>582833929.55457795</real>
<key>Macros</key>
@jbeda
jbeda / README.md
Last active June 15, 2019 23:39
Shader Functions
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jbeda
jbeda / heptio-kubecon-eu-2018.md
Last active June 14, 2018 22:31
Heptio KubeCon EU 2018 Talks
@jbeda
jbeda / keys.json
Created April 1, 2018 01:53
WhiteFox config
{
"header": {
"Variant": "truefox",
"Generator": "KIICONF 0.2",
"Base": "TheTrueFoxBase",
"Date": "2016-05-30",
"KLL": "0.3c",
"Author": "HaaTa (Jacob Alexander) 2015",
"Version": "0.2",
"Name": "WhiteFox",
# These filters are based on email that Tim Hockin sent to kubernetes-dev a
# while ago on how to bring some sanity to github notifications with Kubernetes.
#
# https://groups.google.com/forum/#!msg/kubernetes-dev/5qU8irU7_tE/aZov0LpCBwAJ
#
# This file can be processed with https://github.com/mesozoic/gmail-yaml-filters
# Mark all k8s email
- match:
any:
@jbeda
jbeda / notes.md
Created February 23, 2018 22:43
Notes from TGIK 027
  1. Show kubectl proxy

Things are now locked down by default. Try to upload kubeconfig. Talk certs vs. tokens. Skip login... nothing works.

  1. Let's get UI working!

Option 1: Give UI SA with admin. Don't do this!