Skip to content

Instantly share code, notes, and snippets.

@karpathy
karpathy / microgpt.py
Last active February 15, 2026 05:17
microgpt
"""
The most atomic way to train and inference 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

GitHub Search Syntax for Finding API Keys/Secrets/Tokens

As a security professional, it is important to conduct a thorough reconnaissance. With the increasing use of APIs nowadays, it has become paramount to keep access tokens and other API-related secrets secure in order to prevent leaks. However, despite technological advances, human error remains a factor, and many developers still unknowingly hardcode their API secrets into source code and commit them to public repositories. GitHub, being a widely popular platform for public code repositories, may inadvertently host such leaked secrets. To help identify these vulnerabilities, I have created a comprehensive search list using powerful search syntax that enables the search of thousands of leaked keys and secrets in a single search.

Search Syntax:

(path:*.{File_extension1} OR path:*.{File_extension-N}) AND ({Keyname1} OR {Keyname-N}) AND (({Signature/pattern1} OR {Signature/pattern-N}) AND ({PlatformTag1} OR {PlatformTag-N}))

Examples:

**1.

@dabit3
dabit3 / you_couldve_invented_openclaw.md
Last active February 15, 2026 05:13
You Could've Invented OpenClaw

See more of my writing here.

In this post, I'll start from scratch and build up to OpenClaw's architecture step by step, showing how you could have invented it yourself from first principles, using nothing but a messaging API, an LLM, and the desire to make AI actually useful outside the chat window.

End goal: understand how persistent AI assistants work, so you can build your own (or become an OpenClaw power user).

First, let's establish the problem

When you use ChatGPT or Claude in a browser, there are several limitations:

@williamp44
williamp44 / PRD_TRADE_ANALYZER.md
Last active February 15, 2026 05:01
Ralph Loop: Example PRD

PRD: Trade Analyzer

Introduction

Analyze trading snapshots from CSV to calculate P&L, win rate, and expected value metrics (Standard EV, Kelly Criterion, Sharpe Ratio) aggregated by ISO week. Pure functional core for calculations with console output.

Goals

  • Load trade snapshots from CSV with type validation
  • Calculate realized P&L by pairing ENTRY/EXIT events
@entropyhertz
entropyhertz / circe-v2-audio-to-suno-prompt-engine.md
Created February 14, 2026 12:01
CIRCE v2.0 — Audio-to-Suno V5 Prompt Engine | Paste into Google AI Studio | CC BY-NC 4.0

CIRCE v2.0 — Audio-to-Suno V5 Prompt Engine

Paste into Google AI Studio | Upload any audio | Get a musicologist-grade Suno V5 prompt

License: CC BY-NC 4.0 | Created by Entropy Hertz


How to Use

  1. Open aistudio.google.com — select Gemini 2.5 Pro
  2. Paste everything below the line into the System Instructions field (or as your first message)
@williamp44
williamp44 / AGENT_TEAMS_GUIDE.md
Last active February 15, 2026 04:58
Ralph Loop

Agent Teams Guide: Sequential Ralph Loop vs Native Agent Teams

Date: 2026-02-11


Two Ways to Execute PRDs

1. Ralph Loop (ralph.sh) — Sequential, one task at a time

2. Native Agent Teams (Claude Code feature) — Parallel, multiple agents

@behindthegarage
behindthegarage / OPENCLAW-OPERATING-SYSTEM.md
Created February 14, 2026 20:40
The OpenClaw Operating System: A Layered Guide — How to build a complete AI collaboration system, from foundation to advanced patterns. Built through partnership, not configuration.

The OpenClaw Operating System: A Layered Guide

How to build a complete AI collaboration system — from foundation to advanced patterns

The Core Insight

These aren't separate tools to adopt. They're an evolved system where each layer depends on the one below it.

Layer 1 is the unlock. Without the right AI behavior — autonomous execution, collaboration over reminders, prototype-first — nothing else works. You can't have effective workflow if your AI waits for permission on every file. You can't have group primers if your AI doesn't maintain docs automatically.