Skip to content

Instantly share code, notes, and snippets.

@miguelmota
miguelmota / send.sh
Created January 16, 2019 06:19
Golang UDP server example
echo 'hello world' > /dev/udp/0.0.0.0/3000
@tmarshall
tmarshall / .env
Created December 10, 2020 19:27
streetmerchant ps5 & xbox env config (US)
INCOGNITO=false
LOW_BANDWIDTH=true
PLAY_SOUND="/your/mp3.mp3"
SHOW_ONLY_SERIES="sonyps5c,sonyps5de,xboxss,xboxsx"
STORES="target,walmart,xbox,amazon,antonline,bestbuy,playstation"
"""
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