Skip to content

Instantly share code, notes, and snippets.

@M0r13n
M0r13n / doh
Last active September 9, 2026 20:39
Setup Cloudflare as a DoH (DNS over HTTPS) resolver on Mikrotik devices (RouterOS v7.0.2+)
# Temporarily add a normal upstream DNS resolver
/ip dns set servers=1.1.1.1,1.0.0.1
# CA certificates extracted from Mozilla
/tool fetch url=https://curl.se/ca/cacert.pem
# Import the downloaded ca-store (127 certificates)
/certificate import file-name=cacert.pem passphrase=""
# Set the DoH resolver to cloudflare

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.

@tmilos
tmilos / README.md
Last active September 9, 2026 20:38
Modified Preorder Tree Traversal

Modified Preorder Tree Traversal

Hierarchical data metrics that allows fast read operations on tree like structures.

Based on Left and Right fields that are set during tree traversal. When entered into node value is set to it's Left, when exiting node value is set to it's Right.

Sample implementation

@majamin
majamin / gentoo_kde_install.adoc
Last active September 9, 2026 20:35
Notes on installing KDE on Gentoo

KDE on Gentoo (December, 2024)

Preamble

NOTE

If you’re reading the plain text or Asciidoc version, see the

@Steepleclupray
Steepleclupray / roblox-aimlock-script-2026.md
Created September 9, 2026 20:35
A target-tracking utility designed for Roblox PC players. Locks your crosshair onto target character models with customizable smooth tracking, head/torso priority, wall checks, and team filters. Optimized for smooth execution across modern FPS titles via standard Lua executors with low resource usage.

🎯 Roblox Aimlock Script 2026 – Auto-Target & Track

Lock onto enemies instantly. Perfect aim tracking. Undetectable.

@alexanderlerch
alexanderlerch / data-sets.md
Last active September 9, 2026 20:35
list of MIR datasets
dataset meta data contents with audio
200DrumMachines 7371 one-shots yes
AAM onsets, pitches, instruments, melody instrument, keys, chords, tempo, beats 3000 (artificial) tracks yes
ACM_MIRUM tempo 1410 excerpts (60s) yes
ACPAS aligned audio and scores 2189 performances of 497 scores downloadable
AcousticBrainz-Genre 15-31 genres with 265-745 subgenres audio features for ove
@lhecker
lhecker / README.md
Last active September 9, 2026 20:34
DirectWrite for ImGui

DirectWrite for ImGui

This is a DirectWrite font loader for ImGui v1.92.9b. It uses C++23 and may need some slight adjustments to fit your needs.

Usage

ImGui::GetIO().Fonts->SetFontLoader(ImDWriteCreateFontLoader());
ImDWriteAddFontFamily(ImGui::GetIO().Fonts, "Segoe UI");
@alexziskind1
alexziskind1 / gist:fe55f03892f3fe1d6d8cf6065c631bb8
Created August 6, 2026 17:02
Compute exchange front end prompt
Create a production-ready, visually stunning **front-end web app**.
GOAL
Build a single-page application (plus detail routes) for a fictional company:
**"SILICON EXCHANGE"** — a marketplace where people rent out idle GPUs and AI
accelerators by the hour. Renters browse listings, inspect live utilization
charts, and reserve time blocks.
FRONT END ONLY. No backend, no database, no auth server, no API keys. All data
is mock data defined in code. But the app must behave like the real thing — the
@RexYuan
RexYuan / spark-compare.md
Last active September 9, 2026 20:23
True-to-scale Size Chart of Every DGX Spark Clone

True-to-scale Size Chart of Every DGX Spark Clone

Weight(kg)
Model Width(mm) Height(mm) Length(mm)