Skip to content

Instantly share code, notes, and snippets.

View Harsh-2002's full-sized avatar
๐Ÿ‘‹
Always Learning

Anurag Vishwakarma Harsh-2002

๐Ÿ‘‹
Always Learning
View GitHub Profile
@karpathy
karpathy / microgpt.py
Last active February 21, 2026 09:42
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
@triangletodd
triangletodd / README.md
Last active February 9, 2026 23:26
k3s in LXC on Proxmox

On the host

Ensure these modules are loaded

cat /proc/sys/net/bridge/bridge-nf-call-iptables

Disable swap

sysctl vm.swappiness=0
swapoff -a
@melanyss
melanyss / like&dislike.html
Created May 19, 2020 12:52 — forked from Techgokul/like&dislike.html
Create a Like and Dislike Button using html,css and js
<html>
<head>
<title>Like and Dislike</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" type="text/css">
<style>
.fa{
font-size: 300px;
color: white;