Skip to content

Instantly share code, notes, and snippets.

@henrik242
henrik242 / airtag-to-gpx-sync.sh
Last active February 28, 2026 00:36
Read AirTag data from the FindMy.app cache and convert to GPX
#!/usr/bin/env bash
#
# Reads AirTag data from the FindMy.app cache and converts it to a daily GPX file
#
# Rsyncs the data to a web accessible folder that can be displayed with e.g.
# https://gist.github.com/henrik242/84ad80dd2170385fe819df1d40224cc4
#
# This should typically be run as a cron job
#
@karpathy
karpathy / microgpt.py
Last active February 28, 2026 00:35
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
@johnlindquist
johnlindquist / gastown-vs-swarm-tools.md
Created January 8, 2026 04:25
Gas Town vs Swarm-Tools: Multi-Agent AI Orchestration Compared

Gas Town vs Swarm-Tools: Multi-Agent AI Orchestration Compared

Two ambitious open-source projects tackling the same fundamental problem: how do you coordinate multiple AI coding agents to work together effectively?

TL;DR

Aspect Gas Town Swarm-Tools
Author Steve Yegge Joel Hooks
Language Go TypeScript/Bun
@majestic7media
majestic7media / oc.md
Created February 28, 2026 00:29 — forked from mberman84/oc.md
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)

@fabianosarracco
fabianosarracco / festivaltts-install-sh
Last active February 28, 2026 00:28
Festival/Mbrola installation on Raspberry Pi (with english and italian voices)
#!/bin/sh
#
# festivaltts-install.sh
# -----
#
# Installation and setup of a Festival based TTS system.
# Following instructions from:
# - [http://ubuntuforums.org/showthread.php?t=751169]
#
@mberman84
mberman84 / all_files.md
Created February 24, 2026 21:09
Matt's Markdown Files

OpenClaw: System Prompt File Templates

Generalized versions of all root .md files used by OpenClaw. These files are loaded into the agent's system prompt on every request (except MEMORY.md which is conditional).

Copy these as starting points and customize for your own setup. Replace <placeholders> with your values.


AGENTS.md

@mberman84
mberman84 / prompts.md
Last active February 28, 2026 00:25
Prompts

OpenClaw: Extracted Prompts (Generalized)

22 copy/paste-ready prompts for building your own AI agent system. Each prompt builds a functional system or implements a proven best practice you can hand to an AI coding assistant.

Replace placeholders like <your-workspace>, <your-messaging-platform>, and <your-model> with your own values.


1. Personal CRM