From 00e1291c180589225a5a25fa586593bc4004a8c9 Mon Sep 17 00:00:00 2001 From: mehbark Date: Sun, 14 Apr 2024 00:02:29 -0400 Subject: [PATCH] nested cws: done! --- LastGame.broguesave | Bin 0 -> 34 bytes html/flipped-why-am-i-always-like-this.html | 24 +++ html/nested-cws.tsx | 214 +++++++++++++++++++ html/old-why-am-i-always-like-this.html | 22 ++ html/prngsentences.html | 217 ++++++++++++++++++-- serverside/prngnouns.ts | 1 + static/warning-shield.png | Bin 0 -> 752 bytes 7 files changed, 465 insertions(+), 13 deletions(-) create mode 100644 LastGame.broguesave create mode 100644 html/flipped-why-am-i-always-like-this.html create mode 100644 html/nested-cws.tsx create mode 100644 html/old-why-am-i-always-like-this.html create mode 100644 static/warning-shield.png diff --git a/LastGame.broguesave b/LastGame.broguesave new file mode 100644 index 0000000000000000000000000000000000000000..5ac38bb3cac1919e4ffdc45a4e06b864231d59be GIT binary patch literal 34 acmXriGuJa^KmgIA)*>j65lAbsRRaJxI0GC2 literal 0 HcmV?d00001 diff --git a/html/flipped-why-am-i-always-like-this.html b/html/flipped-why-am-i-always-like-this.html new file mode 100644 index 0000000..14803ec --- /dev/null +++ b/html/flipped-why-am-i-always-like-this.html @@ -0,0 +1,24 @@ +
+
+
+ +
+
+ +

This post has content warnings for: major spoilers for things. very major. i mean it!

+
+
+ show post +
+
+
+
+

these guys die :(

+things 1 and 2 from dr. seuss +random fun 4 u +

yes i flipped it

+
+
+
+

πŸ‘€

i should click on this and open it

+
diff --git a/html/nested-cws.tsx b/html/nested-cws.tsx new file mode 100644 index 0000000..8a61cf4 --- /dev/null +++ b/html/nested-cws.tsx @@ -0,0 +1,214 @@ +import { JSX } from "preact/jsx-runtime"; +import { render_and_copy } from "./common.tsx"; + +// TODO: make more generally usable +export const CW = ({ cws, end }: { cws: string[][]; end: JSX.Element }) => + cws.length == 0 ? ( +
{end}
+ ) : ( +
+ +
+
+ + {/* color is omitted here and done elsewhere. note above TODO! */} +

+ This post has content warnings for:{" "} + + {cws[0].join(", ") + + (cws[0].length == 0 ? "" : ".")} + +

+
+
+ show post +
+
+
+ +
+ ); + +export const ALL_STAR_LYRICS = ` +Somebody once told me the world is gonna roll me +I ain't the sharpest tool in the shed +She was looking kind of dumb with her finger and her thumb +In the shape of an "L" on her forehead +Well, the years start comin' and they don't stop comin' +Fed to the rules and I hit the ground runnin' +Didn't make sense not to live for fun +Your brain gets smart but your head gets dumb +So much to do, so much to see +So what's wrong with taking the backstreets? +You'll never know if you don't go (W-w-wacko) +You'll never shine if you don't glow +Hey now, you're an all star +Get your game on, go play +Hey now, you're a rock star +Get the show on, get paid +(And all that glitters is gold) +Only shootin' stars break the mold +It's a cool place, and they say it gets colder +You're bundled up now, wait 'til you get older +But the meteor men beg to differ +Judging by the hole in the satellite picture +The ice we skate is gettin' pretty thin +The water's gettin' warm so you might as well swim +My world's on fire, how 'bout yours? +That's the way I like it and I'll never get bored +Hey now, you're an all star +Get your game on, go play +Hey now, you're a rock star +Get the show on, get paid +(All that glitters is gold) +Only shootin' stars break the mold +Go for the moon (W-w-wacko, w-w-wacko) +Go for the moon (W-w-wacko, w-w-wacko) +Go for the moon +Go for the moon +Hey now, you're an all star +Get your game on, go play +Hey now, you're a rock star +Get the show on, get paid +(And all that glitters is gold) +Only shooting stars… +Somebody once asked, "Could I spare some change for gas? +I need to get myself away from this place" +I said, "Yep, what a concept +I could use a little fuel myself and we could all use a little change" +Well, the years start comin' and they don't stop comin' +Fed to the rules and I hit the ground runnin' +Didn't make sense not to live for fun +Your brain gets smart but your head gets dumb +So much to do, so much to see +So what's wrong with taking the backstreets? +You'll never know if you don't go (Go!) +You'll never shine if you don't glow +Hey now, you're an all star +Get your game on, go play +Hey now, you're a rock star +Get the show on, get paid +(And all that glitters is gold) +Only shootin' stars break the mold +(And all that glitters is gold) +Only shootin' stars break the mold +`.trim(); + +render_and_copy( +
+ s.split("&"))} + end={ +
+

+ HAPPY 413! i barely made it in time IT COUNTS it COUNTE + ! homestuck +

+

+ uh, you want more? fine, take{" "} + + discord server that i made so i could continue + saying "man, computers are incredible" every day + + , you're clearly, eh, dedicated +

+

+ (if it wasn't obvious, this is kinda lame because i was + hoping you'd give up by now) +

+
+ } + /> +
+); diff --git a/html/old-why-am-i-always-like-this.html b/html/old-why-am-i-always-like-this.html new file mode 100644 index 0000000..64e8d3f --- /dev/null +++ b/html/old-why-am-i-always-like-this.html @@ -0,0 +1,22 @@ +
+

πŸ‘€

i should click on this and open it

+
+
+ +
+
+ +

This post has content warnings for: major spoilers for things. very major. i mean it!

+
+
+ show post +
+
+
+
+

these guys die :(

+things 1 and 2 from dr. seuss +random fun 4 u +
+
+
diff --git a/html/prngsentences.html b/html/prngsentences.html index ced1f01..7855eb7 100644 --- a/html/prngsentences.html +++ b/html/prngsentences.html @@ -27,32 +27,223 @@ - - +
+ + + + +

+
+ diff --git a/serverside/prngnouns.ts b/serverside/prngnouns.ts index eacddd8..ef9d5cd 100644 --- a/serverside/prngnouns.ts +++ b/serverside/prngnouns.ts @@ -1,3 +1,4 @@ +// TODO: randomly pick color import { contentType } from "https://deno.land/std@0.202.0/media_types/mod.ts"; import { Image, diff --git a/static/warning-shield.png b/static/warning-shield.png new file mode 100644 index 0000000000000000000000000000000000000000..60f0afabc33c788739806b3983017808097cbf1a GIT binary patch literal 752 zcmVX1^@s6D=Y3@00009a7bBm000ie z000ie0hKEb8vp1< zopZi>&pG#=SC>1Ka@0`gY8f2h{Amr7Vw4ZV(*WEZc}%lSIF(=BNhwk!nf19PLX!(z zxO5SK!=Jx!58k8gQ8)FM8~z@kNHWPtlw>4Ecy@_wB8|~%;ozH__sf_`p{TfLRW_bNZ#Gl_n410%V0#a}si_})M^8%WDT@Gt%Z|g-L3nPt;wgkSJFVW% zin|ZbE#vTXl%23_9=HeZLoUa3ub*VWg#oa3In^7QS5k~J-Rp;3?#Q=9WdOa|K;MiX zMLJ-%f2<5r8ho~Y3`IJiZ^mDg`@E{ogQOT`(LY5tk*3{u8;8fO2FS$IY%PWe2bR&9 z40uKdsy>RE14of$R$c|zTKo)v<2e6Y!L_5cr-NHBe40b&#EGWvxZt5{_jTj&x+|vS iOn`q;&HpND4)_ghIvt@45|ugt0000