Skip to content

Instantly share code, notes, and snippets.

@kkebo
kkebo / ssh.plist
Last active December 5, 2026 01:21
Plist file for LaunchAgents when OpenSSH is installed via Homebrew (for macOS 13 aarch64)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<true/>
<key>Label</key>
<string>com.openssh.sshd.homebrew</string>
<key>Program</key>
<string>/opt/homebrew/sbin/sshd</string>
@jonlabelle
jonlabelle / regular_expression_cheatsheet.md
Last active December 5, 2026 01:21
Regular Expression Cheatsheet

Regular Expression Cheatsheet

Anchors

^   Matches at the start of string or start of line if multi-line mode is
	enabled. Many regex implementations have multi-line mode enabled by
	default.

$ Matches at the end of string or end of line if multi-line mode is enabled.
@denilsonsa
denilsonsa / List of alternative launchers for Android TV.md
Last active December 5, 2026 01:15
List of alternative launchers for Android TV

This was originally shared on reddit, but for some reason I cannot update it anymore. I've now mirrored it as this GitHub Gist.

List of alternative launchers for Android TV

For whatever reason, it's really difficult to discover alternative launchers for Android TV. Sure, you can find a couple of them, but there are so many terrible results that you will end up wasting quite some time.

Thus, I've compiled this list of alternative Android TV launchers. It's not comprehensive (I'm certain I missed some, please suggest them in comments); I'm not endorsing any particular one; and I have not tried all of them. Some are free, some are paid. Some contain ads. Some contain IAP (in-app purchases). Some require too many intrusive permissions.


@lltx
lltx / terminal-setup.md
Last active December 5, 2026 01:13
🚀 现代化终端配置指南 - Ghostty + Zoxide + Yazi + Oh-My-Zsh

🚀 现代化终端配置指南

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

验证环境(2026-10-28):macOS 15.6.1、Zsh 5.9、Ghostty 1.4.0、Yazi 26.1.22。Yazi 配置已在本机读取核验。 Zoxide 和 Oh-My-Zsh 未做版本兼容性验证。

📦 工具列表

| 工具 | 用途 |

@Obzl
Obzl / gist:6da5a8ffa090393d5b383f0827a0e4d7
Created December 29, 2022 03:32
Free Windows Server Key
Windows Server 2022 Standard key:
HP9DJ-NK2X6-4QPCH-8HY8H-6X2XY
RRNMT-FP29D-CHKCH-GWQP2-DDDVB
44QN4-X3R72-9X3VK-3DWD6-HFWDM
CGGN9-DG8BW-PMBB4-Y79Y9-Y7X7B
PGQ8Y-WHN93-WY67T-FJXP7-QPHHB
Windows Server 2022 Datacenter Key
N7MMC-VGFH4-GVRDT-K9Q44-X2HJH
MNF6T-BTCTK-Q4HPP-KP2WG-VCHJH
@colinmollenhour
colinmollenhour / README.md
Last active December 5, 2026 00:50
Traefik Expired Cert Cleanup

Traefik ACME Certificate Cleanup Script

A Python script to clean up expired Let's Encrypt certificates from Traefik's acme.json file.

Features

  • Removes expired certificates from acme.json.
  • Auto-detects acme.json file version (v1 and v2/v3).
  • Handles both top-level and resolver-based certificate structures.
  • Provides informative output, including the names of removed certificates.

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.

@tuetenk0pp
tuetenk0pp / media-workflow-jellyfin.md
Last active December 5, 2026 00:42
Media Workflow for Jellyfin
@karlseguin
karlseguin / test_runner.zig
Last active December 5, 2026 00:14
Custom Zig Test Runner, better ouput, timing display, and support for special "tests:beforeAll" and "tests:afterAll" tests
// This is for the Zig 0.17.
// Zig 0.16: https://gist.github.com/karlseguin/c6bea5b35e4e8d26af6f81c22cb5d76b/8e82642093d2f4341fb870d18d1fe5b213b2fd11
// Zig 0.15.2: https://gist.github.com/karlseguin/c6bea5b35e4e8d26af6f81c22cb5d76b/eb15512d6ae49663fa9df6c7a9725b20dab43edd
// Zig 0.14.1: https://gist.github.com/karlseguin/c6bea5b35e4e8d26af6f81c22cb5d76b/1f317ebc9cd09bc50fd5591d09c34255e15d1d85
// in your build.zig, you can specify a custom test runner:
// const tests = b.addTest(.{
// .root_module = $MODULE_BEING_TESTED,
// .test_runner = .{ .path = b.path("test_runner.zig"), .mode = .simple },