Skip to content

Instantly share code, notes, and snippets.

@lunohodov
lunohodov / ral_classic.csv
Last active November 21, 2026 18:09
RAL Classic color table (CSV)
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 11 columns, instead of 4 in line 9.
RAL,RGB,HEX,CMYK,LRV,English,German,French,Spanish,Italian,Dutch
RAL 1000,205-186-136,#CDBA88,0-9-34-20,51.79,Green beige,Grünbeige,Beige vert,Beige verdoso,Beige verdastro,Groenbeige
RAL 1001,208-176-132,#D0B084,0-15-37-18,48.09,Beige,Beige,Beige,Beige,Beige,Beige
RAL 1002,210-170-109,#D2AA6D,0-19-48-18,45.07,Sand yellow,Sandgelb,Jaune sable,Amarillo arena,Giallo sabbia,Zandgeel
RAL 1003,249-169-0,#F9A900,0-32-100-2,49.05,Signal yellow,Signalgelb,Jaune de sécurité,Amarillo señales,Giallo segnale,Signaalgeel
RAL 1004,228-158-0,#E49E00,0-31-100-11,42.13,Golden yellow,Goldgelb,Jaune or,Amarillo oro,Giallo oro,Goudgeel
RAL 1005,203-143-0,#CB8F00,0-30-100-20,34.15,Honey yellow,Honiggelb,Jaune miel,Amarillo miel,Giallo miele,Honinggeel
RAL 1006,225-144-0,#E19000,0-36-100-12,37.45,Maize yellow,Maisgelb,Jaune maïs,Amarillo maíz,Giallo polenta,Maisgeel
RAL 1007,232-140-0,#E88C00,0-40-100-9,37.63,Daffodil yellow,Narzissengelb,Jaune narcisse,Amarillo narciso,Giallo narciso,Narcissengeel
RAL 1011,175-128-80,#AF8050,0-27
@quantizor
quantizor / 00-knowledge-system-recipe.md
Last active November 21, 2026 17:34
knowledge system recipe

Knowledge system recipe

This recipe gives a coding agent a shared memory that outlives its sessions. Hand these files to your agent and it builds four parts that work together:

  • kb: a searchable folder of short technical docs, plus a CLI to search it and to queue new knowledge
  • librarian: the only agent allowed to write docs; it runs on a schedule and files, merges, fact-checks and prunes them
  • debrief: an end-of-session review that reads the session's own transcript and turns what went wrong or was learned into fixes and kb submissions
  • kb hooks: small harness hooks that show relevant docs to the agent without being asked, and check each doc as it is written

The recipe works with any harness and any language. It describes contracts, data shapes and procedures. A few excerpts show the algorithms where exact behavior matters. Your agent writes the code in whatever stack your machine already has.

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.

@aliscco
aliscco / playground.rs
Created June 21, 2021 23:28 — forked from rust-play/playground.rs
Code shared from the Rust Playground
fn mock<T: Into<String>, I: IntoIterator<Item = T>>(_: I) {}
struct Merchant<'a> {
name: &'a str,
billing_portal: &'a str,
billing_period: &'a str,
stripe_id: Option<&'a str>,
}
fn merchant() -> Merchant { unimplemented!(); }
@mcmoe
mcmoe / java-keytool.md
Last active November 21, 2026 16:31
Creating a keystore and truststore using the Java keytool plus useful check and modification keytool commands

Creating a keystore and exporting its certificate into a new truststore

Create the Keystore and generate a certificate, an example is shown below:

keytool -genkey -alias client -keyalg RSA -keystore client.jks -keysize 2048

Export a certificate from a Keystore:

keytool -export -alias client -file client.crt -keystore client.jks

Import the certificate to a Truststore:

keytool -import -v -trustcacerts -alias client -file client.crt -keystore clienttrust.jks

@fedelkev
fedelkev / CrossOverLicence.sh
Created March 14, 2026 04:10 — forked from repsejnworb/CrossOverLicence.sh
unlimited CrossOver 24 trial (MacOS)
#!/bin/sh
# Variables
FOLDER_NAME="CrossOverLicence"
PLIST_NAME="com.codeweavers.CrossOver.license.plist"
BOTTLES_PATH="$HOME/Library/Application Support/CrossOver/Bottles"
SCRIPT_URL="https://gist.githubusercontent.com/repsejnworb/84d3e0852cf90ef40edf7e9c060f193b/raw/CrossOverLicence.sh?token=$(date +%s)"
TOTAL_STEPS=3
STEP=0
@zentala
zentala / lxc_create_container.sh
Last active November 21, 2026 16:01
Create LXC Ubuntu Bionic privileged container, with SSH server, new passwordless sudo user, with ZSH and oh-my-zsh
#!/bin/bash
# Usage:
# $ chmod +x lxc_create_container.sh
# $ ./lxc_create_container.sh <container-name>
# What this script is doing?
# * Creating new LXC container
# * Making it privileged (giving root permissions)
# * Creating new user (you can configure login and pass below)
@dansleboby
dansleboby / get_subtitle_files.js
Last active November 21, 2026 15:36
Suno.com Aligned Words Fetcher to SRT or LRC file
// ==UserScript==
// @name Suno Aligned Words Fetcher with Auth
// @namespace http://tampermonkey.net/
// @version 1.3
// @description Fetch aligned words with auth and add a button under the image on Suno pages.
// @author Dschibait
// @match https://suno.com/song/*
// @grant none
// ==/UserScript==