Skip to content

Instantly share code, notes, and snippets.

View HelloWorld017's full-sized avatar
πŸ’
muguet - Hanahuruhibi,

nenw* HelloWorld017

πŸ’
muguet - Hanahuruhibi,
View GitHub Profile
"""
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
// ==UserScript==
// @name ASTx2 Emulator
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author @BawAppie
// @match https://*/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=ahnlab.com
// @grant none
// ==/UserScript==
@kg583
kg583 / hello_world.py
Created August 7, 2022 22:42
Hello World! with only 2 distinct punctuation marks
from operator import attrgetter
from operator import itemgetter
@itemgetter
@slice
@int
@next
@reversed
@str
@mgaitan
mgaitan / git-sw
Last active March 25, 2025 00:18
git smart switch : Like `git switch` but stashing uncommitted changes and recovering them when you are back.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Git smart switch
Like `git switch` but stashing uncommitted changes and recovering them when you are back.
# Install
@jmatsushita
jmatsushita / README
Last active December 21, 2025 02:10
Setup nix, nix-darwin and home-manager from scratch on an M1 Macbook Pro
###
### [2023-06-19] UPDATE: Just tried to use my instructions again on a fresh install and it failed in a number of places.
###. Not sure if I'll update this gist (though I realise it seems to still have some traffic), but here's a list of
###. things to watch out for:
### - Check out the `nix-darwin` instructions, as they have changed.
### - There's a home manager gotcha https://github.com/nix-community/home-manager/issues/4026
###
# I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs).
# So here's a minimal Gist which worked for me as an install on a new M1 Pro.
@FreddieOliveira
FreddieOliveira / docker.md
Last active March 11, 2026 22:59
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android πŸ‹πŸ“±

Edit πŸŽ‰

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@gaeulbyul
gaeulbyul / awesome.md
Last active September 26, 2024 05:56
awesome-gaeulbyul

awesome-gaeulbyul

ν™˜μƒμ˜ 가을별 μ‡Ό! λ­”κ°€ λ³΄μ—¬λ“œλ¦¬κ² μŠ΅λ‹ˆλ‹€!

간단 λ ˆμ‹œν”Ό

https://twitter.com/gaeulbyul/status/1294351544091959296

κ°„λ‹¨ν•œ 10λΆ„ λ ˆμ‹œν”Ό: 돼지고기λ₯Ό 양념μž₯에 λ„£κ³  8μ‹œκ°„ μž¬μš΄λ‹€

@123jimin
123jimin / pms_block.js
Last active February 28, 2019 07:36
A simple userscript for automatically closing KAIST PMS install page
// ==UserScript==
// @name KAIST PMS Blocker
// @namespace http://0xF.kr/
// @version 0.1
// @description Automatically closes PMS page
// @author JiminP
// @match http://143.248.113.1/CPopupRequest
// @grant none
// ==/UserScript==
@foriequal0
foriequal0 / yaminjeongeum.user.js
Last active May 20, 2024 05:26
λΈŒλΌμš°μ €μ˜ λͺ¨λ“  ν…μŠ€νŠΈλ₯Ό μ•Όλ―Όμ •μŒμœΌλ‘œ λ°”κΏ”μ€λ‹ˆλ‹€
// λΈŒλΌμš°μ €μ— GreaseMonkey(Firefox) TamperMonkey(Chrome) 을 μ„€μΉ˜ν•˜κ³ ,
// https://gist.github.com/foriequal0/154e73d3289d808e8ce94603f5eff6a4/raw/yaminjeongeum.user.js
// μœ„ 링크λ₯Ό λΈŒλΌμš°μ €μ— μž…λ ₯ν•˜λ©΄ μžλ™μœΌλ‘œ 슀크립트λ₯Ό μ„€μΉ˜ν•˜κ² λŠλƒλŠ” 창이 λœΉλ‹ˆλ‹€.
// ==UserScript==
// @name yaminjeongeum
// @namespace yaminjeongeum.kr
// @description μ•Όλ―Όμ •μŒ
// @include *
// @exclude file://*
@seompark
seompark / Windows time sync automatically when boot.md
Last active June 6, 2022 03:28
Windows time sync automatically when boot
  1. μ œμ–΄νŒ -> 관리 도ꡬ -> μž‘μ—… μŠ€μΌ€μ₯΄λŸ¬ -> μž‘μ—… λ§Œλ“€κΈ°
  2. κ°€μž₯ 높은 μˆ˜μ€€μ˜ κΆŒν•œμœΌλ‘œ μ‹€ν–‰ 체크
  3. λ™μž‘ νƒ­ -> μƒˆλ‘œ λ§Œλ“€κΈ° -> time.bat 선택 -> 확인 ν›„ μ €μž₯