diff --git a/homepage/.build.yml b/homepage/.build.yml index 85a0852..5bf97a5 100644 --- a/homepage/.build.yml +++ b/homepage/.build.yml @@ -3,6 +3,7 @@ oauth: pages.sr.ht/PAGES:RW packages: - hut - m4 +- python3 tasks: - package: | cd homepage diff --git a/homepage/Makefile b/homepage/Makefile index 323a88d..03a6c3b 100644 --- a/homepage/Makefile +++ b/homepage/Makefile @@ -2,7 +2,10 @@ RM = rm -f -generate: index.html subdirs +generate: blah index.html subdirs + +blah: blog + ./blog index.html: *.m4 m4 index.m4 >index.html diff --git a/homepage/blah/index.html b/homepage/blog old mode 100644 new mode 100755 similarity index 98% rename from homepage/blah/index.html rename to homepage/blog index 1d14ff4..f727e8d --- a/homepage/blah/index.html +++ b/homepage/blog @@ -1,12 +1,27 @@ - - -
-+#!/bin/sh +set -ex;test -d blah||mkdir blah;python -c " +import os;os.chdir('blah') +with open('../$0', 'r') as f: + for day in f.read().split('\n\n\n'): + if day.split('\n')[0] == '#!/bin/sh': + prefix='\n'.join(day.split('\n')[day.split('\n').index( + 'exit 0')+1:])+'\n';continue + elif day.split('\n')[0][:4] == ' ++ + +2023-02-05 + + 2023 already? + +if i were a dog i would like to eat dog food +food,if i were,would i?eat dog to like a dog +food,if dog were,would dog? eat like i i i i i i i i i i i i i i i i + ___ _ | + To be honest, I don't think I would survive a | / \ | + day in Hell. It seems too hot. I was born and | |\ /\ \ | + sorta raised in Maine so I'm used to the cold | | \ \ \ \ | + - the kind of cold for which others make you \ \| ||_|| | + pay an arm, leg, and the tips of your ears!!! _\ \ \ \_/ / + \___/ \__/ + + I know this is word salad I just like it when the line endings match +up. + +> The only safe thing to do was put bands in your top eight so there was no +> drama. + +> But I liked the drama. + + Enveloped in flame Lex, for a brief moment, remembered playing video +games when he was a kid. He sat on the floor in front of the television holding +a game controller - affected - and played a garbled mix of polygons and pixels. +The room caught and the television was on fire. He was on fire. The TV stand, +the game console, the couch behind him, the cat. The TV went out and he was +left holding a controller that wasn't quite right and melting onto his hands. +His clothes were covered in flame. He threw the controller on the ground out of +disappointment and opened his mouth to speak and crumpled into ashes, and +remembered nothing more, ever. + + +2023-02-04 + +[...]: I stand corrected. +Trin: Don't stand corrected. Kneel. + +I hope Hell has good ice cream flavors. + +Y'all won't see this for a while, I'm rewriting the blah stuff and making a +markup format for it (fuckscript). + 2023-02-03 @@ -3854,7 +3914,8 @@ It's the perfect mix of texture and flavor. I had this with some turkey that would have otherwise gone to waste and it was very good. -2022-06-20: Some thinks I've been thinging about +2022-06-20 +: Some thinks I've been thinging about The world would be a more interesting place if any biologists or researchers focusing on transmissable diseases took a look at Internet memes or @@ -3902,7 +3963,8 @@ bisexuals". The latter for acceptance (exceptance?) from those who conduct the former. All wins temporary at best. -2022-06-19: Some things I've been thinking about +2022-06-19 +: Some things I've been thinking about The UNIX philosophy ("create things that do one thing well") is a mandate rather than a suggestion; programs can and will fall under their own @@ -3934,6 +3996,3 @@ trust them a bit more than a bald guy on Spotify. Today's Juneteenth, which is a memory to a pretty cool event, the end of lawful slavery in the United States. - -