This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// functional, but there's some fuckiness that needs to be worked out. | |
// (and after that the code has to cleaned up but that's not too much work.) | |
// adapted from https://www.shadertoy.com/view/4lSGRw | |
#define PI 3.14159265358979 | |
// (unused as of now) | |
float someBezierThing(float t /* [0, 1] */) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# i don't know why i ever wrote this (i definitely regret writing it) | |
# but i found it on my harddrive and thought it might help alleviate some | |
# of the pain for anyone who ever decides they need something like this for whatever reason... | |
# i remember i had some kind of idea with this but right now it just outputs all grades info | |
# it extracts to a grades.json file. | |
# this is actually really useful for when your school disables viewing grades in test weeks | |
# *** looking at you stanislas >:( *** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name chess.com autosettings | |
// @match https://*.chess.com/play/* | |
// @version 1.0 | |
// ==/UserScript== | |
const $ = slt => document.querySelector(slt); | |
const sleep = ms => new Promise(rsv => setTimeout(rsv, ms)); | |
const select = (val, slt) => { |