Skip to content

Instantly share code, notes, and snippets.

@amunchet
amunchet / noVNCPaste.user.js
Last active February 15, 2026 03:29
noVNC Paste Tampermonkey script.
// ==UserScript==
// @name noVNC Paste
// @namespace http://tampermonkey.net/
// @version 0.2a
// @description Pastes text into a noVNC window
// @author You
// @match */console*
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @grant none
// ==/UserScript==
@amunchet
amunchet / noVNCCopyPasteProxmox.user.js
Last active February 15, 2026 03:28
Copy/Paste for noVNC Proxmox
// ==UserScript==
// @name noVNC Paste for Proxmox
// @namespace http://tampermonkey.net/
// @version 0.2a
// @description Pastes text into a noVNC window (for use with Proxmox specifically)
// @author Chester Enright
// @match https://*
// @include /^.*novnc.*/
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @grant none
@karpathy
karpathy / microgpt.py
Last active February 15, 2026 03:28
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
@hyeyumpeople
hyeyumpeople / microgpt.py
Created February 15, 2026 03:27 — 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
@lopspower
lopspower / README.md
Last active February 15, 2026 03:23
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@miguelmota
miguelmota / vncviewer.sh
Created December 5, 2020 12:43
Arch linux install vnc viewer
yay -S realvnc-vnc-viewer
@jclark2019
jclark2019 / entry.js
Created February 15, 2026 03:22 — forked from bellbind/entry.js
[rollup][nodejs] An example to export a nodejs package as es6 module for browser
export {default} from "mime-types";
@jclark2019
jclark2019 / entry-mime-db.js
Created February 15, 2026 03:22 — forked from bellbind/entry-mime-db.js
[rollup][nodejs] An example to export multiple nodejs packages as es6 modules for browser
export {default} from "mime-db";