Подробная шпаргалка по GORM (Go ORM) на примере блога с сущностями User, Post, Tag + доп. пример полиморфизма (Comment).
go get -u gorm.io/gorm
go get -u gorm.io/driver/postgresA 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.
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.
| 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 |
| 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 |
Assume that you want to set 127.0.0.1:10809 as HTTP proxy and 127.0.0.1:10808 as SOCKS proxy.
| #!/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 |
| 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 |
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.