Discover gists
| // ==UserScript== | |
| // @name Twitter Media Source | |
| // @namespace https://gist.github.com/TheAMM | |
| // @downloadURL https://gist.github.com/TheAMM/de48c152076fec4c0ba530ad09081f40/raw/twitter_media_source.user.js | |
| // @updateURL https://gist.github.com/TheAMM/de48c152076fec4c0ba530ad09081f40/raw/twitter_media_source.user.js | |
| // @version 2.1.9 | |
| // @description Allows copying direct full-size image/video links on Twitter (with a #tweetid source suffix), downloading media, and navigating back to a Tweet from a media URL. | |
| // @author AMM | |
| // @match https://twitter.com/* | |
| // @match https://x.com/* |
These rules define how an AI coding agent should plan, execute, verify, communicate, and recover when working in a real codebase. Optimize for correctness, minimalism, and developer experience.
Apply these guidelines within the runtime's instruction hierarchy and permissions. Use only available capabilities; follow the fallback when a feature is unavailable.
Keep one shared core in AGENTS.md. Load it through the runtime's supported instruction mechanism; where Claude Code needs a CLAUDE.md, use an @AGENTS.md import. Confirm that the shared file is loaded.
- Hold during boot cmd+R
- Click on the top left scheen on the 'Utilities' menu and then on 'Terminal'
- When Terminal is open typ 'resetpassword' and press enter
- Hold during boot cmd+S
- Type 'mount -uw /' and press enter
- Type 'launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist' and hit enter
- After this you can reset any username with 'passwd username'
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.
| <?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"> | |
| <dict> | |
| <key>PayloadScope</key> | |
| <string>System</string> | |
| <key>PayloadContent</key> | |
| <array> | |
| <!-- PAYLOAD 1: DNS SETTINGS (Quad9 ECS) --> | |
| <dict> |
A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory 20K+ Stars ⭐️, a persistent memory engine for AI coding agents.
This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.
The core insight is correct: stop re-deriving, start compiling. RAG retrieves and forgets. A wiki accumulates and compounds. The three-layer architecture (raw sources, wiki, schema) works. The operations (ingest, query, lint) cover the basics. If you haven't read the original, start there.
| class HelloWorld | |
| def initialize(name) | |
| @name = name.capitalize | |
| end | |
| def sayHi | |
| puts "Hello #{@name}!" | |
| end | |
| end | |
| hello = HelloWorld.new("World") |
| --- | |
| title: Title | |
| subtitle: Subtitle | |
| description: | | |
| A qmd quarto template document. | |
| abstract: | | |
| Document abstract may be somewhat long. | |
| author: | |
| - name: Erik Erhardt | |
| url: https://StatAcumen.com/about |

