Skip to content

Instantly share code, notes, and snippets.

@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.

@karpathy
karpathy / microgpt.py
Last active February 15, 2026 03:01
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
@steipete
steipete / agent.md
Created October 14, 2025 14:41
Agent rules for git
  • Delete unused or obsolete files when your changes make them irrelevant (refactors, feature removals, etc.), and revert files only when the change is yours or explicitly requested. If a git operation leaves you unsure about other agents' in-flight work, stop and coordinate instead of deleting.
  • Before attempting to delete a file to resolve a local type/lint failure, stop and ask the user. Other agents are often editing adjacent files; deleting their work to silence an error is never acceptable without explicit approval.
  • NEVER edit .env or any environment variable files—only the user may change them.
  • Coordinate with other agents before removing their in-progress edits—don't revert or delete work you didn't author unless everyone agrees.
  • Moving/renaming and restoring files is allowed.
  • ABSOLUTELY NEVER run destructive git operations (e.g., git reset --hard, rm, git checkout/git restore to an older commit) unless the user gives an explicit, written instruction in this conversation. Treat t
@alichherawalla
alichherawalla / design-system.md
Created February 10, 2026 15:26
Memoria Design System

Memoria Design System

A design language for premium, dark-themed knowledge interfaces.


Philosophy

"Numbers are heroes, labels are whispers."

@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active February 15, 2026 02:57
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@ubergarm
ubergarm / ubergarm-imatrix-calibration-corpus-v02.txt
Created July 19, 2025 14:48
ik_llama.cpp imatrix calibration corpus derived from tristandruyen/calibration_data_v5_rc.txt and turboderp/exllamav3/standard_cal_data non-wiki text.
This file has been truncated, but you can view the full file.
===========
; A072257: a(n) = ((6*n-17)*4^n - 1)/3.