Skip to content

Instantly share code, notes, and snippets.

@karpathy
karpathy / microgpt.py
Last active February 25, 2026 03:08
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
@dankrause
dankrause / _hover_example.py
Last active February 25, 2026 03:07
Example code to use the (unofficial, unsupported, undocumented) hover.com DNS API.
import requests
class HoverException(Exception):
pass
class HoverAPI(object):
def __init__(self, username, password):
params = {"username": username, "password": password}
r = requests.post("https://www.hover.com/api/login", params=params)
@xjdrew
xjdrew / client.go
Last active February 25, 2026 03:05
golang tls client and server, require and verify certificate in double direction
package main
import (
"crypto/tls"
"crypto/x509"
"flag"
"io"
"io/ioutil"
"log"
"os"
@zAstergun
zAstergun / CompleteDiscordQuest.md
Last active February 25, 2026 03:02 — forked from aamiaa/CompleteDiscordQuest.md
Discord Missões Orb (PT-BR)

Complete Recent Discord Quest (Versão PT-BR aprimorada)

Fork do script original com traduções, melhorias visuais e uma função para parar a execução de forma segura.

Note

Este script não funciona no navegador para missões que exigem que você jogue um game! Use o aplicativo para desktop para completar essas missões.


Modificações desta Versão (por @zAstergun)

@jinjier
jinjier / javdb-top250.md
Last active February 25, 2026 02:58
JavDB top 250 movies list. [Updated on 2026/01]
@emschwartz
emschwartz / README.md
Last active February 25, 2026 02:54
The Most Popular Blogs of Hacker News in 2025

This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.

Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.

@HenriqueRL26
HenriqueRL26 / gist:ec192f32d35157117c8bd9331b548fc1
Last active February 25, 2026 02:49
Automação - manutenção , contabil e resumos - Moto
Automação - manutenção , contabil e resumos - Moto
@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

@velvet-shark
velvet-shark / openclaw-50-day-prompts.md
Last active February 25, 2026 02:46
OpenClaw after 50 days: all prompts for 20 real workflows (companion to YouTube video)

OpenClaw after 50 days: all prompts

Companion prompts for the video: OpenClaw after 50 days: 20 real workflows (honest review)

These are the actual prompts I use for each use case shown in the video. Copy-paste them into your agent and adjust for your setup. Most will work as-is or the agent will ask you clarifying questions.

Each prompt describes the intent clearly enough that the agent can figure out the implementation details. You don't need to hand-hold it through every step.

My setup: OpenClaw running on a VPS, Discord as primary interface (separate channels per workflow), Obsidian for notes (markdown-first), Coolify for self-hosted services.