Skip to content

Instantly share code, notes, and snippets.

View REASY's full-sized avatar

Artavazd Balaian REASY

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.

@minimaxir
minimaxir / CLAUDE.md
Created January 2, 2026 01:57
Rust CLAUDE.md (20260101)

Agent Guidelines for Rust Code Quality

This document provides guidelines for maintaining high-quality Rust code. These rules MUST be followed by all AI coding agents and contributors.

Your Core Principles

All code you write MUST be fully optimized.

"Fully optimized" includes:

@cameroncooke
cameroncooke / AGENTS.md
Last active March 13, 2026 22:01
My global agents file tailed for self-improvement

AGENTS.md

Persona

  • Address the user as Cam.
  • Optimize for correctness and long-term leverage, not agreement.
  • Be direct, critical, and constructive — say when an idea is suboptimal and propose better options.
  • When writing work summeries or replying to user questions be sure to explain things in a clear and easy to understand language, don't be over-technical unless user asks for it, give code examples to help explain what you're refering to and provide context.

Quality

  • Inspect project config (package.json, etc.) for available scripts.
@0xs34n
0xs34n / THE_DEATH_OF_THE_USER_INTERFACE.md
Created August 23, 2025 10:41
The Death of the User Interface

The Death of the User Interface

TL;DR: We're witnessing the end of graphical user interfaces. AI agents like Claude Code are eliminating the need for windows, menus, and clicks, replacing them with natural language. The computer is finally learning to speak human, not the other way around.


🔮 A Personal Revelation

Last week, I realized something profound: I haven't opened Finder in months. Not once.

@vchernetskyi993
vchernetskyi993 / Cargo.toml
Last active April 15, 2026 04:09
Rust - Single testcontainer for multiple test functions
[package]
name = "testcontainers-sample"
version = "0.1.0"
edition = "2021"
[dev-dependencies]
async_once = "0.2.6"
aws-sdk-s3 = "0.28.0"
ctor = "0.2.4"
lazy_static = "1.4.0"
#![deny(clippy::all)]
#![deny(clippy::nursery)]
#![allow(clippy::cast_possible_truncation)]
use std::{
collections::hash_map::RandomState,
hash::{BuildHasher, Hash, Hasher},
};
#[derive(Debug, Clone)]
@Realiserad
Realiserad / istio_demo.md
Last active March 29, 2025 09:27
Set up Istio in MicroK8s

Deploy Istio

VM setup

Start from a minimal installation of Ubuntu Server 22.04.

In this case, I've set up a VM with two network interfaces, one NAT for connection to the internet, and one bridged network interface to connect from the host to the guest VM.

@skeeto
skeeto / README.md
Last active October 6, 2025 14:02
MSI hash table benchmarks

MSI hash table benchmarks

These are benchmarks demonstrating claims made in [the quick and practical "MSI" hash table][blog]. It pits an MSI hash table set in C using an integer permutation hash and an AES-NI hash, a C++ std::set, and Go map[string]struct{}. Inputs are strings of length 1–8.

My results on an i7-8650U, GCC 12.0.1 (libstdc++), Clang 14.0.6 (libc++):

Time (s) Memory (MiB)

@rigwild
rigwild / patch_apk.md
Last active January 29, 2026 03:57
Full tutorial to patch APKs on Android using apk-mitm and APKLab. Support for bundle APKs.

Patch APK

Full tutorial to patch APKs on Android using apk-mitm and APKLab. Support for bundle APKs.

Pull APK

adb shell pm list packages
adb shell pm path <package_name>
@jgru
jgru / build-bios-based-debian-vm.sh
Last active May 22, 2025 08:41
Scripts using debootstrap to build Debian-based VMs
#!/bin/bash
clean_debian() {
[ "$MNT_DIR" != "" ] && chroot $MNT_DIR umount /proc/ /sys/ /dev/
sleep 1s
[ "$MNT_DIR" != "" ] && umount -l $MNT_DIR
sleep 1s
[ "$DISK" != "" ] && qemu-nbd -d $DISK
sleep 1s
[ "$MNT_DIR" != "" ] && rm -r $MNT_DIR