Skip to content

Instantly share code, notes, and snippets.

View xstassy's full-sized avatar
:octocat:

Stanislava xstassy

:octocat:
  • Moscow
View GitHub Profile
"""
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
@antonydevanchi
antonydevanchi / kolduvachestvo.sh
Created July 27, 2021 03:32
Как читать SMS с блядского USB-модема «Yota 4G LTE» через консоль
#!/usr/bin/env bash
# Ahalai-mahalai
FLAG="GET_RCV_SMS_LOCAL"
PAGE="1"
# Krible-krable
XMLRESPONSE=$(curl -sL -XPOST 'http://10.0.0.1/xml_action.cgi?method=set&module=duster&file=message' \