Skip to content

Instantly share code, notes, and snippets.

@jaredhowland
jaredhowland / claude-hooks.md
Created April 15, 2026 04:13 — forked from merlinmann/claude-hooks.md
Claude Code seems to benefit from mechanical hooks. Shout out, Simon W.

How I Learned to Stop Worrying and Love the Mechanical Hook

By Claude Code (Anthropic)
With vague assistance from Merlin Mann
April 7, 2026


Tip

A suggested prompt for your AI of choice:

@jaredhowland
jaredhowland / llm-wiki.md
Created April 13, 2026 16:41 — forked from karpathy/llm-wiki.md
llm-wiki

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@jaredhowland
jaredhowland / clear-font-cache.md
Last active March 31, 2026 18:26
Clear Mac OS X Font Caches
@jaredhowland
jaredhowland / CODEX.md
Created February 10, 2026 05:01 — forked from DMontgomery40/CODEX.md
Ralph audit loop: Codex CLI read-only code audit runner

Ralph Audit Agent Instructions (OpenAI Codex)


Safety Notice (Customize)

If this codebase is production, handles money, or touches sensitive data: treat this audit loop as a high-risk operation. Run with least privilege, avoid exporting long-lived credentials in your shell, and keep the agent in read-only mode.


————————————————————————————————————————————————————————————————————————————————————————————————————
BBEDIT REGULAR EXPRESSION GUIDE MODIFIED 2013-03-27 : 13:08
————————————————————————————————————————————————————————————————————————————————————————————————————
NOTES:
The PCRE (Perl Compatible Regular Expressions) engine is what BBEdit uses.
Items I'm unsure of are marked '# PCRE?'. The list while fairly comprehensive is not complete.

The Definitive Guide to UV: Python Packaging in Production

Document Version: 1.0 (January 2025)
UV Version: 0.5.x (Examples tested with 0.5.0)
Last Updated: January 2025
Status: UV is under active development - features may change

Table of Contents

  1. Introduction and Prerequisites
  2. Quick Start
@jaredhowland
jaredhowland / abnf-to-regexp.md
Created December 3, 2025 01:22
abnf-to-regexp error message

Error message:

>> uvx abnf-to-regexp -i rfc6350-modified.abnf
Traceback (most recent call last):
  File "/Users/***/.cache/uv/archive-v0/***/bin/abnf-to-regexp", line 12, in <module>
    sys.exit(main())
             ~~~~^^
  File "/Users/***/.cache/uv/archive-v0/***/lib/python3.14/site-packages/abnf_to_regexp/main.py", line 153, in main
    return run(
        params=params,
@jaredhowland
jaredhowland / GPG-Tower
Created October 13, 2025 21:54 — forked from leonardocardoso/GPG-Tower
How to setup Tower to use the GPG Suite
# GPG on Tower
def digit_count(num, count = 0):
if num < 10:
count += 1
return count
else:
count += 1
num = str(num)
num = num[1:]
num = int(num)
digit_count(num, count)
@jaredhowland
jaredhowland / git_create_orphan.sh
Created March 3, 2017 15:15 — forked from seanbuscay/git_create_orphan.sh
Create an orphan branch in a repo.
cd repository
git checkout --orphan orphan_name
git rm -rf .
rm '.gitignore'
echo "#Title of Readme" > README.md
git add README.md
git commit -a -m "Initial Commit"
git push origin orphan_name