Skip to content

Instantly share code, notes, and snippets.

@The1nk
The1nk / README.md
Created August 30, 2026 14:48
Claude Code PreToolUse hook: refuse 'bd update --notes', which replaces the notes field instead of appending (gastownhall/beads#4541)

bd update --notes clobber guard

A Claude Code PreToolUse(Bash) hook that refuses bd update --notes, which replaces the notes field instead of appending to it (gastownhall/beads#4541).

Posted in reply to gastownhall/beads#4541 — it is a fence around the bug, not a fix for it. The semantics are still the thing worth changing upstream.

@The1nk
The1nk / CodFocusHelper.ahk
Last active December 1, 2022 20:38
Helper to dismiss annoying popups on CoD MW2, and help set focus to the game if opened via Big Picture Mode... Crafted with <3 for the Steam Deck
CodCheck := True
Loop {
Sleep(2500)
WinTitle := "Set Optimal Settings?"
if WinExist(WinTitle) {
WinActivate
SendInput "N"
Sleep(500)