Skip to content

Instantly share code, notes, and snippets.

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

Art Dev dotiful

🏠
Working from home
View GitHub Profile

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.

@killvxk
killvxk / goip-default-login.yaml
Created February 2, 2023 07:34 — forked from drfabiocastro/goip-default-login.yaml
GoIP GSM VoIP Gateway Default Password
id: goip-default-login
info:
name: GoIP GSM VoIP Gateway Default Password
author: drfabiocastro
severity: high
description: GoIP GSM VoIP Gateway Default Password, Allows attackers to send, receive sms and calls.
reference:
- http://en.dbltek.com/
- https://medium.com/@hackatnow/how-to-create-a-python-script-to-find-goip-gsm-gateway-on-shodan-and-send-sms-ussd-via-goip-e2e203f5d339
@dvygolov
dvygolov / getKeitaroSalesRevenue.js
Created June 2, 2022 07:18
A Google Apps Script for getting daily revenue from Keitaro grouped by campaign group (buyers mark).
function getKeitaroData() {
let ss = SpreadsheetApp.getActiveSpreadsheet();
let sheet = ss.getSheetByName('Keitaro');
let apiKey = '<YOUR_KEITARO_API_KEY>';
let url = 'http://<YOUR_TRACKER_DOMAIN>/admin_api/v1/report/build';
let options= {
"method":"POST",
"headers":{
@don-coleman
don-coleman / opkguinstalled
Created February 22, 2021 09:46
List all user-installed packages on OpenWrt - requires bash, and produces a more minimal list then other similar scripts.
#! /bin/bash
#
# We use bash associative arrays indexed by the package name.
#
opkg status \* | {
declare -A packages
declare -A packages_depends
declare -A packages_skip
@runiq
runiq / .bash_profile
Created January 20, 2021 00:04
How I handle envvars
[[ -f "$HOME/.profile" ]] && source "$HOME/.profile"
[[ $- == *i* && -f "$HOME/.bashrc" ]] && source "$HOME/.bashrc"
@atnbueno
atnbueno / click-to-delete.user.js
Last active June 12, 2025 00:57
A userscript to delete page elements when clicked twice while pressing Alt, Control, and Shift simultaneously
// ==UserScript==
// @name Click to delete
// @author Antonio Bueno
// @namespace userscripts.atnbueno.com
// @description This script deletes page elements if clicked twice while simultaneously pressing Alt, Control, and Shift
// @version 2.0
// @grant none
// ==/UserScript==
/*
@sawaYch
sawaYch / kde_hdmi_analog_switch.md
Last active November 17, 2020 08:52
Config alsamixer profile for KDE Neon (Phonon)

Description:
When headphone(analog) and HDMI connect to monitor, kde cannot auto switch audio to headphone.
What can we do is use plasmoid to adjust the audio channel manually.
Add the profile to /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf.

sudo vim /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf


[Profile ouput:analog-stereo+output:hdmi-stereo]
@Protoff
Protoff / testWebp.js
Last active December 28, 2023 23:00
Тест браузера на поддержку webp
document.addEventListener('DOMContentLoaded', function() {
testWebP(document.body)
})
function testWebP(elem) {
const webP = new Image();
webP.src = 'data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA';
webP.onload = webP.onerror = function () {
webP.height === 2 ? elem.classList.add('webp-true') : elem.classList.add('webp-false')
}
@gusbemacbe
gusbemacbe / fonts.conf
Last active August 28, 2020 07:54
Color emoji font on Arch Linux (updated)
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>