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.

@Gezine
Gezine / PS5_CEC_example.sh
Last active May 22, 2026 23:44
PS5 HDMI libcec commands
# Note
# I am using Raspberry pi 4 to send CEC commands
# /dev/cec1 is pi's second HDMI port
# '4' is PS5 address that TV assigned, change if you need
# Turn on PS5 (You need to enable "Power off Link" at PS5 HDMI settings to turn on from rest mode)
cec-ctl -d /dev/cec1 --to 4 --user-control-pressed ui-cmd=power-on-function
# Turn on PS5 from rest mode (When you didn't enable "Power off Link" at PS5 HDMI settings)
cec-ctl -d /dev/cec1 --to 4 --user-control-pressed ui-cmd=power-toggle-function
@aparente
aparente / SKILL.md
Last active May 22, 2026 23:57
tufte-viz Claude Code skill — Edward Tufte data visualization principles

name: tufte-viz description: | Ideate and critique data visualizations using Edward Tufte's principles from "The Visual Display of Quantitative Information." Use this skill when: (1) Designing new data visualizations or charts (2) Critiquing or improving existing visualizations (3) Reviewing dashboards or reports for graphical integrity (4) Deciding between visualization approaches (5) Reducing chartjunk or improving data-ink ratio (6) Planning small multiples or high-density displays

@mariotaku
mariotaku / README.md
Last active May 22, 2026 23:33
Install tailscale on webOS TV

Usage

  1. Have your TV rooted
  2. Open Terminal with SSH client or dev-manager-desktop
  3. Run curl -fsSL https://gist.githubusercontent.com/mariotaku/f7228c5459fc7ad2172a2b69dd51a4eb/raw/webosbrew-install-tailscale.sh | sh and wait for it to finish
@HIRO-CRACK
HIRO-CRACK / HIRO_CRACK.txt
Last active May 22, 2026 23:27
VLESS Keys Auto-update | 2026-05-22 13:43
vless://b22aa0ad-e8b8-4889-907e-a5177897f736@72.56.33.188:443?type=tcp&security=reality&flow=xtls-rprx-vision&sni=se.sellflow.org&pbk=SbVKOEMjK0sIlbwg4akyBg5mL5KZwwB-ed4eEE7YnRc&fp=chrome#proxy-vless-reality-492
vless://b22aa0ad-e8b8-4889-907e-a5177897f736@185.207.66.218:443?type=tcp&security=reality&flow=xtls-rprx-vision&sni=se.sellflow.org&pbk=SbVKOEMjK0sIlbwg4akyBg5mL5KZwwB-ed4eEE7YnRc&fp=chrome#proxy-vless-reality-391
vless://b22aa0ad-e8b8-4889-907e-a5177897f736@95.163.211.206:443?type=tcp&security=reality&flow=xtls-rprx-vision&sni=se.sellflow.org&pbk=SbVKOEMjK0sIlbwg4akyBg5mL5KZwwB-ed4eEE7YnRc&fp=chrome#proxy-vless-reality-387
vless://b22aa0ad-e8b8-4889-907e-a5177897f736@72.56.6.125:443?type=tcp&security=reality&flow=xtls-rprx-vision&sni=sellflow.org&pbk=SbVKOEMjK0sIlbwg4akyBg5mL5KZwwB-ed4eEE7YnRc&fp=chrome#proxy-youtube-528
vless://b22aa0ad-e8b8-4889-907e-a5177897f736@147.45.159.110:443?type=tcp&security=reality&flow=xtls-rprx-vision&sni=sellflow.org&pbk=SbVKOEMjK0sIlbwg4akyBg5mL5KZwwB-ed4eEE7YnRc&fp=ch
@andrewpayne68
andrewpayne68 / ubuntu-thumbnails.md
Last active May 22, 2026 23:26
After latest April 2026 update to Ubuntu 24.04 LTS, thumbnails are no longer being generated

After latest April 2026 update to Ubuntu 24.04 LTS, thumbnails are no longer being generated

Steps to fix it:

Relax the security restriction (immediate fix): Open your terminal and run:

sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

Clear the "failed" thumbnail cache: This forces Nautilus to retry generating thumbnails for files that previously failed:

@shafik
shafik / WhatIsStrictAliasingAndWhyDoWeCare.md
Last active May 22, 2026 23:17
What is Strict Aliasing and Why do we Care?

What is the Strict Aliasing Rule and Why do we care?

(OR Type Punning, Undefined Behavior and Alignment, Oh My!)

What is strict aliasing? First we will describe what is aliasing and then we can learn what being strict about it means.

In C and C++ aliasing has to do with what expression types we are allowed to access stored values through. In both C and C++ the standard specifies which expression types are allowed to alias which types. The compiler and optimizer are allowed to assume we follow the aliasing rules strictly, hence the term strict aliasing rule. If we attempt to access a value using a type not allowed it is classified as undefined behavior(UB). Once we have undefined behavior all bets are off, the results of our program are no longer reliable.

Unfortunately with strict aliasing violations, we will often obtain the results we expect, leaving the possibility the a future version of a compiler with a new optimization will break code we th

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active May 22, 2026 23:14
Conventional Commits Cheatsheet