Skip to content

Instantly share code, notes, and snippets.

View altafshaikh's full-sized avatar
:octocat:
Keep Learning

Altaf Shaikh altafshaikh

:octocat:
Keep Learning
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.

@aspose-com-gists
aspose-com-gists / convert-FBX-to-glTF-GLB.cs
Last active September 28, 2023 17:39
C# Convert FBX to glTF GLB or glTF to FBX Programmatically in .NET
// Initialize Scene class object.
Scene scene = new Scene();
// Initiate FBXLoadOptions class object.
FBXLoadOptions opt = new FBXLoadOptions();
// Output all properties defined in GlobalSettings in FBX file.
opt.KeepBuiltinGlobalSettings = true;
// Load input FBX file
@muff-in
muff-in / resources.md
Last active May 22, 2026 15:52
A curated list of Assembly Language / Reversing / Malware Analysis / Game Hacking-resources
App.css
html, body, #root {
font: 0.9rem sans-serif;
background: #0a1f44;
color: #1e2432;
height: 100%;
margin: 0;
}
.main-container {
const maybeNull = null
if(maybeNull) { console.log("Not null") } else { console.log("Could be null") } // Could be null
for(let i = 0; null; i++) { console.log("Won't run") }
maybeNull ? console.log("truthy value") : console.log("Falsy value") // falsy value
@bradtraversy
bradtraversy / vscode_shortcuts.md
Last active May 23, 2026 10:57
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

@lukecav
lukecav / stages.js
Last active August 19, 2021 12:49
k6 - stages ramping example script
import http from "k6/http";
import { check } from "k6";
/*
* Stages (aka ramping) is how you, in code, specify the ramping of VUs.
* That is, how many VUs should be active and generating traffic against
* the target system at any specific point in time for the duration of
* the test.
*
@AndreySkyFoxSidorov
AndreySkyFoxSidorov / FindGUIDinObject
Created November 2, 2016 10:56
Search object in Prefabs, Material, Scene, by GUID
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using System;
using System.IO;
public class findGuid : MonoBehaviour {