Skip to content

Instantly share code, notes, and snippets.

Lutron LEAP Protocol Specification

LLM summary of the LEAP protocol based on reading pylutron-caseta (Python) and lutron-leap-js (TypeScript)

LEAP (Local Execution Access Protocol) is a proprietary JSON-over-TLS protocol used by Lutron smart lighting processors β€” including Caseta Smart Bridge, RadioRA 3 (RA3), and HomeWorks QSX (HWQSX) β€” for local LAN control of lighting, shading, fan, and sensor devices.


Table of Contents

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.

@rgreenjr
rgreenjr / postgres_queries_and_commands.sql
Last active November 18, 2026 18:19
Useful PostgreSQL Queries and Commands
-- show running queries (pre 9.2)
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query
FROM pg_stat_activity
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%'
ORDER BY query_start desc;
-- show running queries (9.2)
SELECT pid, age(clock_timestamp(), query_start), usename, query
FROM pg_stat_activity
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%'
@dexhorthy
dexhorthy / the-no-ai-slop-manifesto.md
Last active November 18, 2026 19:18
The No AI Slop Manifesto

No AI Slop: A Manifesto

Written by the speakers and attendees of AIE Code Summit 2026

In 2001, 17 software engineers and leaders got together at a ski lodge in Snowbird, Utah to understand the biggest challenge of their time: heavyweight, documentation-driven software development processes.

Out of this we got the Agile Manifesto, four values and twelve principles that changed how most of the industry builds software.

Today we convene to build our own manifesto - the No AI Slop manifesto.

@cgillinger
cgillinger / kindle-library-exporter.js
Last active November 18, 2026 18:06
Kindle Library Exporter – Export Kindle Library as CSV from read.amazon.com
/**
* πŸ“š Kindle Library Exporter + ISBN Lookup πŸ“š
*
* This script extracts book data (ASIN, Title, Authors) from https://read.amazon.com/kindle-library
* and searches for ISBN using Open Library API. The data is exported as a CSV file.
*
* 🚨 IMPORTANT: YOU MUST USE GOOGLE CHROME 🚨
* πŸ›‘ Why Google Chrome?
* - Amazon Kindle Library uses advanced security restrictions.
* - Other browsers (Firefox, Edge, Safari) may block access to book data due to security policies.
@jctosta
jctosta / screen_cheatsheet.markdown
Last active November 18, 2026 17:56
Screen Cheatsheet

Screen Quick Reference

Basic

Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r
@johnchandlerburnham
johnchandlerburnham / ATaxonomyOfSelfTypes.md
Last active November 18, 2026 17:55
A Taxonomy of Self Types

A Taxonomy of Self-Types

Part I: Introduction to Self-Types

Datatypes in the Formality programming language are built out of an unusual structure: the self-type. Roughly speaking, a self-type is a type that can depend or be a proposition on it's own value. For instance, the consider the 2 constructor datatype Bool: