Skip to content

Instantly share code, notes, and snippets.

@jwbee
jwbee / jq.md
Last active July 10, 2026 21:17
Make Ubuntu packages 90% faster by rebuilding them

Make Ubuntu packages 90% faster by rebuilding them

TL;DR

You can take the same source code package that Ubuntu uses to build jq, compile it again, and realize 90% better performance.

Setting

I use jq for processing GeoJSON files and other open data offered in JSON format. Today I am working with a 500MB GeoJSON file that contains the Alameda County Assessor's parcel map. I want to run a query that prints the city for every parcel worth more than a threshold amount. The program is

@gitgotgitgotit
gitgotgitgotit / Bh.md
Last active July 10, 2026 21:16
🐕 BloodHound Ecosystem
bloodhound_ecosystem_infographic

🐕 BloodHound Ecosystem

A structured overview of the BloodHound attack-path analysis ecosystem — official ingestors, community collectors, converters, ADWS alternatives, analysis tools, deployment helpers, and supporting frameworks.

Legend

  • 🟢 Official — maintained by SpecterOps
  • 🔵 Community — third-party / unofficial
@sivinnguyen
sivinnguyen / ubuntu_touch_redmi_9a.md
Last active July 10, 2026 21:14
How to install Ubuntu Touch on Xiaomi Redmi 9A/9C (Draft)
@fnky
fnky / ANSI.md
Last active July 10, 2026 21:14
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@parkerlreed
parkerlreed / betteradbcopy
Last active July 10, 2026 21:11
betteradbcopy - Multi-threaded SCP to/from Android device over USB/WiFi with Termux
#!/bin/bash
# Make sure to have OpenSSH setup in Termux as well as setting a password with `passwd`
# Requires https://github.com/upa/mscp and adb platform tools on your local machine
init_sshd() {
adb shell -t "run-as com.termux files/usr/bin/bash -lic 'export PATH=/data/data/com.termux/files/usr/bin:\$PATH; export LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so; sshd'"
adb forward tcp:8022 tcp:8022;
}
stop_sshd() {
adb shell -t "run-as com.termux files/usr/bin/bash -lic 'export PATH=/data/data/com.termux/files/usr/bin:\$PATH; export LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so; killall sshd'"
@ezracb
ezracb / VMware Workstation Pro and Fusion Pro Licence Keys
Created April 9, 2021 14:43
VMware Workstation Pro and Fusion Pro Licence Keys
Obviously using these keys may be a grey area. I use them for my computer, but there are no guarentees VMware won't sue you if you use them in a commercial environment.
VMware Workstation 16
YF390-0HF8P-M81RQ-2DXQE-M2UT6
VMware Fusion Pro 12
YF390-0HF8P-M81RQ-2DXQE-M2UT6
As far as I know, this key works on both Fusion and Workstation.

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.

using UnityEngine;
public static class Bootstrapper {
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
public static void Execute() {
Object.DontDestroyOnLoad(Object.Instantiate(Resources.Load("Systems")));
}
}
@0cyris
0cyris / SKILL.md
Created July 10, 2026 18:25
Build or refactor a SillyTavern Game Master / Storyteller / Dungeon Master character card for a tabletop RPG system. Use this whenever the user wants to create a GM/ST/DM card for a TTRPG (any system — D&D, Vampire, Wrath & Glory, Call of Cthulhu, PbtA, Blades, etc.), diagnose why an existing GM card "feels flat" or "breaks character," fix NPCs …
name sillytavern-gm-card
description Build or refactor a SillyTavern Game Master / Storyteller / Dungeon Master character card for a tabletop RPG system. Use this whenever the user wants to create a GM/ST/DM card for a TTRPG (any system — D&D, Vampire, Wrath & Glory, Call of Cthulhu, PbtA, Blades, etc.), diagnose why an existing GM card "feels flat" or "breaks character," fix NPCs that "lack their own goals," split a campaign-specific card into a reusable foundation plus per-chronicle overrides, or set up the world/NPC half of a multi-agent group chat. Trigger even when the user just uploads a card JSON and asks "any issues with this?" or describes GM behavior problems (rolling for the player, monologuing NPCs, controlling party members, manufacturing tension) without naming the card explicitly.

Building SillyTavern GM Cards

A GM card is not a character card. A normal character card defines one persona to be; a GM card defines an engine that runs a game — framing scenes, voicing every NPC, a