run it seymore!
This commit is contained in:
parent
5c384d63e2
commit
b40b4d955e
152
homepage/blog
152
homepage/blog
@ -1,6 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -ex;mkdir -p blah;python -c "import os;os.chdir('blah')
|
set -ex;mkdir -p blah;cd blah;python -c "with open('../$0', 'r') as f:
|
||||||
with open('../$0', 'r') as f:
|
|
||||||
for day in f.read().split('\n\n\n'):
|
for day in f.read().split('\n\n\n'):
|
||||||
if day.split('\n')[0] == '#!/bin/sh':
|
if day.split('\n')[0] == '#!/bin/sh':
|
||||||
prefix='\n'.join(day.split('\n')[day.split('\n').index(
|
prefix='\n'.join(day.split('\n')[day.split('\n').index(
|
||||||
@ -8,15 +7,33 @@ with open('../$0', 'r') as f:
|
|||||||
elif day.split('\n')[0][:4] == '<!--': suffix=day;continue
|
elif day.split('\n')[0][:4] == '<!--': suffix=day;continue
|
||||||
with open(day.split('\n')[0]+'.html', 'x') as g:
|
with open(day.split('\n')[0]+'.html', 'x') as g:
|
||||||
g.write(prefix+day+'\n'+suffix)
|
g.write(prefix+day+'\n'+suffix)
|
||||||
";cd blah;for f in *.html;do #in glob we trust
|
";for f in *.html;do #in glob we trust
|
||||||
test -z "$last" || sed -i "s,__NAVIGATION__,$nav<A HREF=\"$f\">\></A></P>," \
|
test -z "$last" || sed -i "s,__NAVIGATION__,$nav<A HREF=\"$f\">\></A></P>," \
|
||||||
"$last";nav="<P>";test -z "$last"||nav="$nav<A HREF=\"$last\">\<</A>"
|
"$last";nav="<P>";test -z "$last"||nav="$nav<A HREF=\"$last\">\<</A>"
|
||||||
nav="$nav<A HREF=\"index.html\">^</A>";last="$f";done
|
nav="$nav<A HREF=\"index.html\">^</A>";last="$f";done
|
||||||
sed -i "s,__NAVIGATION__,$nav</P>," "$last";for f in *.html;do #e unibus puellam
|
sed -i "s,__NAVIGATION__,$nav</P>," "$last"
|
||||||
fi="$(echo "$f" | cut -d . -f 1)";test "$fi" = "index" && continue
|
ls *.html \
|
||||||
printf '<A HREF="/blah/%s.html">%s</A>\n' "$fi" "$fi"; done|sort -r|\
|
| sed 's/\..*//g' \
|
||||||
sed -e "1i<!DOCTYPE html><HTML><HEAD><TITLE>blah</TITLE></HEAD><BODY><PRE>\
|
| tee feed.xml \
|
||||||
<A HREF="..">..</A>" -e '$a</PRE></BODY></HTML>'>index.html
|
| sed 's_.*_<A HREF="/blah/&.html">&</A>_' \
|
||||||
|
| sort -r \
|
||||||
|
| sed \
|
||||||
|
-e "1i\
|
||||||
|
<!DOCTYPE html><HTML><HEAD><TITLE>blah</TITLE></HEAD>\
|
||||||
|
<BODY><PRE><A HREF="..">..</A>" \
|
||||||
|
-e '$a</PRE></BODY></HTML>' \
|
||||||
|
>index.html
|
||||||
|
sed -i \
|
||||||
|
-e "s,^..........$,<item>\
|
||||||
|
<title>&</title>\
|
||||||
|
<link>https://trinity.moe/blah/&.html</link>\
|
||||||
|
<description>blah post for &</description>\
|
||||||
|
<pubdate>&</pubdate></item>," \
|
||||||
|
-e "1i\
|
||||||
|
<?xml version=\"1.0\" encoding=\"utf-8\"?><rss version=\"2.0\">\
|
||||||
|
<channel><title>trinity.moe/blah</title><link>https://trinity.moe/blah</link>\
|
||||||
|
<lastBuildDate>$(date)</lastBuildDate>" \
|
||||||
|
-e '$a</channel></rss>' feed.xml
|
||||||
exit 0
|
exit 0
|
||||||
<!DOCTYPE html><HEAD><TITLE>blah</TITLE></HEAD><BODY><PRE>
|
<!DOCTYPE html><HEAD><TITLE>blah</TITLE></HEAD><BODY><PRE>
|
||||||
THE WRITER MUST EAT -> patreon.com/trn1ty <-
|
THE WRITER MUST EAT -> patreon.com/trn1ty <-
|
||||||
@ -37,6 +54,124 @@ __NAVIGATION__
|
|||||||
</PRE></BODY></HTML>
|
</PRE></BODY></HTML>
|
||||||
|
|
||||||
|
|
||||||
|
2023-02-16
|
||||||
|
|
||||||
|
[0252] 3@catgirls.nya.gay: nyauseous at the idea of migrating accounts call
|
||||||
|
that motion sickness
|
||||||
|
[0256] 3@catgirls.nya.gay: brain melter let the soup run out your nose i want u
|
||||||
|
to sniffle at the sight of me i want you to need
|
||||||
|
another dose
|
||||||
|
[0256] 3@catgirls.nya.gay: i need a sound cloud
|
||||||
|
|
||||||
|
[2:58 AM] trinity: at night when the console cowboys have crashed and the fans
|
||||||
|
fade to the soft whooshing of the liquid cooling
|
||||||
|
[2:58 AM] trinity: and the only messages flowing through the ethernet towards
|
||||||
|
the superhighway are those of tired overstimulation
|
||||||
|
[2:58 AM] trinity: at every third message
|
||||||
|
[2:58 AM] trinity: there is a tone
|
||||||
|
[2:59 AM] trinity: leave a message after the beep
|
||||||
|
|
||||||
|
[0326] 3@catgirls.nya.gay: noooooooo you're supposed to be the one barking for
|
||||||
|
me
|
||||||
|
[0327] 3@catgirls.nya.gay: post good girl clarity
|
||||||
|
[0328] 3@catgirls.nya.gay: and the machine girl album ended at the same time
|
||||||
|
|
||||||
|
I'll let you in on a little secret. I test my scripts maybe 6 times per
|
||||||
|
line of code. Which sounds like a lot but I overuse pipes and logic operators
|
||||||
|
so per actual unit or whatever of code that's like nothing. I am a rat bastard
|
||||||
|
when it comes to software development.
|
||||||
|
Hacking RSS onto my blah...
|
||||||
|
|
||||||
|
|
||||||
|
2023-02-15
|
||||||
|
|
||||||
|
[...]: That's bad stuff, Trin. That could kill you.
|
||||||
|
Trin: I dunno...
|
||||||
|
|
||||||
|
We're naked sitting with our knees to our necks in the bathtub across
|
||||||
|
from each other. We're in a bathroom in the castle, the walls are a desaturated
|
||||||
|
lime green and the floors are an art deco style tile, each tile about an inch
|
||||||
|
square and patterned in red and white into swirls and other spiral patterns.
|
||||||
|
The bathtub is porcelain, raised off the ground. There's no spigot but there is
|
||||||
|
a shower curtain that sits next to the thin window far off the floor. You raise
|
||||||
|
your hand to grab mine, extend my fingers, hold your hand out and brush my
|
||||||
|
fingertips with yours. You take a scalpel from nowhere and grip my finger but I
|
||||||
|
don't struggle. You slice vertically through the tip of my middle finger. The
|
||||||
|
blood runs down my finger to the end of my palm where it stains the bottom of
|
||||||
|
the tub. I look at the stain on the tub, the pattern of the drops, but you
|
||||||
|
brush my chin with your other hand and bring my gaze up to yours. You use my
|
||||||
|
finger to paint from the center of your forehead to the tip of your nose, a
|
||||||
|
line under each eye, under your lip until the end of your chin. My blood is
|
||||||
|
clotting, you didn't cut deep enough. You lean towards me. I do the same. You
|
||||||
|
whisper to me. I can't hear it. And you're gone. And I'm alone in a bathtub and
|
||||||
|
a pond of red in a sea of white, and I'm cold and thirsty.
|
||||||
|
|
||||||
|
Divorce speedrun.
|
||||||
|
|
||||||
|
Jigsaw is a boomer.
|
||||||
|
|
||||||
|
[0223] trinity@miniwa.moe: fediv erse!!!!!!!!!!!
|
||||||
|
[0232] trinity@miniwa.moe: 3 likes i am so popular in fedivrse i am lik4e the
|
||||||
|
12 oz mouse of the miniwa dot moe
|
||||||
|
[0233] trinity@miniwa.moe: catboy domsday plot 2 rul the state of new hampshr
|
||||||
|
[0234] trinity@miniwa.moe: trinity wisdom look up pegging on yandex dot ru
|
||||||
|
[0235] trinity@miniwa.moe: trinity wisdom bark for me ????
|
||||||
|
[0235] trinity@miniwa.moe: wait i meant !!!!
|
||||||
|
[0236] trinity@miniwa.moe: ohhhh my god u are so hot do u havbe a microsoft
|
||||||
|
xbox live gamertag msg me
|
||||||
|
[0237] trinity@miniwa.moe: i will make the tweets for which james gunn was
|
||||||
|
canceled look like an NHS press release
|
||||||
|
[0315] 3@catgirls.nya.gay: i am so fucking swag i am the swag i am swag swag
|
||||||
|
swag i am so swag did u know hey did u know i am
|
||||||
|
swag cuz (be quiet this is a secret) (are u
|
||||||
|
whispering) (get in close) hey hey i am swag
|
||||||
|
hiiiiiiiiiiiiiiii i am swag i am so swag
|
||||||
|
|
||||||
|
|
||||||
|
2023-02-14
|
||||||
|
|
||||||
|
2022年03月11日
|
||||||
|
4RAGING!catz
|
||||||
|
ウサギ-
|
||||||
|
[picture of a dog girl eating a sandwich saying "mmf sandwich"]
|
||||||
|
Today was a good day, and though I could remember it by what it _was_,
|
||||||
|
I'll recall how I _felt_, and let you fill in the rest -
|
||||||
|
Nervous
|
||||||
|
Particularly when I tried the door and it was locked. What if
|
||||||
|
it was the wrong day? etc.
|
||||||
|
Anxious
|
||||||
|
how do you spell that
|
||||||
|
I didn't know how [...] policy was so I was worried I'd do
|
||||||
|
something that was both stupid and catastrophically wrong
|
||||||
|
Relieved
|
||||||
|
When we actually started [...]
|
||||||
|
Intriguiged [sic]
|
||||||
|
When I saw everyone.
|
||||||
|
By now, and BTW. Excuse the previous if it was cringe, I know the names
|
||||||
|
of:
|
||||||
|
- You
|
||||||
|
- [...]
|
||||||
|
- [...]
|
||||||
|
(not the spelling but I'll take note next time)
|
||||||
|
- [...]
|
||||||
|
- [...]
|
||||||
|
& that's it.
|
||||||
|
I'm bad at names and face blind so give me credit.
|
||||||
|
Last night I had Fritos for supper. Now, [...], [...], [...], on [...].
|
||||||
|
Pretty good.
|
||||||
|
|
||||||
|
I don't remember what it was like to feel emotions.
|
||||||
|
|
||||||
|
I worked both that job and my previous until I was sure I could do that
|
||||||
|
job, then quit my previous job for that job. It paid very well and I miss a lot
|
||||||
|
about it. I'm currently at the job after that job.
|
||||||
|
|
||||||
|
And I thought so hard but I didn't suspect
|
||||||
|
that there could be anything wrong with my head
|
||||||
|
and you tried so hard but I didn't believe
|
||||||
|
that there could be something so different about me
|
||||||
|
|
||||||
|
|
||||||
2023-02-13
|
2023-02-13
|
||||||
|
|
||||||
catgirl 911, what's your emergency?
|
catgirl 911, what's your emergency?
|
||||||
@ -4520,3 +4655,4 @@ 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
|
Today's Juneteenth, which is a memory to a pretty cool event, the end
|
||||||
of lawful slavery in the United States.
|
of lawful slavery in the United States.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user