Skip to content

Instantly share code, notes, and snippets.

View mechanikate's full-sized avatar
🏳️‍⚧️
updated profile!

kate mechanikate

🏳️‍⚧️
updated profile!
  • 23:22 (UTC -04:00)
View GitHub Profile
// ==UserScript==
// @name Fantasy Custom Scoreboard
// @namespace http://tampermonkey.net/
// @version v3-2025-10-05
// @description Keep track of ESPN fantasy games live.
// @author You
// @match https://fantasy.espn.com/football/league/scoreboard*
// @icon https://www.google.com/s2/favicons?sz=64&domain=espn.com
// @grant unsafeWindow
// ==/UserScript==
@mechanikate
mechanikate / number-to-unit.js
Created December 5, 2024 18:14
Converts a number to a string with a unit name like "million"
// Note that more units are unnecessary since regular JavaScript numbers cap at 2^1024-2^971, or a bit below 2e+308, unless you plan on using BigInts
// Regardless, the toUnitName(x) function returns "NaN undefined" at x>=1.7976931348623159e+308, or x>=179.76931348623159 uncentillion
const unitList=["","thousand","million","billion","trillion","quadrillion","quintillion","sextillion","septillion","octillion","nonillion","decillion","undecillion","duodecillion","tredecellion","quattuordecillion","quindecillion","sexdecillion","septendecillion","octodecillion","novemdecillion","vigintillion","unvigintillion","duovigintillion","trevigintillion","quattuorvigintillion","quinvigintillion","sexvigintillion","septenvigintillion","octovigintillion","nonvigintillion","trigintillion","untringintillion","duotrigintillion","tretrigintillion","quattortrigintillion","quintrigintillion","sextrigintillion","septentrigintillion","octotrigintillion","novemtrigintillion","quadragintillion","unquadragintillion","duoquadragintilli
@mechanikate
mechanikate / leveldata.js
Created January 7, 2024 17:27
SHGTW leveldat
window.addEventListener('load',()=>addMap("W1siR0VFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFXG5HR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dcbkdHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR1xuR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHXG5HR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dcbkdHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR1xuR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHXG5HR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0ciLC0xXSxbIkdFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRVxuRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFXG5FRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVcbkVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRVxuRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFXG5FRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVcbkVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRVxuRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFIiwtMV0sWyJHRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFR1xuR0VFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUdcbkdFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVHXG5HRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFR1xuR0VFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUdcbkdFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVHXG5HRUVFRUVFRUVFRUVFRUVFR
@mechanikate
mechanikate / ruffle.js
Last active March 16, 2023 16:44
ruffle
(()=>{"use strict";var e,t,n={899:(e,t,n)=>{e.exports=n.p+"922f171d1b2ab47d6e83.wasm"},878:(e,t,n)=>{e.exports=n.p+"c78bcd9a94924cf5d19a.wasm"}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return n[e](r,r.exports,s),r.loaded=!0,r.exports}s.m=n,s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,n)=>(s.f[n](e,t),t)),[])),s.u=e=>"core.ruffle."+{159:"ffd1bb96efa26ca2c7c1",339:"5ae1578b595b3e28cc24"}[e]+".js",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},
---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.
Time: 2/18/21 10:31 AM
Description: Rendering screen
java.lang.ArithmeticException: / by zero
at matteroverdrive.items.weapon.IonSniper.getBaseEnergyUse(IonSniper.java:86)
at matteroverdrive.items.weapon.EnergyWeapon.getEnergyUse(EnergyWeapon.java:461)
at matteroverdrive.items.weapon.EnergyWeapon.addDetails(EnergyWeapon.java:120)
0eNqdmNuOmzAQht/F17DC+AivUq0qQtzUEjGRcapGEe++QLbbdNdJZ+aSBD6Pf8/RV7Ybzu4UfUisvTLfj2Fi7bcrm/whdMP6W7qcHGuZT+7ICha64/q06ybflyl2YTqNMZU7NyQ2F8yHvfvNWj6/FsyF5JN3N972cPkezsedi8sLz0kFO43T8vEYVgtWoFIvqmAX1pb1i1oW2vvo+tsL9Vx84ddovkTxBZpvUHyJ5msUX6H59iFfZvgay5cf+lQQ+w2a36D4Fs23KH6D1p8/5Of05xV6gQq1AY6PYIFb4C6EzzG4WPowuZiW/55FLwepI+jpASa/xBivHrJ1jq0+s48++HAo99EPQzb1bPQKYLampwWYLoa+AOxkLTmwYF7ZkN1+5ecqFT5Sa4zFNSf7Okjxml5qQS5TC0wo6TvTczBJrtscJDa+rjaow6QHKIxvyPbDnMWS7Yfpjw5PXWGcUVRkPkgfwT87+xhd2cfz9PO5v4uNvrD91qx34eCGaflWvH+8Z7nVUCXW/rPU/zYiKGhY6y3JPgpqXYUinzGMr8l8mPQGI/2f9KbyCVNYyjkq0Dk2GHTz3E5ZkZ1CQpouycmJC8bHhOKHPzwSQ5A9DGbs3wic0hhc+WMxuetdVoUNa7JmKooDaND4rClymgdyGrKcGiSnJQ/LDYjfkIdZEF9V5GEcxufkWRbGr8kzA4wvyB0+jC/JMwmMr8gdPoyvyZeBML4hX6bB+JY8VMD4Dbn2gPi6ouRhC8nDmlPaB5vPw7om52H7VYfX4nal3d7dgBfsl4vTbTd2ybKyMdrwSis9z28h5ZUP
2019-04-28 12:51:20,378 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2019-04-28 12:51:20,384 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[12:51:20] [main/INFO] [GradleStart]: Extra: []
[12:51:20] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/matth/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[12:51:20] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[12:51:20] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[12:51:20] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[12:51:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.co
---- Minecraft Crash Report ----
// I let you down. Sorry :(
Time: 3/17/19 4:39 PM
Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Just Enough Items (jei)
Caused by: java.lang.NoClassDefFoundError: mezz/jei/network/PacketHandler
at mezz.jei.startup.ProxyCommon.preInit(ProxyCommon.java:20)
at mezz.jei.startup.ProxyCommonClient.preInit(ProxyCommonClient.java:54)