Skip to content

Instantly share code, notes, and snippets.

View st.sh
#!/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
Old elflord colorscheme
View oldelf.vim
" 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.
View gist:3811e7d1178ad9f5435759416b2a2841
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 Feb 3, 2022
Markdown footnotes in Hugo Shortcodes
View README.md

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 / .gitignore
Last active Jan 21, 2022
Makyo's Stimmtausch setup
View .gitignore
worlds.st.yaml
@makyo
makyo / thp-coyotls.md
Last active Mar 19, 2021
Thurston Howl Publicatoins/Bound Tales reading list for 2020
View thp-coyotls.md

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
View read.sh
#!/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"
View exists.py
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
View gigs.txt
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.
@makyo
makyo / .gitignore
Last active Apr 5, 2020
Makyo's TF setup - best viewed at http://etc.drab-makyo.com/tfrc/
View .gitignore
worlds.tf
wixxx-info.tf