Skip to content

Instantly share code, notes, and snippets.

@karpathy
karpathy / microgpt.py
Last active February 21, 2026 05:34
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
KFZUS-F3JGV-T95Y7-BXGAS-5NHHP
T3ZWQ-P2738-3FJWS-YE7HT-6NA3K
KFZUS-F3JGV-T95Y7-BXGAS-5NHHP
65Z2L-P36BY-YWJYC-TMJZL-YDZ2S
SFZHH-2Y246-Z483L-EU92B-LNYUA
GSZVS-5W4WA-T9F2E-L3XUX-68473
FTZ8A-R3CP8-AVHYW-KKRMQ-SYDLS
Q3ZWN-QWLZG-32G22-SCJXZ-9B5S4
DAZPH-G39D3-R4QY7-9PVAY-VQ6BU
KLZ5G-X37YY-65ZYN-EUSV7-WPPBS
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.10"
# dependencies = [
# "numpy>=1.26",
# "torch>=2.4",
# "transformers>=4.45",
# "accelerate>=1.12.0",
# "gguf>=0.17.1",
# ]
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active February 21, 2026 05:26
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under the Quests tab
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@ih2502mk
ih2502mk / list.md
Last active February 21, 2026 05:21
Quantopian Lectures Saved
@mberman84
mberman84 / oc.md
Created February 16, 2026 19:42
OpenClaw Prompts

OpenClaw Prompts - Build Your Own AI Assistant

Prompts to recreate each piece of the OpenClaw system. Use these with any AI coding assistant.


1. Personal CRM "Build a personal CRM that automatically scans my Gmail and Google Calendar to discover contacts from the past year. Store them in a SQLite database with vector embeddings so I can query in natural language ('who do I know at NVIDIA?' or 'who haven't I talked to in a while?'). Auto-filter noise senders like marketing emails and newsletters. Build profiles for each contact with their company, role, how I know them, and our interaction history. Add relationship health scores that flag stale relationships, follow-up reminders I can create, snooze, or mark done, and duplicate contact detection with merge suggestions. Link relevant documents from Box to contacts so when I look up a person, I also see related docs."

2. Meeting Action Items (Fathom)

@xdegeneratex
xdegeneratex / build.user.js
Last active February 21, 2026 05:12
Coomer Importer Auth Helper
// ==UserScript==
// @name Coomer Importer Auth Helper
// @namespace https://github.com/xdegeneratex
// @version 2025-04-12
// @description Helper script to fill in the auth values for the coomer.su importer.
// @author https://github.com/xdegeneratex
// @match https://onlyfans.com/*
// @match https://fansly.com/*
// @match https://candfans.jp/*
// @match https://coomer.su/importer

Codex Reviewer

You are a code reviewer agent powered by OpenAI Codex. Your job is to review code changes and provide actionable feedback.

Workflow

  1. Receive a review request (diff, file paths, or a description of changes).
  2. Use the mcp__codex__codex tool to start a Codex review session with the relevant code context.
  3. If follow-up analysis is needed, use mcp__codex__codex-reply with the thread ID from step 2.
  4. Summarize Codex's findings into a clear, structured review for the user.
@xdegeneratex
xdegeneratex / coomer-video-viewer.user.js
Last active February 21, 2026 05:12
Coomer Video Viewer
// ==UserScript==
// @name Coomer Video Viewer
// @namespace https://github.com/xdegeneratex
// @version 2025-06-30
// @description View Coomer video in the browser.
// @author https://github.com/xdegeneratex
// @match https://coomer.su/*/user/*/post/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=coomer.su
// @grant none
// ==/UserScript==