Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
howlong=`python -c "howlong = float($(cat $@ | espeak --stdout|wc --bytes)) / 44000.0 / 60;print('%d minutes, %d seconds' % (int(howlong), int((howlong - int(howlong)) * 100 * (3/5))))"`
echo "st TOLEDOT"
sleep 0.1
echo "st -------"
sleep 0.1
echo -e "st Toledot is book 2 in the Post-Self cycle. Book 1, Qoheleth, was read a while back, but if you missed it, you can find it at https://qoheleth.post-self.ink where you can purchase ebooks, paperbacks, listen to it as a podcast, or read it for free in the browser. Toledot is available at https://toledot.post-self.ink\nCW: the occasional well-placed curse word (I've tried to reduce them)"
sleep 0.1
@makyo
makyo / oldelf.vim
Created May 17, 2022 02:16
Old elflord colorscheme
" local syntax file - set colors on a per-machine basis:
" vim: tw=0 ts=4 sw=4
" Vim color file
" Maintainer: Madison Scott-Clary <makyo@drab-makyo.com>
" Last Change: 2022 May 16
"
" A recent update to Vim's color schemes wrecked a bunch of existing colors.
" This is the old version of elflord, far less garish and doesn't touch the
" background color.
149975 total
3462 037-long.md
3018 023-long.md
2984 049-long.md
2970 028-long.md
2925 034-long.md
2897 036-long.md
2832 013-long.md
2807 060-long.md
2793 031-long.md
@makyo
makyo / README.md
Last active February 3, 2022 23:07
Markdown footnotes in Hugo Shortcodes

I needed footnotes within a shortcode that utilized HTML. Theoretically, that is what {{% style shortcodes are for, but they don't work with a subset of markdown, notably footnotes. In order to get around that, it turns out that you need to use printf to print the HTML tags, as that takes place in the postprocessor. Thanks to Nelis Oostens for the tip, but as I'll be using this in multiple sites with different themes, I wanted it easy to just snag.

@makyo
makyo / thp-coyotls.md
Last active March 19, 2021 18:49
Thurston Howl Publicatoins/Bound Tales reading list for 2020

COYOTLS NOVELS AND STORIES LIST BY ANTHOLOGY AND AUTHOR

Anthologies and stories

(Even) Furries Hate Nazis

  • The Battler—Cedric G! Bacon
  • An Incident At Demansk Station—Stephanie Park
  • Nazis Should Never Be Normal—Nathan Hopp
  • Firesale—Laura Hinkle
  • The Scent of Oak—Alexander Patterson
@makyo
makyo / read.sh
Last active September 23, 2020 04:06
#!/bin/bash
infile="$1"
while read line; do
words=`echo "$line" | wc -w`
if [ $words -gt 0 ]; then
bytes=`espeak "$line" --stdout | wc --bytes`
seconds=`python -c "print(float($bytes) / 44000.0)"`
echo "$line"
import math
import random
import sys
from utils import block, clearpage
class cell:
def __init__(self, text, sides=3, iter=3, max=20, delay=0, jitter=0.0):
self.text = text
@makyo
makyo / gigs.txt
Last active April 29, 2020 06:29
st *Well, shit.*
st Winter trudged heavily through the piles of dead leaves lining the gutter, the lynx's broad paws crunching through them. There was a sidewalk, but this wasn't a mood for sidewalks. This wasn't a mood for keeping clean, staying out of the way. This was a proper sulk.
st She pulled her phone out for the umpteenth time and thumbed at the screen, tapping out yet another message to Katrin that she wouldn't send. Deleted message. Put phone away.
st A low growl started in her chest, rose, crescendoed, and she let out a brief yell. No words, just a vent of frustration. Birds startled from the tree beside her.
st It didn't help.
title
Aposematism

"Alright, bid phase."

Kira scowled down at their hand, their pile of tokens in ones and fives, and listened to the bids go around the table. Once moe, when the bid reached them, they were out of their price range. They had the cash, but not if they still wanted to purchase the ornithopter card down the line.

"Pass," they grumbled.