Hihi! I'm Mia, creator of such TRMNL plugins as
I'm here with a bunch of tips for TRMNL plugin creation. Hopefully they help out a bit!
Hihi! I'm Mia, creator of such TRMNL plugins as
I'm here with a bunch of tips for TRMNL plugin creation. Hopefully they help out a bit!
/* /* | |
* This is a Discord theme. It's possible to install it yourself– | |
* (copy and paste it into a <style> in the HTML) | |
* but it's far easier to save this and use it as a theme in: | |
* Vencord: https://vencord.dev, or | |
* BetterDiscord: https://betterdiscord.app | |
* I prefer Vencord personally, but this should work on either :) | |
*/ | |
/** |
#!/usr/bin/env zsh | |
if [ -n "$1" ]; then | |
if [ "$1" -eq "1" ]; then | |
defaults write com.apple.ComfortSounds comfortSoundsEnabled -bool true | |
else | |
defaults write com.apple.ComfortSounds comfortSoundsEnabled -bool false | |
fi | |
# TODO: don't killall if no changes are made (it stutters) | |
else |
Below is a self-account by “William Maldon of Newington”, written for Foxe’s Book of Martyrs.
It has been collected in Alfred W. Pollard’s Records of the English Bible at page 286, in section XLIV The Reading of the Bible, section C titled The Narrative of William Maldon of Newington, written for Fox's Actes and Monuments.
The limits "In K. Henry's time" and the publication of Actes and Monuments gives this a time period of 1547–1563. The date itself is not provided.
I have provided annotation
for context, rendering of side-notes (as such), my own paragraphing for an easier read, spelling changes (y->i) and the translation of three words for clarity:
#!/usr/bin/env python3 | |
# pip install scrapetube | |
# for basic operation, use `python -m http.server --cgi` | |
# and access /cgi-bin/yt.py?c={CHANNEL_ID} | |
# Note that due to scrapetube limits, dates are fetched as eg "3 days ago" | |
# so the further in the past a video is, the less precise the date will be. |
""" | |
Tool to calculate the average additional CO2e emissions | |
from the instruction "boil half a kettle", | |
rather than some slightly more precise figure ("boil 200ml"). | |
Naturally, not everyone will follow this -- we're all busy people -- | |
so we will have to assume not all of these wasted emissions | |
can be reduced. | |
This is targetted at a recipe-delivery service company; |
#!/usr/bin/env python3 | |
"Image that dynamically tells you your user agent" | |
# save this as ./cgi-bin/index.png | |
# run python -m http.server --cgi | |
# go to http://localhost:8000/cgi-bin/hi.png | |
import os, sys | |
from PIL import Image, ImageDraw | |
def serve_png(io, file=sys.stdout): |
/* "NEW" merch */ | |
header>div>div:has(button[aria-label="Shop TumblrMart"]), | |
/* Tumbly live I shoot you like the gun */ | |
div[data-timeline]>div>div:has(div[data-testid=liveMarquee]), | |
div:has(>a>button[aria-label='Live']), | |
#q{display: none} |
#! /usr/bin/env python3 | |
# I hope the example input is fairly obvious | |
# but this is a quick tool to randomly pick emoji from a palette | |
# and apply it onto a grid. | |
# Input Discord-markdown in the format of example.txt to stdin. | |
# Add `spoilers` to argv if you wish to make a cute find-the-emoji puzzle! |