Skip to content

Instantly share code, notes, and snippets.

View cheginit's full-sized avatar
πŸ•

Taher Chegini cheginit

πŸ•
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.

@glennmatlin
glennmatlin / claude_code_hooks_for_uv.md
Last active April 24, 2026 11:13
Claude Code hooks for working with `uv`

Claude Code Hooks for working with uv

by Glenn Matlin / glennmatlin on all socials

What This Does

Prevents Claude Code from using pip, python, pytest, etc. directly in projects that use uv for Python environment management. Instead, Claude is guided to use uv run, uv add, etc.

Smart detection:

  • Only activates in directories with pyproject.toml
#### ---------------------------------------------
## Edit via: RStudio > Tools > Edit Code Snippets
# Released under a MIT license
snippet fragment
[${1:text}]{.${2:type}}
snippet aside
[${1:text}]{.aside}

Moved to repo: /quenhus/uBlock-Origin-dev-filter

In order to keep filters up to date, please use this repo.

@devnoname120
devnoname120 / My macOS setup.md
Last active October 10, 2026 14:16
My macOS setup

ℹ️ Enable iCloud end-to-end encryption:

  • Nobody knows that, but iCloud actually supports end-to-end encryption (see β€œAdvanced Data Protection for iCloud”) but it’s disabled by default. If you care about data privacy, you should turn it on.
    • System settings β†’ Apple ID β†’ iCloud β†’ Set Advanced Data Protection to On.
    • System settings β†’ Apple ID β†’ iCloud β†’ Disable Access iCloud Data on the Web.
  • It supports almost all the native Apple apps, with the notable exceptions of iCloud Mail, Contacts, and Calendars. See official data protection matrix for more info.

Table of Contents

@vleugelcomplement
vleugelcomplement / piticks.py
Last active September 21, 2023 12:53
matplotlib ticks at multiples of pi
"""
An example of an attempt to get non-standard ticks in matplotlib plot.
Here, we use Ο€/3 as unit length.
"""
import numpy as np
from fractions import Fraction as frac
import matplotlib.pyplot as plt
from matplotlib.ticker import FuncFormatter, MultipleLocator
@steven2358
steven2358 / ffmpeg.md
Last active October 18, 2026 19:28
FFmpeg cheat sheet
@lukas-h
lukas-h / license-badges.md
Last active October 11, 2026 17:44
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

@leonkorteweg
leonkorteweg / mirror-remote-folder-lftp.md
Last active October 16, 2024 15:49
Mirror a remote folder from the command line

Mirror a remote folder from the command line

Small but incredibly useful guide from wiak, posted on http://superuser.com/questions/40281/how-do-i-get-an-entire-directory-in-sftp

How to mirror a remote folder with lftp

well this little guide should help, mirror a remote server to local folder with lftp

lftp sftp://user:password@server.org:22 -e 'mirror --verbose --use-pget-n=8 -c /remote/path /local/path'
@rxaviers
rxaviers / gist:7360908
Last active October 18, 2026 16:55
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: