Skip to content

Instantly share code, notes, and snippets.

@iamnewton
iamnewton / bash-colors.md
Last active November 17, 2026 00:26
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@geohot
geohot / syllabus.md
Last active November 23, 2026 13:51
Compilers for Machine Learning

Compilers for Machine Learning

A hands-on one semester course where students build their own compiler from scratch, starting from elementwise programs and ending with training SOTA LLMs on GPUs. This course aggressively builds on the previous week, and is an exercise in slop management. If you let any slop in early, it will compound and you will not finish the class.

Course description: This course covers the design and implementation of a modern machine learning compiler, and examines the interaction between IR design, hardware capabilities, and the structure of machine learning programs. Topics covered include term rewriting, code generation, movement operators, kernel fusion, memory hierarchies, GPU architecture, automatic differentiation, and flash attention. It is a project course, providing experience with performance-oriented programming, managing a codebase that grows all semester, and working in 1 or 2 person teams, culminating in a compiler capable of training modern LLMs.

Prerequisites: This c

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {
@aliyaliu368
aliyaliu368 / without-auth_e-book_tutorial_免登入電子書教學.md
Created November 21, 2022 14:48
教學用電子書免登入破解教學 | 本腳本用於繞過台灣主要課本/習作出版社電子書的前端身份驗證,達成不需要教師帳號即可使用電子書。支援 翰林、南一、康軒 三大出版社 | 請勿將本腳本作為抄答案、侵權等惡意用途,使用本腳本者,請自行承擔所有後果與風險

Visits_Count

教學用電子書免登入破解教學

使用前請務必閱讀 免責聲明

免責聲明

請勿將本腳本作為抄答案、侵權等惡意用途,使用本腳本者,請自行承擔所有後果與風險。

簡介

@ayashiiiyo
ayashiiiyo / README.md
Created November 23, 2026 10:56
Cloud Storage File Backup (cloud-storage-f0662) scraper - Firebase REST, zero dependency Node ESM

cloudbackup.mjs

Scraper modul untuk Cloud Storage File Backup (com.cloudstorageapp.mycloud.clouddrive.extraspacestorage.backup, v1.0.4). Backend = Firebase project cloud-storage-f0662: Auth (anonymous), Firestore (users/{uid}/files, users/{uid}/folders), Storage (users/{uid}/files/{name}). Pure Node ESM, tanpa dependency. Butuh Node >= 18 (global fetch, crypto.randomUUID).

Pakai

import cb from './cloudbackup.mjs';
@Artropos
Artropos / Automatic updates with notifications.yaml
Last active November 23, 2026 12:38
Automatic updates with notifications
blueprint:
name: Advanced Auto-Updater
description: >-
Automatically installs updates based on your toggles. Smartly sequences
updates, survives HA restarts, retries failed downloads, and sends exactly
ONE final notification.
Version: 5.3.0
### Changelog
#EXTM3U
#EXTINF:-1,BBC - Radio 1
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p
#EXTINF:-1,BBC - Radio 2
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio2_mf_p
#EXTINF:-1,BBC - Radio 3
http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/http-icy-aac-lc-a/format/pls/vpid/bbc_radio_three.pls
#EXTINF:-1,BBC - Radio 4
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4fm_mf_p
#EXTINF:-1,BBC - Radio 5 live
@tatygrassini
tatygrassini / 1001-albums
Last active November 4, 2024 20:11
1001 Albums You Must Hear Before You Die
1001 Albums You Must Hear Before You Die
List taken from then book edited by Robert Dimery.
Missing from the list:
Machito - Kenya 1957
Jack Elliot - Jack Takes The Floor 1958
Dolly Parton - Coat Of Mahy Colors 1971
George Jones - The Grand Tour 1974
R.D. Burman / Bappi Lahiri - Shalimar / College Girl 1975

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

//login
//setting up parameters for login method
User_auth auth = new User_auth();
auth.setUser_name(USER_NAME);
auth.setPassword(PASSWORD);
//sending an empty name_value_list
Name_value nameValueListLogin[] = null;
//trying to login