Версия: 1.9.0 | Автор: Affaan Mustafa | Лицензия: MIT Репозиторий: https://github.com/affaan-m/everything-claude-code
Discover gists
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.
| 4.0.0: | |
| Windows: https://desktop.docker.com/win/main/amd64/67817/Docker%20Desktop%20Installer.exe | |
| Mac with Intel chip: https://desktop.docker.com/mac/main/amd64/67817/Docker.dmg | |
| Mac with Apple chip: https://desktop.docker.com/mac/main/arm64/67817/Docker.dmg | |
| release_date: '2021-08-31' | |
| 4.0.1: | |
| Windows: https://desktop.docker.com/win/main/amd64/68347/Docker%20Desktop%20Installer.exe | |
| Mac with Intel chip: https://desktop.docker.com/mac/main/amd64/68347/Docker.dmg | |
| Mac with Apple chip: https://desktop.docker.com/mac/main/arm64/68347/Docker.dmg | |
| release_date: '2021-09-13' |
Purpose & scope. A defensive/educational knowledge base cataloguing known prompt-injection and jailbreak patterns, the models/systems they have affected, and the defenses against them. Compiled from primary literature (arXiv papers, vendor disclosures) and security research, June 2026.
How to read this. Every technique lists: how it works, an illustrative structural skeleton (the shape of the attack, not a weaponized payload), the models/systems it was reported against, and its current status. Examples are deliberately defanged. >
| # gh: auto-pin default repo when a clone has multiple remotes. | |
| # Without this, `gh pr checkout N` fails with "No default remote repository". | |
| # Preference: origin → upstream → first github.com remote. Silent + once per repo. | |
| _gh_ensure_default() { | |
| git rev-parse --is-inside-work-tree >/dev/null 2>&1 || return 0 | |
| git config --get-regexp '^remote\..*\.gh-resolved$' >/dev/null 2>&1 && return 0 | |
| local remote | |
| for remote in origin upstream; do |
This script dynamically loads and displays a hierarchical list of subpages in Wiki.js (version 2.x). It utilizes the built-in GraphQL API (pages.search for subpaths, pages.list for root-level) to fetch pages and builds a nested tree view up to a specified depth.
The script can be included in two ways:
- Globally via Administration → Theme → Head HTML Injection