Skip to content

Instantly share code, notes, and snippets.

View rddaz2013's full-sized avatar
🏠
Working from home

Rene Dworschak rddaz2013

🏠
Working from home
View GitHub Profile
@rddaz2013
rddaz2013 / llm-wiki.md
Created May 14, 2026 18:11 — 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.

@rddaz2013
rddaz2013 / gist:f7efd141bfc9f2ce024c
Created February 4, 2016 12:45
coolprop 5.1.1 old plot.py
# -*- coding: utf-8 -*-
from __future__ import print_function, absolute_import
import numpy, matplotlib, matplotlib.pyplot, math, re
from scipy.interpolate import interp1d
import CoolProp.CoolProp as CP
from .Common import BasePlot
@rddaz2013
rddaz2013 / ingress-comm.js
Created December 28, 2015 12:12 — forked from yoshimov/ingress-comm.js
Collect Ingress COMM log with PhantomJS
/* SETTINGS */
var l='';
var p='';
var area = 'https://www.ingress.com/intel?ll=35.5841133,139.4988137&z=14';
var v = 20000; //Delay between capturing screenshots, in milliseconds (1000 ms = 1 s)
var reloadtime = 60000 * 120;
var width = 900; //Picture width
var height = 500; //Picture height
var folder = './'; //Folder where to save screenshots, with / (or \) on the end. '.' means current folder.
phantom.injectJs('settings.js');
/home/rened/anaconda/bin/python2.7 /home/rened/PycharmProjects/maxfield/makePlan_Simple.py -n 1 Soest.csv res
0 Heiligen Häuschen - Möhnesee Köebecke - Westrich
1 Weißes Kreuz
2 Art of Steel
3 Sankt Agatha
4 Art of Steel II
5 Delecke
6 Gebetshäuschen
7 Schild Barthaus Kapelle
8 Staumauer