Skip to content

Instantly share code, notes, and snippets.

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.

@timurbakibayev
timurbakibayev / tetris.py
Last active October 8, 2026 12:57
Tetris game in Python
import pygame
import random
colors = [
(0, 0, 0),
(120, 37, 179),
(100, 179, 179),
(80, 34, 22),
(80, 134, 22),
(180, 34, 22),
@k16shikano
k16shikano / SKILL.md
Last active October 8, 2026 12:54
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、翻訳調の比喩と擬人化の禁止(「運ぶ」「効く」「開かれた問い」など)、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。
license Unlicense(https://gist.github.com/k16shikano/67625f2a7d96e3bbdfae8d571a936063)

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

How To Unlock Huawei B612s-25d Router

December 30, 2021 admin Computer 0

This article aims to explain how to Unlock Huawei B612s-25d Router in a simple and efficient way. To succeed in the Unlocking procedure, be sure to carefully follow the instructions listed here and on the video below.

Huawei B612s-25d Router is a new 4G Wireless Gateway that integrates LTE access and High-Speed Ethernet uplink, which provides users with flexible and diverse data access and voice services. Huawei B612s-25d Smart Hub connects up to 32 Wi-Fi-enabled devices without sacrificing connection quality or speed. With LTE Category 6 support, Huawei B612s-25d Smart Hub is advanced-enabled by LTE, with download speeds of up to 300 Mbps and upload speeds of up to 50 Mbps – making it the smart hub. perfect for any workplace. The Huawei B612s-25d Smart Hub also supports up to 4 wired connections such as desktops, laptops, tablets, smart TV and other devices through an Ethernet connection.

To Unlock Huawei B612s-25d Router:

D

@queengooborg
queengooborg / essentials-worth.yml
Last active October 8, 2026 12:50
A balanced worth.yml file for Bukkit/Spigot servers running 1.13.x+ with EssentialsX
#
# Minecraft Essentials worth.yml - optimized for an ideal balanced Economy!
# https://gist.github.com/queengooborg/92d08120f0d6d25175f6c7a30e3ccac7
#
# Compatible MC Version: 1.13.x+
# Latest MC Version: 26.2
#
# Maintained by Vinyl Da.i'gyu-Kazotetsu [https://www.queengoob.org]
# Generated by https://github.com/queengooborg/mc-toolkit
# Base prices from X00LA's version: https://github.com/X00LA/Bukkit-Essentials-worth.yml

Avaliação de Sistemas Agênticos

KPIs, Monitoramento Contínuo e Boas Práticas

MIT Professional Education – Agentic AI Office Hour | Paulo Cavalin


Agenda

@FarelRA
FarelRA / revive-dead-emmc-bootloader.md
Created February 15, 2026 14:51
Revive Dead eMMC or Corrupt Bootloader for HG680P & B860H TV Boxes with Armbian

Revive Dead eMMC or Corrupt Bootloader for HG680P & B860H TV Boxes with Armbian

This guide details how to flash and configure a high-performance Linux server OS (Armbian) on old Indonesian TV boxes. This specific method uses a bootloader injection technique that forces the device to boot from the SD card, even if the internal storage is dead, the original Bootloader is corrupted, or Android OS is bricked.


🛠 Prerequisites & Downloads

Hardware

  • TV Box: HG680P or B860H (Amlogic S905X).
# Claude Code CLI Environment Variables
# This file lists all environment variables used in v2.1.202 with explanations
## Anthropic API & Authentication
ANTHROPIC_API_KEY - Primary API key for Anthropic's Claude API; used as an auth source (source "ANTHROPIC_API_KEY") when no OAuth token is configured
ANTHROPIC_AUTH_TOKEN - Alternative bearer token for Anthropic services; sent as Authorization: Bearer and takes priority over ANTHROPIC_API_KEY, also used with gateway mode
ANTHROPIC_BASE_URL - Custom base URL for the Anthropic API; overrides the default api.anthropic.com endpoint (a non-api.anthropic.com host marks the client as non-first-party)
ANTHROPIC_BETAS - Comma-separated list of beta feature headers appended (trimmed, non-empty) to the internal beta flags on API requests
ANTHROPIC_CUSTOM_HEADERS - Custom HTTP headers for API requests, parsed as newline-separated "Key: Value" pairs
@jiang1997
jiang1997 / lanshare.py
Last active October 8, 2026 12:30
lanshare
#!/usr/bin/env python3
from __future__ import annotations
import argparse
import html
import os
import sys
from http import HTTPStatus
from http.server import SimpleHTTPRequestHandler, ThreadingHTTPServer
from pathlib import Path, PurePosixPath