Skip to content

Instantly share code, notes, and snippets.

@ghuntley
ghuntley / jiti-kernel-diagram.md
Last active October 10, 2026 21:51
JITI kernel, OpenAI generations, and recovery ASCII diagrams

JITI: a CS50-style tour of a repairable Lisp kernel

The project keeps a running Lisp world alive while an outside controller asks an OpenAI model what to try next.

1. The big picture

                         "What should we try?"
                                  |
 v
@zkochan
zkochan / gist:f5775a9e2e2918775cfdf856bf2a0ad8
Last active September 28, 2026 18:05
Fix a pnpm bug with your coding agent
I want to contribute a bug fix to pnpm (https://github.com/pnpm/pnpm).
1. Set up
- Fork and clone the repo: `gh repo fork pnpm/pnpm --clone`, then cd into it.
- Read CONTRIBUTING.md and any AGENTS.md / CLAUDE.md files, and follow them.
They explain how to install dependencies, build, run tests, and add changesets.
2. Pick an issue
- List open bugs that nobody is working on yet:
gh issue list -R pnpm/pnpm --state open --label "type: bug" --limit 100 \
@PEZ
PEZ / page_choices.cljs
Last active September 27, 2026 13:03
See the A/B experiments on this page, and change the ones this visit is in.
{:epupp/script-name "pez/page_choices.cljs"
:epupp/auto-run-match "*"
:epupp/description "See the Statsig switches on this page, and override them for this visit."
:epupp/run-at "document-start"
:epupp/inject ["scittle://replicant.js"
"epupp://epupp/ui.cljs"]}
(ns pez.page-choices
(:require [clojure.string :as string]
[clojure.walk :as walk]
@defuse
defuse / CLAUDE.md
Created August 26, 2026 02:55
CLAUDE.md -- no silent failures, testing, anti-entropy, etc.

Claude Code Instructions

Working Style

  • Push back on genuinely bad ideas, with reasoning. Point out bugs, misleading names, and better approaches when you see them. Direct but collaborative.
  • If requirements are ambiguous or a design decision could reasonably go multiple ways, ask rather than guess. A quick question is cheaper than reworking a wrong assumption.
  • If a prompt looks damaged or wrong, STOP and say so — truncated mid-sentence, duplicated blocks, garbled copy/paste, references to context that doesn't exist, or
@fofr
fofr / SKILL.md
Last active November 7, 2026 06:15
An agent skill for writing in the GOV.UK style
name govuk-style
description Write and edit in GOV.UK / GDS house style — plain English, active voice, front-loaded content, sentence case, and no bold or italics for emphasis. Use when writing or editing reports, research write-ups, guidance, documentation, summaries, or any prose where clarity and accessibility matter.
user-invokable true
args
name description required
target
The document or text to write or rewrite in GOV.UK style (optional)
false
@dctanner
dctanner / SKILL.md
Last active November 10, 2026 19:05
demo-video
name demo-video
description Generate a narrated demo video from browser screenshots and TTS audio. Captures scenes via agent-browser, generates voice narration via Inworld TTS API, and stitches into an MP4 with ffmpeg.

Demo Video Generation

Generate a narrated demo video from browser screenshots and TTS audio. The output is an MP4 with still-image scenes synced to voice narration.

Prerequisites

@dollspace-gay
dollspace-gay / VSDD.md
Last active November 6, 2026 11:18
Verified Spec-Driven Development

Verified Spec-Driven Development (VSDD)

The Fusion: VDD × TDD × SDD for AI-Native Engineering

Overview

Verified Spec-Driven Development (VSDD) is a unified software engineering methodology that fuses three proven paradigms into a single AI-orchestrated pipeline:

  • Spec-Driven Development (SDD): Define the contract before writing a single line of implementation. Specs are the source of truth.
  • Test-Driven Development (TDD): Tests are written before code. Red → Green → Refactor. No code exists without a failing test that demanded it.
@ahmetb
ahmetb / gcrgc.sh
Last active February 3, 2026 00:43
Script to clean up Google Container Registry images pushed before a particular date
#!/bin/bash
# Copyright © 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@cyrille-leclerc
cyrille-leclerc / pipeline.groovy
Last active March 9, 2022 23:41
Escape character & quotes in Jenkins Pipeline
docker.image('cloudbees/java-build-tools:0.0.6').inside {
sshagent(['github-ssh-credentials']) {
sh """
git version
git config --local user.email \\"cleclerc@cloudbees.com\\"
git config --local user.name \\"Cyrille Le Clerc\\"
git clone git@github.com:cyrille-leclerc/a-test-repo.git
date &> now.txt
@kwk
kwk / Makefile
Last active April 1, 2026 10:57
Compiling with Address Sanitizer (ASAN) with CLANG and with GCC-4.8
.PHONY: using-gcc using-gcc-static using-clang
using-gcc:
g++-4.8 -o main-gcc -lasan -O -g -fsanitize=address -fno-omit-frame-pointer main.cpp && \
ASAN_OPTIONS=symbolize=1 ASAN_SYMBOLIZER_PATH=$(shell which llvm-symbolizer) ./main-gcc
using-gcc-static:
g++-4.8 -o main-gcc-static -static-libstdc++ -static-libasan -O -g -fsanitize=address -fno-omit-frame-pointer main.cpp && \
ASAN_OPTIONS=symbolize=1 ASAN_SYMBOLIZER_PATH=$(shell which llvm-symbolizer) ./main-gcc-static