Skip to content

Instantly share code, notes, and snippets.

@jscott3201
jscott3201 / custom_pub_chat_template_gemma4.jinja
Created May 23, 2026 03:01
A drop-in replacement chat template for google/gemma-4-31B-it tuned for open-source agentic coding harnesses.
{#---------------------------------------------------------------------
custom_pub_chat_template_gemma4.jinja
=====================================
A public, harness-friendly fork of Google's Gemma 4 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.

@clausd84
clausd84 / tado_temp_offset.yaml
Last active June 3, 2026 20:20 — forked from sanderma/tado_temp_offset.yaml
Homeassistant blueprint to set Tado offset using separate temperature sensor
blueprint:
name: Tado temperature offset v1.5.2
description: |
Ensure the Tado smart valve aligns with the temperature of a separate sensor.
Adjusts the offset only when the difference exceeds ±0.5°C and incorporates hysteresis.
Changelog:
- v1.4: Initial implementation to adjust the Tado offset based on an external sensor.
- v1.4.1: Adjusted triggers to apply a 5-minute delay for state changes to reduce sensitivity to transient fluctuations.
- v1.4.2: Further ensured the state persists for 5 minutes to reduce unnecessary trigger activations and improve stability.
@leocomelli
leocomelli / git.md
Last active June 3, 2026 20:19
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

journalctl -b -1 | grep -i -E "oom|fork|hung|lock"
# check if spawn added
swapon --show
# add swap if not
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
@K1ethoang
K1ethoang / Active StarUml version 6 for Window | MacOS | Linux.md
Last active June 3, 2026 20:17
Active StarUml version 6 for Window | MacOS | Linux
@HFTrader
HFTrader / PacmanCheatsheet.md
Last active June 3, 2026 20:14
Pacman Cheatsheet

Installing packages

Note that packages often have a series of optdepends - optional dependencies - which are packages that provide additional functionality to the application, albeit not strictly required for running it. When installing a package, pacman will list its optional dependencies among the output messages, but they will not be found in pacman.log: use the pacman -Si (see Querying package databases) command to view the optional dependencies of a package, together with short descriptions of their functionality.

⚠️ Partial upgrades are not supported 69

Installing specific packages

To install a single package or list of packages (including dependencies), issue the following command:

@DiegoRBaquero
DiegoRBaquero / readme.md
Last active June 3, 2026 20:09
Running Claude Code with a local LLM

Boost Prompt

A prompt to boost your lazy "do this" prompts. Install with one of the buttons below.

Install in VS Code Install in VS Code Insiders

Use