Skip to content

Instantly share code, notes, and snippets.

@dmitry-osin
dmitry-osin / gorm-cheatsheet-rus.md
Created September 7, 2025 17:39
Шпаргалка GORM (Go ORM)

Подробная шпаргалка по GORM (Go ORM) на примере блога с сущностями User, Post, Tag + доп. пример полиморфизма (Comment).


1. Установка и базовая инициализация

go get -u gorm.io/gorm
go get -u gorm.io/driver/postgres

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.

@austinpray
austinpray / AdventureTime.csv
Last active May 11, 2026 18:29
List of important adventure time episodes
Season Episode Title Reason
1 5 The Enchiridion A good intro to the series, plus introduces the important Enchiridion
1 8 Business Time* First mention of Ooo being post-apocalyptic
1 9 My Two Favorite People Intros the Jake and LR plotline
1 10 Memories of Boom Boom Mountain A look at how Finn was adopted into Jake's Family
1 12 Evicted! Intros Marceline
1 16 Ocean of Fear Introduces Finn's phobia
1 22 Henchman* Establishes Finn and Marceline as friends
1 23 Rainy Day Daydream* good episode to show someone who’s never seen the show before
1 25 His Hero introduces the Lich and Billy
@iati-bot
iati-bot / errors
Last active November 9, 2019 14:56 — forked from Bjwebb/errors
4 amnesty amnesty-1 http://50jaar.amnesty.nl/IATIactivitystandaard_AINL_1stquarter2017.xml
4 amnesty amnesty-2 http://50jaar.amnesty.nl/IATIactivityorganisation_AINL1stquarter2017(f).xml
1 britishcouncil britishcouncil-activities
1 cafod cafod-latinamericageneral
8 cafod cafod-multipleglo http://www.cafod.org.uk/extra/data/iati/IATIFile_Multiple_GLO.xml
4 cafod cafod-yemenarabrepublic http://www.cafod.org.uk/extra/data/iati/IATIFile_Yemen_Arab_Republic.xml
1 cdc cdc-activity
8 ec-fpi ec-fpi-gm http://ec.europa.eu/europeaid/files/iati/XI-IATI-EC_FPI_C_GM.xml
1 ewb_canada ewb_canada-water_sanitation_2011
8 fco fco-20131231_4 https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/322661/Official_Development_Assistance__ODA__Frontline_2013-14_Q3_-_XML_format.xml
@m3y54m
m3y54m / terminal-proxy-settings.md
Last active August 10, 2026 09:29
Set Proxy in Terminal (Bash, CMD, PowerShell, etc.)
@vsavkin
vsavkin / tiny-factory.js
Created August 5, 2026 20:00
A small script implementing a tiny software factory
#!/usr/bin/env bun
// The factory trigger: finds workable Linear issues and hands each one to a
// detached Polygraph session that does the work end to end.
//
// FIND WORK here query Linear for Todo issues (project + label)
// CLASSIFY here claude -p: can an agent run this issue?
// DO THE WORK Polygraph one detached session, end to end
// COMPLETE here attach the session to the issue, move to In Progress
@kaimi-
kaimi- / gist:6b3c99538dce9e3d29ad647b325007c1
Last active August 10, 2026 08:57
Possible IP Bypass HTTP Headers
CACHE_INFO: 127.0.0.1
CF_CONNECTING_IP: 127.0.0.1
CF-Connecting-IP: 127.0.0.1
CLIENT_IP: 127.0.0.1
Client-IP: 127.0.0.1
COMING_FROM: 127.0.0.1
CONNECT_VIA_IP: 127.0.0.1
FORWARD_FOR: 127.0.0.1
FORWARD-FOR: 127.0.0.1
FORWARDED_FOR_IP: 127.0.0.1
@Maciejdziuba
Maciejdziuba / README.md
Last active August 10, 2026 08:28
The Software Factory Playbook — Dex Horthy's 4-gate workflow (Product → Architecture → Program Design → Vertical Slices) as an installable Claude Code skill. From the Dex Horthy episode on David Ondrej's podcast.

The Software Factory Playbook — Dex Horthy's 4-gate workflow as a skill

A Claude Code Agent Skill built from Dex Horthy's (HumanLayer) playbook on David Ondrej's podcast.

"Once the model has written thousands of lines of code, it is harder to change. The sessions that generate design docs are context-light — you get the most model intelligence when you do the hard thinking early."

By default, agents build horizontally: all the backend, then all the frontend, then a 2,000-line diff lands in your lap and reviewing it is your problem. This skill flips that. Every decision that matters gets made before the code exists — where changing your mind costs a sentence, not a rewrite.

What it does