Skip to content

Instantly share code, notes, and snippets.

View Yukaii's full-sized avatar
👾
nyan, nyan, nyan

Yukai Huang Yukaii

👾
nyan, nyan, nyan
View GitHub Profile
@ronnywang
ronnywang / points.csv
Last active September 18, 2019 14:03
We can't make this file beautiful and searchable because it's too large.
x,y,xmin,ymin,xmax,ymax
120.04444241524,23.079425783524,120.04417419434,23.079198766901,120.04471063614,23.079652800146
120.09097337723,23.091476650507,120.0908446312,23.09127926701,120.09110212326,23.091674034005
120.09626269341,23.23268044398,120.09618759155,23.232631150184,120.09633779526,23.232729737776
120.09650945663,23.232631150184,120.09644508362,23.232591715148,120.09657382965,23.232670585221
120.09575843811,23.22219022985,120.09554386139,23.22196346124,120.09597301483,23.22241699846
120.09478211403,23.218680152593,120.09477138519,23.218670292716,120.09479284286,23.218690012471
120.09228229523,23.15273091414,120.09200334549,23.152573078668,120.09256124496,23.152888749613
120.0921857357,23.090973322588,120.09217500687,23.090904238364,120.09219646454,23.091042406812
120.09240031242,23.090667378167,120.0923037529,23.090627901467,120.09249687195,23.090706854866
@cerebrate
cerebrate / README.md
Last active October 23, 2025 04:01
Recompile your WSL2 kernel - support for snaps, apparmor, lxc, etc.

WARNING

THIS GIST IS EXTREMELY OBSOLETE. DO NOT FOLLOW THESE INSTRUCTIONS. SERIOUSLY.

IF YOU IGNORE THE ABOVE WARNING, YOU AGREE IN ADVANCE THAT YOU DIDN'T GET THESE INSTRUCTIONS FROM ME, THAT I WARNED YOU, AND THAT I RESERVE THE RIGHT TO POINT AND LAUGH MOCKINGLY IF AND WHEN SOMETHING BREAKS HORRIBLY.

I'll do a write-up of current custom-kernel procedures over on Random Bytes ( https://randombytes.substack.com/ ) one day soon.

NOTE

@rsheeter
rsheeter / README.txt
Created February 4, 2019 19:19
Progressive Enrichment Demo Notes
Notes on server-side of https://fonts.gstatic.com/experimental/incxfer_demo
- it's currently tied to Google internal serving so just open sourcing code isn't helpful
/experimental/incxfer, args:
- font - string identifying font, e.g. Lobster:400
- cp_current - csv of codepoints UA has
- cp_needed - csv of codepoints UA would like to have
- retain_gids - whether gids should be stable
- diff_type - lets demo support different diff algorithms
@MIvanchev
MIvanchev / article.md
Last active November 6, 2025 01:00
Ever wondered what it takes to run Windows software on ARM? Then this article might be for you!
@fnky
fnky / ANSI.md
Last active March 5, 2026 01:41
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active February 14, 2026 17:47
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
/**
* Bear Theme with Typora
*
* @version : 0.0.1
* @update : 2018/09/08
* @homepage: https://gist.github.com/Kenshin/e5adc79da3149315bdfd72a35b70d65e
* @license : MIT https://github.com/kenshin/mduikit/blob/master/LICENSE
* @author : Kenshin Wang <kenshin@ksria.com>
*
* @copyright 2018
@ian-p-cooke
ian-p-cooke / add_wsl_exclusions.ps1
Last active June 30, 2024 05:27
powershell script to add WSL exclusions
$win_user = "ipc"
$linux_user = "ipc"
$package = "CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc"
$base_path = "C:\Users\" + $win_user + "\AppData\Local\Packages\" + $package + "\LocalState\rootfs"
$dirs = @("\bin", "\sbin", "\usr\bin", "\usr\sbin", "\home\" + $linux_user + "\.cargo\bin")
$dirs | ForEach { Add-MpPreference -ExclusionProcess ($base_path + $_ + "\*") }
Add-MpPreference -ExclusionPath $base_path
@mterrel
mterrel / git.ps1
Created July 3, 2018 21:44
Use WSL git with VS Code
# Run WSL git from Windows, mapping some paths between unix <-> Win
# To use with wslgit.cmd, place them in the same directory
Function ToUnix {
# If the arg has a \, then it's probably a path. Convert it.
if ($args[0] -match "\\") {
$mapped = wsl wslpath -u `'$($args[0])`'
} else {
$mapped = $args[0]
}
@victor-perez
victor-perez / git.bat
Last active June 5, 2025 20:47
Use WSL git inside VS Code from Windows 10 17046
@echo off
setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
::this also support calls that contains a absolute windows path
::check of one of the params contain a absolute windows path
echo.%* | findstr /r /c:"[a-z]:[\\/]" > nul
if %errorlevel% == 1 (
::if not just git with the given parameters
call :git %*