Skip to content

Instantly share code, notes, and snippets.

@lltx
lltx / terminal-setup.md
Created March 23, 2026 01:07
🚀 现代化终端配置指南 - Ghostty + Zoxide + Yazi + Oh-My-Zsh

🚀 现代化终端配置指南

Ghostty + Zoxide + Yazi + Oh-My-Zsh 完整配置

📦 工具列表

  • Ghostty - 现代化 GPU 加速终端模拟器
  • Zoxide - 智能目录跳转工具(cd 的智能替代)
  • Yazi - 快速终端文件管理器
  • Oh-My-Zsh - Zsh 配置框架

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.

@craigtp
craigtp / AdvancedDistributedSystemDesignCourseNotes.md
Created May 1, 2020 19:38
Notes on Udi Dahan's Advanced Distributed System Design Course

Advanced Distributed System Design Course - Udi Dahan

Notes by Craig Phillips

Fallacies of Distributed Computing

  • There are 11 fallacies of Distributed Computing:
    1. The network is reliable
    2. Latency isn’t a problem
    3. Bandwidth isn’t a problem
    4. The network is secure
  1. The topology won’t change
@aparente
aparente / SKILL.md
Last active May 31, 2026 16:37
tufte-viz Claude Code skill — Edward Tufte data visualization principles

name: tufte-viz description: | Ideate and critique data visualizations using Edward Tufte's principles from "The Visual Display of Quantitative Information." Use this skill when: (1) Designing new data visualizations or charts (2) Critiquing or improving existing visualizations (3) Reviewing dashboards or reports for graphical integrity (4) Deciding between visualization approaches (5) Reducing chartjunk or improving data-ink ratio (6) Planning small multiples or high-density displays

@yusiwei77-star
yusiwei77-star / Tencent_Adblock_Patch.sgmodule
Created May 31, 2026 16:29
自用腾讯/QQ音乐终极去广告补丁
#!name = 腾讯与QQ音乐终极去广告补丁
#!desc = 强力封锁腾讯HTTPDNS服务、MDT投放平台及rdeliver开屏下发。解决卸载重装广告复活问题。
[Rule]
IP-CIDR,182.254.116.116/32,REJECT,no-resolve
IP-CIDR,119.29.29.29/32,REJECT,no-resolve
DOMAIN,httpdns.kg.qq.com,REJECT
DOMAIN,rdeliver.qq.com,REJECT
DOMAIN,appcfg.v.qq.com,REJECT
DOMAIN-SUFFIX,tencentmusic.com,REJECT

lnr Work Management System

Overview

lnr is an append-only, file-based lnr work management system designed for AI coding agents. Lnr work is organized into phases - coherent units of effort that match how AI agents naturally operate. The system requires no indices, no status tracking, and no complex tooling. State is derived entirely from which files exist in the directory.

Core Principles

Lnr work happens in phases, not issues or tickets. Each phase represents a coherent push toward a specific goal. Phases can be small (refactor a function) or large (implement authentication system).

#!/usr/bin/env python3
import serial
import struct
import sys
with serial.Serial(sys.argv[1], 115200) as ser:
while True:
pkt = ser.read(10)
#print("PKT: ", pkt)