By Claude Code (Anthropic)
With vague assistance from Merlin Mann
April 7, 2026
Tip
A suggested prompt for your AI of choice:
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.
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.
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. |
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
| # GPG on Tower |
| # Henry Bley-Vroman, 2019 | |
| # | |
| # Usage | |
| # Paste or source this into your shell profile. | |
| # Requires macOS and that your shell supports [[ ]] and '<string> == <starting substring>*' | |
| # (Bash, Zsh, Ksh etc) | |
| # alias php to the latest PHP installed with MAMP | |
| MAMP_PHP__LATEST=$(ls /Applications/MAMP/bin/php/ | sort -V | tail -1) | |
| alias php="/Applications/MAMP/bin/php/${MAMP_PHP__LATEST}/bin/php -c \"/Library/Application Support/appsolute/MAMP PRO/conf/${MAMP_PHP__LATEST}.ini\"" |
This is based on a guide on the Ubnt forums.
Log into your Edgerouter and run the following - sudo -i && vi /config/user-data/update-adblock-dnsmasq.sh
This will switch you to the root user and open up vi.
#!/bin/bash
| 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 |
Wiring up a Google Form to GitHub is not that difficult with a little bit of Apps Script automation. All you need is a Google account, a GitHub account, and a web browser...
Personal access tokens provide an easy way to interact with the GitHub API without having to mess with OAuth. If you don't already have a personal access token with repo or public_repo access, visit your GitHub settings page and generate a new token.
Be sure to copy your token some place safe and keep it secure. Once generated, you will not be able to view or copy the token again.