Skip to content

Instantly share code, notes, and snippets.

View TomEpsilon's full-sized avatar
🍊
yahh

tda TomEpsilon

🍊
yahh
View GitHub Profile
@TomEpsilon
TomEpsilon / inter.min.css
Created June 7, 2021 16:16
first vscode gist
@import url(https://fonts.googleapis.com/css?family=Inter);body{font-family:Inter;text-align:center;background-color:#000;color:#fff}.material-icons.md-18{font-size:18px}.material-icons.md-24{font-size:24px}.material-icons.md-36{font-size:36px}.material-icons.md-48{font-size:48px}html{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}li{text-align:left}a{color:#fff}
// node build.js [file] -o [output]
// install terser and minimist
import{minify}from"terser";
import{readFile, writeFile}from"fs/promises";
import m from "minimist";
let p = m(process.argv.slice(2));
let a = p._[0]
if (a){
(async()=>{
const i=await readFile(a,"utf8"),