Skip to content

Instantly share code, notes, and snippets.

{
// Controls whether the editor shows CodeLens.
"diffEditor.codeLens": false,
// When enabled, the diff editor ignores changes in leading or trailing whitespace.
"diffEditor.ignoreTrimWhitespace": true,
// Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.
"diffEditor.maxComputationTime": 5000,

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.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active June 25, 2026 18:28
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you most likely WILL get flagged by doing so.

Complete Recent Discord Quest

"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@KrasimirKralev
KrasimirKralev / README.md
Last active June 25, 2026 18:26
Hermes Agent on NVIDIA Jetson Orin Nano — Practical setup guide, config, and health-check script for running a self-hosted AI agent on edge hardware

Hermes Agent on NVIDIA Jetson Orin Nano — Field Notes

Practical setup tips, performance observations, and gotchas from running a self-hosted AI agent runtime on a Jetson Orin Nano (8 GB) in production-like conditions.

Why the Orin Nano?

The Jetson Orin Nano is an odd duck: ARM64, 7–8 GB RAM shared between CPU/GPU, no x86 emulation shortcuts, and a Linux kernel that's just different enough to trip you up. But it's also:

  • Cheap to run (~15 W under load)
  • Silent (fan-cooled, no coil whine)
@stith
stith / readme.md
Created September 28, 2023 10:39
Rekordbox .flac to .aiff conversion

quick script that, given a rekordbox library.xml file, converts all .flac files to .aiff, preserving file metadata like cue points, play count, and album art. also maintains the file's bit rate.

probably will fail in some weird cases that i didn't have to care about with my tiny baby library

@Procid-GIT
Procid-GIT / gist.md
Last active June 25, 2026 18:25
OCR Model I made

So, I made my own OCR model, check it out at [https://github.com/Procid-GIT/fast-ocr-model-pytorch](https://github.com/Procid-GIT/fast-ocr-model-pytorch)!

Basic description:

It's a simple OCR Model that I made, that can recognize single characters pretty well. I am currently working on allowing it
to recognize sentences, transcribing images into text, but that is in a beta, which im attempting to implement via predicting single characters for every character in the sentence.

Its releases come in both a web deployment, and exe, with the web deployment coming with a frontend and backend, the web deployment runs on hugging face, with the frontend running here on github pages. It will take time for it to predict for the first user, as the hugging face backend is currently sleeping. So yeah, it uses CORS for that, and the AI for the web deployment runs on hugging face.

@jackcarey
jackcarey / youtube-playlist-cleanser.user.js
Last active June 25, 2026 18:19
YouTube Playlist Cleanser UserScript
// ==UserScript==
// @name Youtube Playlist Cleanser
// @version 2.4.1
// @description Removes watched videos from playlist either by %watched, date or all
// @author jackcarey / js6pak
// @match http*://*.youtube.com/*
// @match http*://youtube.com/*
// @run-at document-idle
// @homepageURL https://gist.github.com/jackcarey/ab8b23ebba87f3cf8d0ac4a2fa45eefc
// @downloadURL https://gist.github.com/jackcarey/ab8b23ebba87f3cf8d0ac4a2fa45eefc/raw/youtube-playlist-cleanser.user.js
@complxalgorithm
complxalgorithm / calculator.py
Created May 8, 2016 08:01
Simple Python calculator program.
# Program make a simple calculator that can add, subtract, multiply and divide using functions
# define functions
def add(x, y):
"""This function adds two numbers"""
return x + y
def subtract(x, y):
"""This function subtracts two numbers"""