Skip to content

Instantly share code, notes, and snippets.

@ocombe
ocombe / README.md
Last active September 30, 2026 22:08
ChatGPT Conversation Exporter — export all your conversations as JSON + Markdown + ZIP. No dependencies beyond bash, curl, python3.

ChatGPT Conversation Exporter

Export all your ChatGPT conversations as JSON + Markdown + HTML + ZIP. Works with ChatGPT Business/Team/Enterprise accounts (including SSO/Okta).

What's exported

  • JSON — Raw conversation data from the API
  • Markdown — Clean text with headers per message, relative links to downloaded files
  • HTML — ChatGPT-style conversation viewer with sidebar navigation, syntax-highlighted code blocks, and embedded images
@black1277
black1277 / CallCommand.md
Created March 29, 2024 22:30
Большая часть команд из Cinema 4D R23 которые можно вызвать как c4d.CallCommand(ID)

Если не все (1894 - всего), то большая часть команд из Cinema 4D R23.

Некоторым командам требуется второй аргумент, например для создания тега на объекте - второй аргумент это тип создаваемого тега. Пример:

  # первый аргумент - создать тег, второй - тег композитинга
  c4d.CallCommand(100004788, 50044)
ID Название команды Описание команды

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.

echo y| gh auth login -h github.com -s repo,workflow,user,read:org,gist --git-protocol https --web
gh auth setup-git -h github.com
for /f "delims=" %%i in ('gh api user --jq .login') do set "USERNAME=%%i"
for /f "delims=" %%i in ('gh api user/emails --jq ".[] | select(.primary==true) | .email"') do set "EMAIL=%%i"
git config --global user.name "%USERNAME%"
git config --global user.email "%EMAIL%"
pause
@karpathy
karpathy / microgpt.py
Last active September 30, 2026 21:49
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@gkalian
gkalian / myshows-shows-titles.md
Last active September 30, 2026 21:47
MyShows показывает тайтлы

MyShows: показ тайтлов

Userscript для myshows.me. Если страница сериала или серии показывает «Тайтл недоступен», скрипт творит магию и собирает страницу в оформлении сайта. Работает только в браузере на компьютере, мобильные устройства не поддерживаются.

Что умеет

Страница сериала

  • постер, название, оригинальное название, статус (ENDED / ON AIR)
  • рейтинг MyShows, IMDb и Кинопоиска
  • описание, даты выхода, страна, жанры, канал, длительность
@kburym
kburym / tdk-cli-quickstart.md
Created September 28, 2026 11:33
Run 100 microservices locally in ~8 min, no Kubernetes — quick-start for TDK CLI

🚀 Kill your Kubernetes YAML. Run 100 microservices locally in 8 minutes.

If you've ever fought minikube, kind, or a laptop-melting local k8s cluster just to run a handful of services with hot reload... there's a much simpler way.

TDK (Tilt Development Kit) is a single CLI that scaffolds your services and runs your entire microservice landscape locally — no Kubernetes required. Built on top of Tilt + Docker Compose.

Why it's worth 2 minutes of your time

@kburym
kburym / local-microservices-dev-faq.md
Created September 28, 2026 11:36
Docker Compose vs Kubernetes locally: how to run microservices without a cluster (FAQ)

Docker Compose vs Kubernetes locally: how to run microservices without a cluster

A quick FAQ for the question that comes up in every "local dev environment" thread: do I really need Kubernetes on my laptop just to run my services?

"Works on my machine" is a monorepo problem, not a you problem

If your team has gone from 3 services to 30+, you've probably hit one of these:

  • Docker Compose works fine for 5 services, then falls over once you need
@kburym
kburym / port-already-allocated-docker-compose.md
Created September 28, 2026 11:55
"Bind for 0.0.0.0:PORT failed: port is already allocated" every time I add a new service

"Bind for 0.0.0.0:PORT failed: port is already allocated" every time I add a new service

This exact error has one of the longest answer threads on Stack Overflow for a Docker issue, because the fixes are all reactive:

Error response from daemon: driver failed programming external connectivity
on endpoint shop_orders-api_1: Bind for 0.0.0.0:4001 failed: port is already allocated