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.

@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

@mineek
mineek / guide.txt
Last active August 10, 2026 10:17
block revokes permanently on enterprise certs on iOS
This will permanently block revokes and some ppq stuff.
Use this together with the profile to block some domains "without" a DNS.
Even if you don't have the profile, after applying this your device just cannot register revokes anymore. So you'll just not be able to install the app, but you will not get permanently blacklisted.
note this may lead to side effects. I am not sure. However, it does work.
AS ALWAYS, USE AT YOUR OWN RISK.
Basically all u need to do is run these commands one by one in a terminal on a jailbroken device: