Skip to content

Instantly share code, notes, and snippets.

@jscott3201
jscott3201 / custom_pub_chat_template_qwen36.jinja
Created May 25, 2026 17:08
A drop-in replacement chat template for Qwen/Qwen3.6-27B tuned for open-source agentic coding harnesses.
{#---------------------------------------------------------------------
custom_pub_chat_template_qwen36.jinja
=====================================
A public, harness-friendly fork of Qwen's Qwen3.6-27B chat template,
tuned for open-source agentic coding harnesses like:
- anomalyco/opencode (https://github.com/anomalyco/opencode)
- earendil-works/pi (https://github.com/earendil-works/pi)
- openclaw, OpenHarness, similar Claude-Code-style harnesses
WHY THIS FORK EXISTS

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.

@simonista
simonista / .vimrc
Last active May 25, 2026 17:39
A basic .vimrc file that will serve as a good template on which to build.
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" TODO: Load plugins here (pathogen or vundle)
" Turn on syntax highlighting
syntax on

Podman Cheatsheet

This cheat sheet covers the commands used for working with Podman, a popular tool for managing containers. Podman commands are mostly compatible with Docker. As stated on the Podman landing page, "Podman is a daemonless, open source, Linux native tool designed to make it easy to find, run, build, share and deploy applications using Open Containers Initiative (OCI) Containers and Container Images."

Image repositories

# List all local images
podman images
# Remove (forced) a local image from the local cache
@m-ou-se
m-ou-se / replace-debian-with-arch.txt
Last active May 25, 2026 17:34
Instructions to replace a live Debian installation with Arch
# Download latest archlinux bootstrap package, see https://www.archlinux.org/download/
wget 'ftp://ftp.nluug.nl/pub/os/Linux/distr/archlinux/iso/latest/archlinux-bootstrap-*-x86_64.tar.gz'
# Make sure you'll have enough entropy for pacman-key later.
apt-get install haveged
# Install the arch bootstrap image in a tmpfs.
mount -t tmpfs none /mnt
cd /mnt
tar xvf ~/archlinux-bootstrap-*-x86_64.tar.gz --strip-components=1
@tectiv3
tectiv3 / Export-OSX-Notes-to-MD.applescript
Last active May 25, 2026 17:30
Export notes from the OSX Notes.app to separate Markdown files prefixed with the creation timestamp.
on buildTitle(originalText)
set normalizedText to my replace(originalText, ":", "-")
set normalizedText to my replace(normalizedText, "|", "")
set normalizedText to my replace(normalizedText, "{", "")
set normalizedText to my replace(normalizedText, "}", "")
set normalizedText to my replace(normalizedText, " ", "_")
set normalizedText to my replace(normalizedText, "/", "_")
set normalizedText to my replace(normalizedText, "\\", "_")
set normalizedText to my replace(normalizedText, "*", "")
set normalizedText to my replace(normalizedText, ".", "")

description: Review uncommitted changes mode: subagent model: openai/gpt-5.1-codex-max-xhigh temperature: 0.05 reasoningEffort: high textVerbosity: low tools: write: false edit: false

-- Client side events that are abused with TriggerEvent
local ForbiddenClientEvents = {
"ambulancier:selfRespawn",
"bank:transfer",
"esx_ambulancejob:revive",
"esx-qalle-jail:openJailMenu",
"esx_jailer:wysylandoo",
"esx_policejob:getarrested",
"esx_society:openBossMenu",
"esx:spawnVehicle",