1
0

Merge remote-tracking branch 'homepage/main'

This commit is contained in:
dtb 2023-08-09 20:40:49 -04:00
commit e8a55123a5
35 changed files with 13075 additions and 0 deletions

13
homepage/.build.yml Normal file
View File

@ -0,0 +1,13 @@
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hut
- python3
tasks:
- package: |
cd homepage
make generate
tar cvz --exclude .git . >../site.tar.gz
ls -l ../site.tar.gz
- upload: |
hut pages publish -d trinity.moe site.tar.gz

1
homepage/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
test

1
homepage/CNAME Normal file
View File

@ -0,0 +1 @@
www.trinity.moe

26
homepage/Makefile Normal file
View File

@ -0,0 +1,26 @@
.POSIX:
FILES = CNAME css homepage img Makefile README
RM = rm -f
test:
mkdir test
cp -R $(FILES) test/
make -C test generate
clean_test:
rm -r test
retest:
make clean_test
make test
generate: clean.sh
clean.sh:
sh homepage
clean: clean.sh
sh clean.sh
.PHONY: generate clean test clean_test retest

3
homepage/README Normal file
View File

@ -0,0 +1,3 @@
/\ |/||\|| _\|||\ |||||/||\|\\// |\ /|/ \||\|
/ \ || || /|||\\|||| || || ||\/|| | ||>
/____\ _||__||\\||||\\|||__||_ _||_()||\/||\_/||/|

8
homepage/css/2023.css Normal file
View File

@ -0,0 +1,8 @@
a{
color: #FF0000;
}
body{
background-color: #000000;
color: #FFDBDB;
}

11
homepage/css/4chanog.css Normal file
View File

@ -0,0 +1,11 @@
/* is this really an OG 4chan theme?
* screenshots from nov 2003 look like
* this but idk... */
body:
background-color: #000000;
color: #FFFFFF;
h1, h2, h3, .sidebar {
color: #B77F75
}

2
homepage/css/Makefile Normal file
View File

@ -0,0 +1,2 @@
index.html: index.m4 ../head.m4
m4 index.m4 >index.html

0
homepage/css/blank.css Normal file
View File

View File

@ -0,0 +1,10 @@
body {
background-color: #000000;
color: #FFFFFF;
font-weight: bold;
}
a {
color: #FFFFFF;
font-weight: normal;
}

9
homepage/css/discord.css Normal file
View File

@ -0,0 +1,9 @@
/* found on https://colorswall.com/palette/181/. seems accurate */
body {
background-color: #23272A;
color: #99AAB5;
}
a {
color: #7289DA;
}

View File

@ -0,0 +1,3 @@
body {
background-image: linear-gradient(#bcdeff, #efdbfc, #bcdeff);
}

57
homepage/css/index.m4 Normal file
View File

@ -0,0 +1,57 @@
define(`_PAGE', `css/')dnl
define(`_TITLE', `trinity.moe/css/')dnl
define(`_DESCRIPTION', `trinity.moe css')dnl
define(`_STYLE', `')
define(`csspage', `<INPUT ID="$1" NAME="css" TYPE="radio" VALUE="/css/$1.css" />
<LABEL FOR="$1">/css/$1.css</LABEL>
<BR />')dnl
<!DOCTYPE html>
<HTML LANG="en">
include(`../head.m4')dnl
<BODY>
<P><A HREF="/">~ Return to the rest of the site</A></P>
<SCRIPT SRC="/js/cookies.js" TYPE="application/javascript"></SCRIPT>
<SCRIPT SRC="/js/sheets.js" TYPE="application/javascript"></SCRIPT>
<SCRIPT TYPE="application/javascript">window.onload = window.initializesheets;</SCRIPT>
<H1>Site CSS selector</H1>
<HR ALIGN="left" SIZE="1" WIDTH="25%" />
<P><SMALL>
This page may be hostile to screen readers and other web assistive technologies because it's essentially a raw list of filenames with paths and extensions.
If you'd like a friendlier view, it's possible the <A HREF="https://github.com/devenblake/homepage/tree/main/css">webview directory list</A> for the repository service I use could be a better way to browse this site's more hidden stylesheets.
Otherwise, pull requests are open for the repository, and my e-mail is on the site index if you don't have an account on the service being used.
</SMALL></P>
<P><SMALL>
This page uses JavaScript.
The URLs to the sheets are provided in their entry.
If you do not wish to use JavaScript for this page, you may set a custom theme for this website in your browser settings using the sheet file.
</SMALL></P>
csspage(`blank')
csspage(`4chanog')
csspage(`calebmode')
csspage(`discord')
csspage(`givemerights')
csspage(`instantfloppy')
csspage(`instantfloppy-redandwhite')
csspage(`k')
<INPUT ID="mcupdate" NAME="css" TYPE="radio" VALUE="/css/mcupdate.css" />
<LABEL FOR="mcupdate">/css/mcupdate.css (<B>NONFREE; read <A HREF="/css/mcupdate.css">the sheet source</A></B>)</LABEL>
<BR />
csspage(`nevertoodark')
csspage(`pink')
csspage(`windowsclassic')
csspage(`yarahmode')
<H4>side-effects</H4>
<INPUT ONCLICK="
var selected;
if((selected = document.querySelector('input[name=\'css\']:checked')) != null)
window.setStyling(selected.value);
" TYPE="button" VALUE="apply to this page" />
<INPUT ONCLICK="
window.setCookie('sheet', window.getStyling(), 365);
" TYPE="button" VALUE="apply page styling site-wide with a cookie" />
</BODY>
</HTML>

View File

@ -0,0 +1,12 @@
/** add stylesheet.css, then add this sheet **/
body {
/** cloning CNN, cheaply. **/
background-color: #DDDDDD;
color: #111111;
}
a {
color: #EE0000;
text-decoration: underline;
}

View File

@ -0,0 +1,17 @@
body {
background-color: #000000;
color: #00FF00;
font-size: 100%;
}
a {
color: #FF4444;
text-decoration: none;
font-weight: bold;
}
h1, h2, h3, h4, h5, h6, h7 { font-weight: normal; }
h1 { font-size: 1.25em; /* 20px */ }
h2 { font-size: 1.125em; /* 18px */ }
h3 { font-size: 1em; /* 16px */ }
h7 { font-size: 0.625em; /* 10px */ }

10
homepage/css/k.css Normal file
View File

@ -0,0 +1,10 @@
body {
background-color: #000000;
color: #FFDBDB;
font-weight: bold;
}
a {
color: #FFDBDB;
font-weight: normal;
}

8
homepage/css/lists.css Normal file
View File

@ -0,0 +1,8 @@
/* stolen a bit from http://www.lord-enki.net/vt240.css */
tr, td, ul, ol {
outline: 1px solid;
padding-top: 5px;
padding-bottom: 5px;
margin-top: 5px;
margin-bottom: 10px;
}

39
homepage/css/mcupdate.css Normal file
View File

@ -0,0 +1,39 @@
/* SITE LICENSE DOES NOT APPLY TO THIS FILE.
This file is UNLICENSED. Its copyright belongs to its original creators (NOT
Deven Blake), they are the only ones who can license this file.
mcupdate.css
site theme stolen from mcupdate.tumblr.com --
Photo Minimal
A Tumblr theme by William Rainbird - http://william.rainbird.me
Tweaked for the Minecraft Launcher by Mojang
*/
body {
font-family: sans-serif;
background-color: #222222;
background-image: url('https://static.tumblr.com/qfn3sex/ezom7y7iq/bg_main.png');
color: #e0d0d0;
}
a { color: #aaaaff; }
hr {
border: 0;
color: #111111;
background-color: #111111;
height: 2px;
}
h3 {
color: #ffffff;
font-size: 16px;
}
img {
border:0;
margin:0;
}

View File

@ -0,0 +1,8 @@
body {
background-color: #000000;
color: #222222;
}
a {
color: #333333;
}

3
homepage/css/pink.css Normal file
View File

@ -0,0 +1,3 @@
body {
background-color: #FFDBDB;
}

View File

@ -0,0 +1,10 @@
body {
background-color: #3B6EA5;
color: #FFFFFF;
font-weight: bold;
}
a {
color: #FFFFFF;
font-weight: normal;
}

View File

@ -0,0 +1,6 @@
body {
background-color: #66AA88;
}
a {
color: #7E4662;
}

11150
homepage/homepage Executable file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

BIN
homepage/img/maya.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

BIN
homepage/img/soup.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@ -0,0 +1,5 @@
<A HREF="http://www.trinity.moe"><IMG
ALT="trinity.moe. Hypertext on port 80. Click here."
SRC="https://ia601509.us.archive.org/31/items/trinitydotmoe88x31/trinitydotmoe88x31.bmp"
WIDTH="88px"
/></A>

BIN
homepage/img/trinnow.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@ -0,0 +1,5 @@
<A HREF="http://www.trinity.moe"><IMG
ALT="trinity.moe!"
SRC="https://ia801402.us.archive.org/5/items/trinmoe3/trinnow.bmp"
WIDTH="88px"
/></A>

2
homepage/phones/Makefile Normal file
View File

@ -0,0 +1,2 @@
index.html: ../head.m4 ../html.m4 index.m4
m4 index.m4 >index.html

72
homepage/phones/index.m4 Normal file
View File

@ -0,0 +1,72 @@
<!DOCTYPE html>
<HTML LANG="en">
define(`_TITLE', `phones')dnl
define(`_DESCRIPTION', `phones')dnl
define(`_PAGE', `phones/')dnl
define(`_STYLE',`.bad{ background-color: red; color: white; }
.good{ background-color: green; color: white; }
table, td, th{ border: 1px solid; border-collapse: collapse; }')dnl
include(`../head.m4')dnl
define(`good', `<TD CLASS="g`'ood">$1</TD>')dnl
define(`bad', `<TD CLASS="b`'ad">$1</TD>')dnl
include(`../html.m4')dnl
<BODY>
<P><A HREF="/">~ Return to the rest of the site</A></P>
<H1>phones</H1>
<H3>updated 2022-08-30</H3>
_BAR
<TABLE> <!-- This looks awful in HTML after generation. Open in Lynx or clone the git repo and read the m4 file. -->
<TR> _th(`Phone') _th(`Battery') _th(`Charging jack') _th(`Codecs') _th(`Firmware') _th(`Headphone jack') _th(`Keyboard') _th(`OS') _th(`SD') _th(`WLAN')</TR>
<TR>_td(`Samsung SCH-R390') good(`Good') bad(`Micro USB-B, no OTG') bad(`No FLAC, no Vorbis, no VP8') bad(`Proprietary') good(`3.5mm') good(`Hardware') bad(`Proprietary') good(`Micro') bad(`No')</TR>
<TR> _td(`LG UN280') good(`Decent') bad(`Micro USB-B, no OTG') bad(`No FLAC, no Vorbis, no VP8') bad(`Proprietary') good(`3.5mm') good(`Hardware') bad(`Proprietary') good(`Micro') bad(`No')</TR>
<TR>_td(`iPhone SE (2016)') bad(`Dismal') bad(`Proprietary') bad(`No FLAC, no Vorbis, no VP8') bad(`Proprietary') good(`3.5mm') bad(`Software') bad(`Proprietary') bad(`None') good(`Yes')</TR>
<TR> _td(`Unihertz Titan') good(`Excellent') good(`USB-C PD') good(`Configurable') bad(`Proprietary') good(`3.5mm') good(`Hardware') bad(`Proprietary') good(`Micro') good(`Yes')</TR>
<TR> _td(`Pinephone') good(`Upgradeable') good(`USB-C PD') good(`Configurable') good(`Changeable') good(`3.5mm') good(`Software or hardware') good(`Open') good(`Micro') good(`Yes')</TR>
<TR> _td(`Punkt MP-02') good(`Excellent') bad(`USB-C but no PD') bad(`No FLAC, no Vorbis, no VP8') bad(`Proprietary') bad(`over USB-C') good(`Hardware') bad(`Proprietary') bad(`None') good(`Yes')</TR>
</TABLE>
<H2>Samsung SCH-R390</H2>
<P>
Also known as the Freeform 4.
I used this extensively and enjoyed it at the time.
</P>
<H2>Samsung SCH-R480</H2>
<P>
Also known as the FreeForm 5.
No significant changes from the FreeForm 4 beyond aesthetics.
</P>
<H2>LG UN280</H2>
<P>
Also known as the Freedom II.
I used this extensively and enjoyed it at the time.
</P>
<H2>iPhone SE (2016)</H2>
<P>
I used this extensively and despise it.
</P>
<H2>Unihertz Titan</H2>
<P>
I used this extensively and despise it.
Bad hardware keyboard (no dollar sign).
Vendor unlawfully non-compliant with GPL 2 licensing on Linux, for this reason I would avoid this phone like the plague.
</P>
<H2>Pine64 Pinephone</H2>
<P>
I love this phone a lot.
Hardware keyboard available as an extension; hardware keyboard also adds a second battery, tripling the battery life of the phone.
Firmware is proprietary by default but the vendor allows using free firmware.
</P>
<H2>Punkt MP-02</H2>
<P>
Sucks.
</P>
</BODY>
</HTML>

1584
homepage/shitlist/index.html Normal file

File diff suppressed because it is too large Load Diff