Skip to content

Instantly share code, notes, and snippets.

View mstine's full-sized avatar

Matt Stine mstine

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mstine on github.
  • I am mstine (https://keybase.io/mstine) on keybase.
  • I have a public key whose fingerprint is B704 A54C 845D 005D 1D9D 2775 02B0 8975 E3F0 C764

To claim this, I am signing this object:

@mstine
mstine / mastodonTootForever.js
Created November 16, 2022 02:29
Mastodon Toot Forever! - User Script for Tampermonkey
// ==UserScript==
// @name Mastodon Toot Forever!
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Change the "Publish!" button to "Toot!" - Known to work on Mastodon 4.0.2
// @author Matt Stine
// @match https://mastodon.sdf.org/*
// @icon https://img.icons8.com/external-happy-man-bomsymbols-/512/external-fart-happy-man-human-resource-and-life-style-set-2-happy-man-bomsymbols-.png
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// Name: PARA
import "@johnlindquist/kit"
let { roots, write } = await db("db/para-roots.json", { roots: [] })
onTab("PARA-Roots", async () => {
while (true) {
let activeRoot = await arg("Set active PARA Root:", roots)
let pRoots = _.partition(roots, activeRoot)