I hereby claim:
- I am boehs on github.
- I am ewwn (https://keybase.io/ewwn) on keybase.
- I have a public key ASDUL91Kx9ukmOAXjc2ddaeaarjHMHw19qHjCaQXxE7iPQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
let d = [{ | |
"title": "post one", | |
"date": 1627421886, | |
"content": "lorum ipsut" | |
}, | |
{ | |
"title": "post two", | |
"date": 1727421886, | |
"content": "lorum ipsut dolar", | |
"tags": ["a", "b", "c"] |
<section> | |
<header> | |
<h1>Hi<wbr>ra<wbr>ga<wbr>na</h1> | |
<h2>some japanese chars</h2> | |
</header> | |
<div class="table-wrapper"> | |
<table> | |
<tr> | |
<th></th> | |
<th>a</th> |
{ | |
const apiPrefix = 'https://discord.com/api/v9' | |
var delay = ms => new Promise(res => setTimeout(res, ms)) | |
var qs = obj => | |
Object.entries(obj) | |
.map(([k, v]) => `${k}=${v}`) | |
.join('&') | |
const apiCall = (apiPath, body, method = 'GET') => { |
// plotARoutePremium.js | |
// www.plotaroute.com##+js(plotARoutePremium) | |
document.addEventListener("DOMContentLoaded", () => { | |
enablePremFeat() | |
console.log('if you are seeing this, everything went well') | |
}) |
// ==UserScript== | |
// @name Bypass "Calculation of totals has been disabled" for canvas | |
// @namespace https://boehs.org | |
// @match https://*.instructure.com/courses/*/grades | |
// @grant none | |
// @version 1.1.0 | |
// @author Evan Boehs | |
// @description Calculates totals when canvas doesn't want to | |
// @supportURL https://gist.github.com/boehs/883fda113facb902ac440cab26b09cb9 | |
// @license GPL-3.0-only |
let weights = Object.fromEntries("IJIJ ijij LJLJ LjLj ljlj NJNJ NjNj njnj DZDZ DzDz dzdz Rs₨ No№ SM℠ TEL℡ TM™ FAX℻ llⅡ IIⅡ IIIⅢ IVⅣ VIⅥ VIIⅦ VIIIⅧ IXⅨ XIⅪ XIIⅫ iiⅱ iiiⅲ ivⅳ viⅵ viiⅶ viiiⅷ ixⅸ xiⅺ xiiⅻ hPa㍱ da㍲ AU㍳ bar㍴ oV㍵ pc㍶ pA㎀ nA㎁ mA㎃ kA㎄ KB㎅ MB㎆ GB㎇ cal㎈ kcal㎉ pF㎊ nF㎋ mg㎎ kg㎏ Hz㎐ kHz㎑ MHz㎒ GHz㎓ THz㎔ ml㎖ dl㎗ kl㎘ fm㎙ nm㎚ mm㎜ cm㎝ km㎞ Pa㎩ kPa㎪ MPa㎫ GPa㎬ rad㎭ ps㎰ ns㎱ ms㎳ pV㎴ nV㎵ mV㎷ kV㎸ MV㎹ pW㎺ nW㎻ mW㎽ kW㎾ MW㎿ Bq㏃ cc㏄ cd㏅ dB㏈ dbȸ lsʪ Isʪ lzʫ Izʫ Gy㏉ ha㏊ HP㏋ in㏌ KK㏍ KM㏎ kt㏏ lm㏐ ln㏑ log㏒ lx㏓ mb㏔ mil㏕ mol㏖ PH㏗ PPM㏙ PR㏚ sr㏛ Sv㏜ Wb㏝ ffff fifi flfl ffiffi fflffl stst WC🅏 MC🅪 MD🅫 NUL␀ SOH␁ STX␂ ETX␃ EOT␄ ENQ␅ ACK␆ BEL␇ BS␈ HT␉ LF␊ VT␋ FF␌ CR␍ DLE␐ DC1␑ DC2␒ DC3␓ DC4␔ NAK␕ SYN␖ ETB␗ CAN␘ EM␙ SUB␚ ESC␛ FS␜ GS␝ RS␞ US␟ AAꜲ aaꜳ AEÆ aeæ AOꜴ aoꜵ auꜷ AVꜸ avꜹ AYꜼ ayꜽ OEŒ oeœ OOꝎ ooꝏ CE₠ ueᵫ VYꝠ vyꝡ 10⒑ 11⒒ 12⒓ 13⒔ 14⒕ 15⒖ 16⒗ 17⒘ 18⒙ 19⒚ 20⒛ qpȹ tsʦ fff🝝 sss |
let words = document.querySelectorAll('.SetPageTerm-wordText'); | |
[...document.querySelectorAll('.SetPageTerm-definitionText')].map((def,index) => def.textContent + " " + words[index].textContent).join('\n') |
let global: { | |
[entity: string]: { | |
[year: number]: { | |
[col: string]: string | |
} | |
} | |
} = {} | |
async function pCSV(fName: string) { | |
const f: string[][] = (await Bun.file(fName + ".csv").text()).split("\n").map(l => l.split(',')); |
[...document.querySelectorAll('a')].map(a => a.textContent).sort().join('\n') |