Skip to content

Instantly share code, notes, and snippets.

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.

@Klerith
Klerith / instalaciones-patrones.md
Last active June 3, 2026 16:18
Instalaciones recomendadas para el curso de Patrones de diseño

Patrones de diseño

Soluciones prácticas y eficientes

Esta es la lista de instalaciones recomendadas, si encuentran enlaces adicionales o cambios en este Gist, pueden hacerlos.

@swamikevala
swamikevala / rhel9-sssd-samba-ad.md
Last active June 3, 2026 16:27
Configure RHEL9.5 with sssd, samba and AD (by OpenAI Deep Research)

RHEL 9.5 AD Integration with SSSD and Samba (Step-by-Step Guide)

Important Note: (18-Feb-2025) This gist has some issues. Please see the addendum. Thanks @hortimech for pointing this out

A step-by-step configuration guide for setting up RHEL 9.5 with SSSD and Samba for Active Directory integration. Covers all required configuration files, settings, and explanations for each option. Also sources for further documentation and troubleshooting recommendations:

  • Domain Joining with SSSD (configuring sssd.conf, realmd, Kerberos, and automatic authentication for SSH and Samba)
  • Samba Configuration with SSSD (using sss as the backend for identity mapping, Kerberos authentication, and ensuring smooth Windows/Mac access)
  • Kerberos-based Single Sign-On (SSO) (ensuring users can access SMB shares without re-entering credentials)
  • Offline Authentication (caching credentials for when AD is unreachable)
@abhijeeth-babu
abhijeeth-babu / gnome-weather-hack.sh
Created February 4, 2025 08:21
Script to add your desired location to gnome weather
#!/bin/bash
# Check if required parameters are provided
if [ "$#" -lt 3 ]; then
echo "Usage: $0 <latitude> <longitude> <location name>"
echo "Example: $0 51.5074 -0.1278 \"London, UK\""
exit 1
fi
# Store parameters
@sunny-rochiramani
sunny-rochiramani / gist:dd7f837000a75ccdc37c8f1d01db8f23
Last active June 3, 2026 16:01
Export all Pull Requests to CSV for the last year (example for SOC2 compliance)
gh pr list --state merged --repo <repo owner/repo name> --search 'merged:>=YYYY-MM-DD sort:updated-asc' --json 'number,title,closedAt,url' --limit 1000 | jq -r '.[] | [.number, .title, .closedAt, .url] | @csv' > github-pr.csv
// Notes
// 1) Searching has a hard limit of 1000 items so you'll have to split results into date ranges.
@Abhayprince
Abhayprince / MainActivity.cs
Created January 23, 2025 18:45
Handle keyboard overlap in the Blazor Webview - .Net MAUI Blazor Hybrid Apps
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Content.Res;
using Android.OS;
using Android.Widget;
using static Android.Resource;
namespace FreshVegCart
{