Skip to content

Instantly share code, notes, and snippets.

@karlivory
karlivory / README.md
Created September 30, 2025 08:41
bash hotfix for 'perf not found for kernel 6.14.0-24'
@sile
sile / 0_raft.md
Last active May 31, 2026 15:49
Raft(分散合意アルゴリズム)について
@nfigay
nfigay / PlantUML-V2G
Created August 31, 2021 08:21
This #jArchi script creates a PlantUML file (.puml) with all elements in the selected views - one file per view * A simple graph is produced, no nesting produced
/*
* PlantUML View export as Graph Script (PlantUML-V2G)
* Author: Nicolas Figay 2020
* Version: 0.1
* This script creates a .puml file with all elements in the selected views - one file per view
* A simple graph is produced, no nesting produced
*/
console.log("PlantUML View export Script");
load(__DIR__ + "lib/archimate.js");
@dbo-git
dbo-git / llm-wiki.md
Created May 31, 2026 15:46 — forked from karpathy/llm-wiki.md
llm-wiki

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.

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.

@mindbound
mindbound / dice.js
Last active May 31, 2026 15:39
LumiScript Dice Library
// @description A notation-driven dice roller for RPG / gameplay scripts.
// @author mindbound
// @version 0.8.0
// @tags library, dice, rpg, gameplay
/*
* ============================================================================
* DICE LIBRARY LumiScript user library (library-type script)
* ============================================================================
*
@ssrihari
ssrihari / clojure-learning-list.md
Last active May 31, 2026 15:37
An opinionated list of excellent Clojure learning materials

An opinionated list of excellent Clojure learning materials

These resources (articles, books, and videos) are useful when you're starting to learn the language, or when you're learning a specific part of the language. This an opinionated list, no doubt. I've compiled this list from writing and teaching Clojure over the last 10 years.

  • 🔴 Mandatory (for both beginners and intermediates)
  • 🟩 For beginners
  • 🟨 For intermediates

Table of contents

  1. Getting into the language
@acquitelol
acquitelol / unlock-all-blooks.js
Last active May 31, 2026 15:35
Unlocks every single possible known blook in Blooket. Either run this through a userscript or simply execute in the console while in a game lobby or in your blook dashboard..
async function lazyDefine(callback, condition, maxAttempts = 100, time = 100) {
let attempt = 0;
while (attempt < maxAttempts) {
const result = callback();
if (condition ? condition(result) : result) return result;
await new Promise(res => setTimeout(res, time));
attempt++;