Skip to content

Instantly share code, notes, and snippets.

@caelinsutch
caelinsutch / after-dark.png
Last active November 19, 2026 05:43
Tinting iOS Safari's toolbar to match a modal scrim
after-dark.png
@lukas-h
lukas-h / license-badges.md
Last active November 19, 2026 05:27
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

@hmtheboy154
hmtheboy154 / 99-qudelix.rules
Created February 28, 2026 15:57
Qudelix-5k USB udev rules
# 44.1 KHz with Mic
# Qudelix-5K USB DAC/MIC 44.1KHz
KERNEL=="hidraw*", ATTRS{idVendor}=="0a12", ATTRS{idProduct}=="4126", MODE="0666"
# 48 KHz with Mic
# Qudelix-5K USB DAC/MIC 48KHz
KERNEL=="hidraw*", ATTRS{idVendor}=="0a12", ATTRS{idProduct}=="4125", MODE="0666"
# 44.1/48/88.2/96 KHz
# Mpow HC5 Headset in charging mode - HID / Mass Storage
@TfTHacker
TfTHacker / FastStart-StartupScript.js
Last active November 19, 2026 05:19
FastStart Script for Obsidian - makes it easy to delay the startup of plugins
<%*
fastStart = async (filename, delayInSecond) => {
if (tp.file.exists(filename)) {
const f = tp.file.find_tfile(filename);
let plugins = (await app.vault.read(f)).split(/\r?\n/);
setTimeout(async () => {
plugins.forEach(async (p) => await app.plugins.enablePlugin(p))
}, delayInSecond * 1000)
}
}
@TfTHacker
TfTHacker / FastStart-GenerateListOfInstalledPlugins.js
Last active November 19, 2026 05:19
Creates a list of all plugins installed in an Obsidian vault
<% Object.values(app.plugins.manifests).map(p=>p.id).sort((a,b)=>a.localeCompare(b)).join('\n') %>
@dotMorten
dotMorten / MSBuildCheatSheet.xml
Last active November 19, 2026 05:16
MSBuild Cheat Sheet
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
How to define a variable.
Just stick a new node in a property group.
-->
<PropertyGroup>
<!-- This node in a property group will define a variable -->
<TestVariable>Test Variable Value</TestVariable>
@MelbourneDeveloper
MelbourneDeveloper / Agents.md
Created November 18, 2026 20:48
Global Agents.md
  • 1 feature branch, 1 working tree: merge all loose branches/stashes/uncommitted files into it & push. Delete branches already merged into it
  • ❌ ask user questions. Decide, act, report. Act autonomously
  • Duplication = bug. Use deslop
  • Important lints → error. Run static analysis routinely
  • 🧹 After work: delete safe system caches & unneeded build files, kill your owned processes that eat CPU or memory and check disk space
  • Refactors: violent, immediate, no back-compat. Legacy code banned → delete now
  • Minimize code; decide toward less. Delete dead code now
  • 📦 Minimize 3rd-party deps: routinely delete unused packages/crates, add none without need, consolidate overlapping deps into one, avoid those with a vulnerability history
  • Reply ≤2 sentences, emojis for emphasis. Don't stream responses
  • ✅ Tick mandatory plan checklist items as you work
@pmarks-net
pmarks-net / xb3_disable_wifi.md
Last active November 19, 2026 05:26
Xfinity XB3 hardware mod: Disable WiFi and save 2 watts

Xfinity XB3 hardware mod: Disable WiFi and save 2 watts

Background

Comcast has a prepaid "Xfinity NOW" service that's cheaper than normal Xfinity, with unlimited data instead of a 1.2TB/month cap. If you currently have Xfinity, the NOW online signup is hidden, but when I called to cancel my Xfinity service on a date a couple weeks in the future, the NOW signup started working immediately. (I initially queried a neighbor's address to confirm that NOW was available in my area.)

The catch is that you can't use your own modem. They provide a free Arris TG1682P (also known as the XB3), but it's huge and uses more power (14.9 watts) than my Arris SB8200 (9.8 watts). I suspect they retired millions of these things and treat NOW as a recycling service.

The XB3 lets you enable bridge mode via the admin page at http://10.0.0.1/, and IPv4/IPv6 works just like a plain modem, but even in bridge mode, the gateway broadcasts several hidden SSIDs with no option to disable the radios. Curiously I did not see an `xf

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.

@changeroa
changeroa / README.md
Created November 19, 2026 00:15
Herdr orchestrator skill and Codex harness runtime

Herdr orchestrator and Codex harness

SKILL.md contains the orchestration skill. harness.patch contains the harness source, plugin metadata, hooks, installer and tests from changeroa/harness-runtime commit db05865d4b19087401bb71ae380e688019da955d.

To restore the harness from a clone of this Gist, run:

mkdir harness-runtime
(cd harness-runtime && git apply ../harness.patch && npm test)