Skip to content

Instantly share code, notes, and snippets.

View sugatoray's full-sized avatar
🎯
Focusing

Sugato Ray sugatoray

🎯
Focusing
View GitHub Profile
@sugatoray
sugatoray / custom.css
Created July 23, 2025 21:16 — forked from koaning/custom.css
nintendo.css for marimo
/* Custom CSS for Marimo - Font customization */
/* Import Press Start 2P font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
:root {
--marimo-monospace-font: 'Press Start 2P', 'Courier New', monospace;
--marimo-text-font: 'Press Start 2P', 'Courier New', monospace;
--marimo-heading-font: 'Press Start 2P', 'Courier New', monospace;
}
@sugatoray
sugatoray / Merge Multiple PPT VBA
Created August 26, 2025 11:50 — forked from bhandarisaurav/Merge Multiple PPT VBA
Simple VBA Script to merge or combine all the powerpoint files in a folder into a new one! Steps: Open a new presentation file and save it to the folder all the files you want to combine are in (you can move it later) Paste the code into the VBA window Run the InsertAllSlides macro and it will combine them.
Sub InsertAllSlides()
' Insert all slides from all presentations in the same folder as this one
' INTO this one; do not attempt to insert THIS file into itself, though.
Dim vArray() As String
Dim x As Long
' Change "*.PPT" to "*.PPTX" or whatever if necessary:
EnumerateFiles ActivePresentation.Path & "\", "*.PPTX", vArray
@sugatoray
sugatoray / microgpt.py
Created February 16, 2026 02:02 — forked from karpathy/microgpt.py
microgpt
"""
The most atomic way to train and inference 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