This file contains hidden or 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
mkdir -p $HOME/Library/KeyBindings | |
echo '{ | |
/* Remap Home / End keys to be correct */ | |
/* Credit: radamo59 */ | |
/* https://discussions.apple.com/thread/251108215?login=true&sortBy=rank */ | |
"\UF729" = "moveToBeginningOfLine:"; /* Home */ | |
"\UF72B" = "moveToEndOfLine:"; /* End */ | |
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */ | |
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* Shift + End */ | |
"^\UF729" = "moveToBeginningOfDocument:"; /* Ctrl + Home */ |
This file contains hidden or 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
all_token_ids = []; | |
const get_assets = async (page) => { | |
await fetch(`https://api.opensea.io/api/v1/assets?collection_slug=grassverse&order_direction=desc&limit=30&include_orders=false&cursor=${page}`).then((j) => j.json()).then(async (j)=>{ | |
all_token_ids.push(...j.assets.map((m)=>m.token_id)); | |
if(j.next){ | |
await get_assets(j.next); | |
} | |
}); | |
} |
This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
// | |
// ╓ ▄▄ | |
// ╫█ ██▄ | |
// ██ ╫▌▀▌ █▌ | |
// ▓▌█┐ █¡╨█ █╫▌ | |
// █µ▀▌ ╚▓:└▀▌ █░╠▓ | |
// "█¡╙█▄ ╫▌⌐:│▀▌ ╚▓^┘▓▄ | |
// ╙█¡"╨▓▄ █▄::"┘▀▓▄█▌::╨▓┐ | |
// ╙█¡┌:╨▀▓█µ┌::┌:│▀▀:┌::╨▓▄ |
This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
// | |
// | |
// ┌▄═==╗▄═==▄▄═▄▄ ,─¬"¬─╥▓ , | |
// ╞▌ ╫█ └█ ██ ▐ █ └█▀ | |
// ╫█ ██ ,, ,, ╫▄, ,▐█,, ,, ,, ,, , | |
// ╫█ ██^ ██ ▄█ ╘█µ ╙█████▄, ╞█ ▄▌ █▄ █▌ ▄▌ j█ ╓ █b | |
// ╫█ ██ ╫█ ▐█▌^^^^╙` ╙█▄ ╞█ ╟█ ▐█µ █▌ ╟█ ▀ └██▓▄, | |
// ╫█ ██ ╫█ └█µ , █ ▌ ╞█ ╙█ ▐█ █▌ ╙█ ╓╖ ╙▀▌ | |
// ,██, ,██ ,██, ▀w ,⌐ ██. ,^ █▄,- ▀, ,╓▀ ,█▌, ^▀, ,.' ╙█, ,x |
This file contains hidden or 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
;(function () { | |
let participantsList = new Set(); | |
Do() | |
function Do() { | |
setInterval(() => { | |
if (window.default_MeetingsUi) { | |
if (!window.default_MeetingsUi.__hooked) { | |
const p = new Proxy(window.default_MeetingsUi, __window__default_MeetingsUi()) |
This file contains hidden or 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
""" classgrid.py by Ryan Meyers at St. George's Episcopal School ryan.meyers at stgnola dot org | |
From Alma reports, download the Teacher Schedules by Period/Day report | |
Open in excel and save as a CSV (this script assumes schedules.csv is the filename | |
Run python classgrid.py (schedules.csv should be in the same folder) | |
grid.csv should be generated. | |
""" | |
import csv | |
periods = set() | |
classrooms = set() |
This file contains hidden or 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
#!/bin/bash | |
# | |
# Based almost entirely on Bryan Gilbert's solution: | |
# http://bryangilbert.com/post/etc/term/dynamic-ssh-terminal-background-colors/ | |
# | |
# Sets terminal screen to color based on keywords or hex code (no #, for some reason that breaks) | |
# | |
# For SSH magic, add following to ~/.zshrc: | |
# | |
: <<'END_COMMENT' |
This file contains hidden or 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 Auto-submit Alma Report Card Grades | |
// @namespace https://greasyfork.org/en/users/8332-sreyemnayr | |
// @version 0.1 | |
// @description When you need to edit/save every teacher's grade for the whole school. | |
// @author Ryan Meyers | |
// @match https://*.getalma.com/report-cards/batches/*/input?student=* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or 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
setTimeout( "closeMyAd()", 1 ); | |
console.log("closeMyAd!!!"); |