Skip to content

Instantly share code, notes, and snippets.

@Klerith
Klerith / testing-configuration.md
Last active June 7, 2026 17:38
Configuración de Vitest + React Testing Library

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.

@idlesauce
idlesauce / ps5_elf_sdk_downgrade.py
Last active June 7, 2026 17:31
Usage: `py ps5_elf_sdk_downgrade.py path_to_file_or_folder`, then it will prompt you to enter the desired SDK version 1-10
import os
import struct
import shutil
import argparse
# ANSI color codes
GREEN = '\033[92m'
YELLOW = '\033[93m'
RED = '\033[91m'
RESET = '\033[0m'
@sickerin
sickerin / Resume claude.md
Last active June 7, 2026 17:26
Resume claude

Resume claude after running out of usage limit. For Macos, it uses the automation scripts to resume usage.

For instance if your usage resets at 3pm

./resume_claude.sh "15:00"
@darkedges
darkedges / README.md
Created June 6, 2026 00:10
Claude Opus as orchestrataor and sonnet as implementation/review

Opus Orchestrator + Sonnet Subagent Workflow for Claude Code

Run Claude Code with Opus as the orchestrator and Sonnet as the implementation/review subagents — keeping the main session focused and cheap while delegating the heavy lifting to isolated workers.


File Layout

.claude/
@mrjsj
mrjsj / export-notebook-definition.sql
Created March 15, 2025 11:23
The DuckDB UI stores notebook content in an internal database called _duckdb_ui. You can query and export notebook content, as well as insert new definitions into the database. Warning: Modifying the internal database may lead to corruption and data loss. Be cautious and use it at your own risk!
copy (
select
"json"
from _duckdb_ui.notebook_versions
where 1=1
and title = 'MySingleNotebook'
and expires is null
) to 'exported-notebook.json';
http://download.huzheng.org/dict.org/stardict-dictd_www.dict.org_gcide-2.4.2.tar.bz2
http://download.huzheng.org/dict.org/stardict-dictd_www.dict.org_wn-2.4.2.tar.bz2
http://download.huzheng.org/dict.org/stardict-dictd-moby-thesaurus-2.4.2.tar.bz2
http://download.huzheng.org/dict.org/stardict-dictd-web1913-2.4.2.tar.bz2
http://download.huzheng.org/dict.org/stardict-dictd_www.dict.org_elements-2.4.2.tar.bz2
http://download.huzheng.org/dict.org/stardict-dictd-vera-2.4.2.tar.bz2
http://download.huzheng.org/dict.org/stardict-dictd-jargon-2.4.2.tar.bz2
http://download.huzheng.org/dict.org/stardict-dictd_www.dict.org_foldoc-2.4.2.tar.bz2
http://download.huzheng.org/dict.org/stardict-dictd-easton-2.4.2.tar.bz2
http://download.huzheng.org/dict.org/stardict-dictd_www.dict.org_hitchcock-2.4.2.tar.bz2
@maxlapshin
maxlapshin / systemd.erl
Last active June 7, 2026 17:12
Systemd support
-module(systemd).
% This is what you need to adopt systemd in erlang
%
% Do whatever you want license. If you want, you can take this code under terms of MIT license.
-export([ready/0, reloading/0, stopping/0, watchdog/0]).
-export([start_link/0]).
-export([init/1, handle_info/2, terminate/2]).