Skip to content

Instantly share code, notes, and snippets.

@Mythologyli
Mythologyli / DisableTabletMode.reg
Created November 19, 2022 13:39
Registry script to disable tablet mode in Windows 11
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl]
"ConvertibleSlateMode"=dword:00000001

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.

@felipealfonsog
felipealfonsog / fix-pip.sh
Last active August 30, 2026 08:31
Removing Python's EXTERNALLY-MANAGED lock
#!/usr/bin/env bash
echo "──────────────────────────────────────────────"
echo " Removing Python's EXTERNALLY-MANAGED lock "
echo "──────────────────────────────────────────────"
echo "* Developed and engineered by:"
echo "* Felipe Alfonso Gonzalez <f.alfonso@res-ear.ch>"
echo "* Computer Science Engineer"
echo "* Chile"
echo "------------------------------------------------"
@VivianBalakrishnan
VivianBalakrishnan / okf-graph-wiki.md
Last active August 30, 2026 08:21
OKF Graph Wiki — Agent-Maintained Knowledge Graph for Context Retrieval

OKF Graph Wiki — Agent-Maintained Knowledge Graph for Context Retrieval

I've been running Andrej Karpathy's LLM Wiki pattern for several months — reading sources, compiling them into a compounding, git-diffable wiki instead of re-deriving everything from scratch every session — and I'm a genuine convert. But two things kept nagging at me: query salience (finding the right page reliably, not just something plausible) and token economy (not re-reading half the wiki to answer one question).

@Samarth0211
Samarth0211 / README.md
Created March 28, 2026 05:00
100 Claude Secret Codes — prompt shortcuts that change how Claude responds. Interactive version: clskills.in/prompts

Claude Secret Codes — 100 Prompt Shortcuts

100 prompt shortcuts that change how Claude responds. Type any code at the start of your message.

Interactive searchable version with copy-to-clipboard: clskills.in/prompts

Writing & Style

Code What it does
@fishster
fishster / gtranslatebypass.js
Created January 18, 2023 04:41 — forked from i0Z3R0/gtranslatebypass.js
Bypass blocked websites with this simple one-liner. Add this code as a page bookmark on Chrome (I haven't tested it on other platforms yet. Click on it and enter an address (excluding http/https) and press ok to visit an unblocked version of that website. This works and can let you access almost any blocked website by having Google Translate tra…
javascript:(function(){var destination = prompt("Destination (Don't include http/https: ");window.location='https://translate.google.com/translate?sl=auto&tl=en&u='+'https://'+destination})();
@Wang200935
Wang200935 / auto-refactor.js
Created August 21, 2026 06:57
AST + LLM 自動化重構核心腳本 — 用 babel-parser 解析 AST,visitor pattern 萃取純邏輯函式,LLM 局部重寫,AST 替換回原位,測試套件驗證行為一致
/**
* auto-refactor.js AST + LLM 自動化重構核心腳本
*
* 用法:
* node auto-refactor.js <檔案或目錄> [--dry-run]
*
* 流程:
* 1. babel-parser 將程式碼解析成 AST
* 2. visitor pattern 萃取「純邏輯」節點(無副作用)
* 3. 純邏輯片段送給 LLM 做局部重寫(保持輸出入一致)
Privacy Policy for [Bot Name]
This Privacy Policy governs the collection, use, and sharing of personal information by [Bot Name], a Discord bot developed by [Developer Name]. By using [Bot Name], you agree to the terms of this Privacy Policy.
Information We Collect
We collect information that you provide to us through your use of the bot, such as your Discord user ID and username, server and channel information, and message content. We may also collect usage data, such as the frequency and duration of your use of the bot.
How We Use Your Information