Skip to content

Instantly share code, notes, and snippets.

local P=game.Players
local R=game:GetService("RunService")
local UIS=game:GetService("UserInputService")
local p=P.LocalPlayer
local f=false
local b=nil
local s=nil
local d=5
local w=16
local ws=w

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.

@AdamMarsden
AdamMarsden / sassas.md
Last active October 27, 2026 12:24
Sass Architecture Structure

Sass Architecture Structure

sass/
|
|– base/
|   |– _reset.scss       # Reset/normalize
|   |– _typography.scss  # Typography rules
|   ...                  # Etc…
|
name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections:

@ekurutepe
ekurutepe / DuoPose.swift
Created October 6, 2026 12:58
iPhone Duo Pose Detection
import SwiftUI
/// The fold posture of a dual-display ("iPhone Duo"-style) foldable device.
public enum DuoPose: String, Sendable, Equatable {
case outerDisplayClosed
case innerDisplayFullyOpen
case innerDisplayHalfFolded
case outerDisplayTentMode
/// No hinge information: not a foldable, or the view isn't in a hierarchy that provides hinge updates.
case unknown
@chowder
chowder / README.md
Last active October 27, 2026 12:14
Exporting Microsoft Authenticator TOTP secrets

Background

Workplaces may enforce TOTP 2FA to be enabled Office 365 accounts, which require the Microsoft Authenticator app to be installed.

Regular TOTP applications (such as Aegis, Authy, or LastPass) cannot be used as Microsoft uses a proprietary scheme called phonefactor. Furthermore, the application requires Google Services Framework (GSF) to be installed (likely to provide device notifications), and will refuse to work when it is not present on the device.

Forunately, after the registration is complete, the underlying mechanism the app uses to generate TOTP codes is regular otpauth, and its secrets can be exported with a little bit of effort.

Extracting the keys

Visual Studio 2026 18.x
Professional: NVTDK-QB8J9-M28GR-92BPC-BTHXK
Enterprise: VYGRN-WPR22-HG4X3-692BF-QGT2V
Product Year Version Product Keys
Visual Studio 2022 2021 17.x
Professional: TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise: VHF9H-NXBBB-638P6-6JHCY-88JWH
Visual Studio 2019 2019 16.x
@chtotam
chtotam / README.MD
Created July 5, 2026 06:03
BTMOB RAT on Android: A Stealthy RAT That's Actually Getting Scary

BTMOB RAT didn't explode onto the scene with massive noise. It crept in quietly, first spotted back in early 2025 as an offshoot of SpySolr. Now it's turned into a proper Malware-as-a-Service setup that gives pretty much anyone the tools to take over Android phones. What sets it apart isn't just another credential stealer. This one hands over real remote control. Attackers can pull screenshots, record audio, grab files, and watch the screen live. It digs in deep using Accessibility Services, so it stays running even when the user tries to shake it off. The builder is the nasty part. Buyers get a simple interface to crank out custom APKs and matching phishing pages. No coding needed. Pick a region, tweak the lure — streaming app, fake crypto miner, whatever works — and you're good to go. That's why it's spreading fast in Brazil and across Latin America. Phishing sites do the heavy lifting. They look like legit downloads for things like GB WhatsApp, browser updates, or banking apps. User clicks, installs the AP

@glyphloom
glyphloom / README.md
Last active October 27, 2026 12:03
Rosé Pine (Moon + Dawn) theme for Claude Desktop — DevTools snippet

Rosé Pine for Claude Desktop

An unofficial Rosé Pine theme for the Claude desktop app: Moon in dark mode, Dawn in light mode. It follows the app's Appearance setting.

Claude Desktop's Code tab in Rosé Pine Moon

Claude Desktop has no custom-theme support, and its app bundle is integrity-locked, so this runs as a DevTools snippet. You run it once per launch.

What it changes