Skip to content

Instantly share code, notes, and snippets.

View polskiTran's full-sized avatar

Tiep Tran polskiTran

View GitHub Profile
@gabe565
gabe565 / change-arc-icon.md
Last active August 12, 2026 22:39
Change Arc Browser Icon

Change Arc Browser Icon

arc

A collection of commands that change the Arc Browser icon on macOS.

Commands

Theme Command
Candy Arc defaults write company.thebrowser.Browser currentAppIconName candy
@sophiawisdom
sophiawisdom / index.html
Last active August 14, 2026 17:53
Screenshot hoster. Download these two files, put your screenshots in the same directory, run lister.py, and you have a fun website that shows all your screenshots.
<html>
<title> vibe images <!-- change this to whatever you want! --> </title>
<!-- Add any text here if you so desire; the images won't be drawn over it. -->
<div id="container">
</div>
<script>
function shuffleArray(array) {
for (let i = array.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
@karpathy
karpathy / microgpt.py
Last active August 16, 2026 02:09
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