Skip to content

Instantly share code, notes, and snippets.

@edurodriguesdias
edurodriguesdias / world-cup-2026-complete-album-ptBR.json
Last active May 9, 2026 03:58
Complete JSON database for the World Cup 2026 Sticker Album. It includes all 48 teams (20 items each), FIFA Specials, the Coca-Cola collection, and South American Stadiums (Extras). Total of 994 items with original IDs and Brazilian Portuguese localization.
{
"dados": {
"A": {
"MEX": {
"sigla": "MEX",
"nome": "México",
"jogadores": {
"MEX_01": {
"nome": "MEX 1 ESCUDO MÉXICO",
"obtida": false

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.

@IUHHUI
IUHHUI / check_pdf.py
Created July 30, 2025 03:33
检查pdf完整性
import PyPDF2
def check_pdf(file_path):
try:
with open(file_path, 'rb') as file:
pdf_reader = PyPDF2.PdfReader(file)
# 获取 PDF 的页数,尝试读取以确认文件是否损坏
num_pages = len(pdf_reader.pages)
print(f"文件 '{file_path}' 是有效的 PDF,包含 {num_pages} 页。")
return True

Garry Tan's Mega Plan Review Mode

name: plan-mega-review
version: 2.0.0
description: |
  The most thorough plan review possible. Three modes: SCOPE EXPANSION (dream big,
  build the cathedral), HOLD SCOPE (review what's here with maximum rigor), and
  SCOPE REDUCTION (strip to essentials). Context-dependent defaults, but when the
 user says EXPANSION — go full send. Challenges premises, maps every failure mode,
@hqman
hqman / CLAUDE.md
Created February 23, 2026 13:03
Boris Cherny’s CLAUDE.md

Workflow Orchestration

1. Plan Node Default

  • Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
  • If something goes sideways, STOP and re-plan immediately - don't keep pushing
  • Use plan mode for verification steps, not just building
  • Write detailed specs upfront to reduce ambiguity

2. Subagent Strategy

  • Use subagents liberally to keep main context window clean