Skip to content

Instantly share code, notes, and snippets.

@laundmo
laundmo / direct_scanout.md
Last active November 17, 2026 19:00
Wayland (KDE Plasma/KWin) direct scanout info/guide

Direct Scanout

What is it?

Direct scanout is a feature where the window manager configures the display controller to read the swapchain image buffer of a fullscreen window directly, without compositing. This reduces click-to-photon latency and may improve performance.

This will focus on KDE Plasma Wayland/KWin Wayland, but direct scanout is available on other compositors as well (like gnome, niri, cosmic, etc.). X11 might behave differently.

Requirements

Direct scanout will be enabled automatically for a window once it becomes compatible and theres nothing blocking direct scanout.

@ronyfadel
ronyfadel / apple-names-in-macos-sdk.md
Last active November 17, 2026 19:00
Apple engineer names in macOS system binaries and SDK headers

Apple engineer names in macOS system binaries and SDK headers

Scanned: the macOS arm64e combined system library file (dyld shared cache) and the macOS SDK in Xcode 27.2.

No real engineer home folders or desktop paths turned up. Every /Users/... string is either a system folder or a placeholder. Build paths are anonymized (/AppleInternal/Library/BuildRoots/4~<random id>/Library/Caches/com.apple.xbs/...). Names do appear in the places listed below.

Names in the system library file

Name Where

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.

@kepano
kepano / dropcaps.css
Created May 30, 2024 20:40
Obsidian drop caps
/* Obsidian CSS snippet that adds drop caps to the first paragraph of a note. */
.dropcaps .cm-content .cm-line:nth-child(2):first-letter,
.dropcaps .markdown-preview-sizer > div:nth-child(4) p:first-letter {
float: left;
font-weight: 600;
font-size: 300%;
line-height: 1;
margin-inline-end: 0.1em;
margin-bottom: -0.5rem;
@WildSiphon
WildSiphon / DockerDesktop.yaml
Created July 5, 2025 11:00
Docker Desktop direct download links
4.0.0:
Windows: https://desktop.docker.com/win/main/amd64/67817/Docker%20Desktop%20Installer.exe
Mac with Intel chip: https://desktop.docker.com/mac/main/amd64/67817/Docker.dmg
Mac with Apple chip: https://desktop.docker.com/mac/main/arm64/67817/Docker.dmg
release_date: '2021-08-31'
4.0.1:
Windows: https://desktop.docker.com/win/main/amd64/68347/Docker%20Desktop%20Installer.exe
Mac with Intel chip: https://desktop.docker.com/mac/main/amd64/68347/Docker.dmg
Mac with Apple chip: https://desktop.docker.com/mac/main/arm64/68347/Docker.dmg
release_date: '2021-09-13'
@przemoc
przemoc / import_github_stars_to_linkding.md
Created December 3, 2023 22:02
Import GitHub stars to linkding
@kibotu
kibotu / prompt-injections.md
Last active November 17, 2026 18:28
Prompt Injection & Jailbreak Techniques — Comprehensive Reference

Prompt Injection & Jailbreak Techniques — Comprehensive Reference

Purpose & scope. A defensive/educational knowledge base cataloguing known prompt-injection and jailbreak patterns, the models/systems they have affected, and the defenses against them. Compiled from primary literature (arXiv papers, vendor disclosures) and security research, June 2026.

How to read this. Every technique lists: how it works, an illustrative structural skeleton (the shape of the attack, not a weaponized payload), the models/systems it was reported against, and its current status. Examples are deliberately defanged. >

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 17, 2026 18:16
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example