Compare commits

...

5 Commits

Author SHA1 Message Date
Case Duckworth b133596246 Remove <hr> 2021-02-04 12:44:14 -06:00
Case Duckworth 4a4904c121 Change styling 2021-02-04 12:43:40 -06:00
Case Duckworth 2ee68982a1 Add submodules 2021-02-04 12:41:39 -06:00
Case Duckworth 114a7be9d0 Move Z to G 2021-02-04 12:39:49 -06:00
Case Duckworth b10063f0b9 Ignore O/ 2021-02-04 12:39:36 -06:00
21 changed files with 81 additions and 479 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
O/

6
.gitmodules vendored Normal file
View File

@ -0,0 +1,6 @@
[submodule "nef"]
path = nef
url = https://tildegit.org/acdw/nef
[submodule "hell"]
path = hell
url = https://git.sr.ht/~acdw/hell

15
Z → G
View File

@ -27,8 +27,17 @@ Nav() { # Nav <INDEX> <files...>
alias T=sed\ q
# redefine X for better logging
X()(P>&2 $F;
eval "$(P "cat<<.";cat;P;P .)")
X()(eval "$(P "cat<<.";cat;P;P .)")
. hell/hell
# MAIN
for F;do X<L>O/${F#I};done
for F
do
printf>&2 '%s\t...' "$F"
X<L>O/${F#I} && {
echo>&2 "OK."
} || {
echo>&2 "FAIL."
}
done

View File

@ -30,4 +30,3 @@ but I'm working on that.
Oh, I have a blog!
You can scroll through a <a href="blog.html">big list of all the posts</a>
or read the most recent one right here:
<hr>

View File

@ -1,56 +0,0 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>colophon</title>
<link rel=stylesheet type=text/css href=S/acdw.css>
</head>
<body>
<header>
<a href="./index.html"
>acdw</a>
<span class=phi>&#x2C77;</span>
<a href="./blog.html"
>blog</a>
<a href="./code.html"
>code</a>
<a href="./cooking.html"
>cooking</a>
<a href="./dogs.html"
>dogs</a>
<a href="./noise.html"
>noise</a>
<a href="./writing.html"
>writing</a>
</header>
<main>
<h1>colophon</h1>
<h2>nef</h2>
<P>now 299 characters,
a 69% reduction
from <a href="https://git.sr.ht/~acdw/unk">UNK</a>.
<pre><code>#!/bin/sh -C
rm -r O;mkdir O;cp -r S O;alias P=echo
X()(eval "$(P "cat&lt;&lt;.";cat;P;P .)")
P&gt;Z 'for F;do X&lt;L&gt;O/${F#I};done'
P&gt;R '!/^&lt;.*&gt;$/{$0="&lt;P&gt;"$0}//'
P&gt;L '&lt;!DOCTYPE html&gt;&lt;title&gt;$(sed q $F)&lt;/title&gt;
$(sed 1d $F|X|awk -vRS= -fR)&lt;hr&gt;/$(for P in I/*
do P "&lt;a href=.${P#I/}&gt;$(sed q $P)&lt;/a&gt;";done)'
. ./Z
</code></pre>
</main>
<footer>
<span class=phi>&copy; 2020 Case Duckworth</span>
<span class=phi>&#x2C77;</span>
<a href="./.license.html"
>license</a>
<a href="./.colophon.html"
class=current
>colophon</a>
<a href="./.rss.xml"
></a>
<a href="./.atom.xml"
></a>
</footer>
</body>

View File

@ -1,43 +0,0 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>license</title>
<link rel=stylesheet type=text/css href=S/acdw.css>
</head>
<body>
<header>
<a href="./index.html"
>acdw</a>
<span class=phi>&#x2C77;</span>
<a href="./blog.html"
>blog</a>
<a href="./code.html"
>code</a>
<a href="./cooking.html"
>cooking</a>
<a href="./dogs.html"
>dogs</a>
<a href="./noise.html"
>noise</a>
<a href="./writing.html"
>writing</a>
</header>
<main>
<h1>license</h1>
</main>
<footer>
<span class=phi>&copy; 2020 Case Duckworth</span>
<span class=phi>&#x2C77;</span>
<a href="./.license.html"
class=current
>license</a>
<a href="./.colophon.html"
>colophon</a>
<a href="./.rss.xml"
></a>
<a href="./.atom.xml"
></a>
</footer>
</body>

View File

@ -1,42 +0,0 @@
html,body{
font:18px/1.4 serif;
padding:0;
margin:0;
min-height:100vh;
display:flex;
flex-direction:column;
}
main{
max-width:70ch;
height:100%;
padding:0 1ch;
flex:1 0 auto;
background: white;
}
header,footer{
font:80% monospace;
background:#333;
color:white;
padding:2px 0;
}
header a,footer a,.phi {
color:inherit;
text-decoration:none;
margin:0;
padding:2px;
}
header a.current,footer a.current,
header a:hover,footer a:hover{
color:#333;
background:white;
}
#portrait {
float:left;
margin-right: 2ch;
border-radius:50%;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View File

@ -1,43 +0,0 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>blog</title>
<link rel=stylesheet type=text/css href=S/acdw.css>
</head>
<body>
<header>
<a href="./index.html"
>acdw</a>
<span class=phi>&#x2C77;</span>
<a href="./blog.html"
class=current
>blog</a>
<a href="./code.html"
>code</a>
<a href="./cooking.html"
>cooking</a>
<a href="./dogs.html"
>dogs</a>
<a href="./noise.html"
>noise</a>
<a href="./writing.html"
>writing</a>
</header>
<main>
<h1>blog</h1>
</main>
<footer>
<span class=phi>&copy; 2020 Case Duckworth</span>
<span class=phi>&#x2C77;</span>
<a href="./.license.html"
>license</a>
<a href="./.colophon.html"
>colophon</a>
<a href="./.rss.xml"
></a>
<a href="./.atom.xml"
></a>
</footer>
</body>

View File

@ -1,43 +0,0 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>code</title>
<link rel=stylesheet type=text/css href=S/acdw.css>
</head>
<body>
<header>
<a href="./index.html"
>acdw</a>
<span class=phi>&#x2C77;</span>
<a href="./blog.html"
>blog</a>
<a href="./code.html"
class=current
>code</a>
<a href="./cooking.html"
>cooking</a>
<a href="./dogs.html"
>dogs</a>
<a href="./noise.html"
>noise</a>
<a href="./writing.html"
>writing</a>
</header>
<main>
<h1>code</h1>
</main>
<footer>
<span class=phi>&copy; 2020 Case Duckworth</span>
<span class=phi>&#x2C77;</span>
<a href="./.license.html"
>license</a>
<a href="./.colophon.html"
>colophon</a>
<a href="./.rss.xml"
></a>
<a href="./.atom.xml"
></a>
</footer>
</body>

View File

@ -1,43 +0,0 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>cooking</title>
<link rel=stylesheet type=text/css href=S/acdw.css>
</head>
<body>
<header>
<a href="./index.html"
>acdw</a>
<span class=phi>&#x2C77;</span>
<a href="./blog.html"
>blog</a>
<a href="./code.html"
>code</a>
<a href="./cooking.html"
class=current
>cooking</a>
<a href="./dogs.html"
>dogs</a>
<a href="./noise.html"
>noise</a>
<a href="./writing.html"
>writing</a>
</header>
<main>
<h1>cooking</h1>
</main>
<footer>
<span class=phi>&copy; 2020 Case Duckworth</span>
<span class=phi>&#x2C77;</span>
<a href="./.license.html"
>license</a>
<a href="./.colophon.html"
>colophon</a>
<a href="./.rss.xml"
></a>
<a href="./.atom.xml"
></a>
</footer>
</body>

View File

@ -1,43 +0,0 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>dogs</title>
<link rel=stylesheet type=text/css href=S/acdw.css>
</head>
<body>
<header>
<a href="./index.html"
>acdw</a>
<span class=phi>&#x2C77;</span>
<a href="./blog.html"
>blog</a>
<a href="./code.html"
>code</a>
<a href="./cooking.html"
>cooking</a>
<a href="./dogs.html"
class=current
>dogs</a>
<a href="./noise.html"
>noise</a>
<a href="./writing.html"
>writing</a>
</header>
<main>
<h1>dogs</h1>
</main>
<footer>
<span class=phi>&copy; 2020 Case Duckworth</span>
<span class=phi>&#x2C77;</span>
<a href="./.license.html"
>license</a>
<a href="./.colophon.html"
>colophon</a>
<a href="./.rss.xml"
></a>
<a href="./.atom.xml"
></a>
</footer>
</body>

View File

@ -1,67 +0,0 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>Case Duckworth</title>
<link rel=stylesheet type=text/css href=S/acdw.css>
</head>
<body>
<header>
<a href="./index.html"
class=current
>acdw</a>
<span class=phi>&#x2C77;</span>
<a href="./blog.html"
>blog</a>
<a href="./code.html"
>code</a>
<a href="./cooking.html"
>cooking</a>
<a href="./dogs.html"
>dogs</a>
<a href="./noise.html"
>noise</a>
<a href="./writing.html"
>writing</a>
</header>
<main>
<h1>Case Duckworth</h1>
<img src=S/portrait.png id=portrait>
<P>Hi there. You've stumbled onto my little slice of web heaven. Let me tell you
about myself; that seems to be a pretty common thing people do on personal web
spaces. It's strange, though, isn't it? I mean, if I go over to your house,
you're not going to tell me where you work and what you do in your spare time,
you're just going to ask me if I want a glass of water or something, maybe offer
to give me the nickel tour. Well, I suppose that's what this is, then.
<h2>What do I do?</h2>
<P>Oh, goodness, lots of things.
I <a href="writing.html">write</a> when I have the time,
mostly poetry;
I hang out on tilde servers,
and even <a href="https://breadpunk.club">administer one</a>;
I <a href="cooking.html">cook</a> just about every day;
I love my wife and <a href="dogs.html">our dogs</a>;
sometimes I <a href="noise.html">make noise</a> and record it;
I also <a href="code.html">tinker with code</a>,
mostly Bash and Emacs lisp nowadays.
<P>Sometimes I struggle with my mental health, too,
but I'm working on that.
<h2>Okay, but what about, like, <em>right now</em>?</h2>
<P>Oh, I have a blog!
You can scroll through a <a href="blog.html">big list of all the posts</a>
or read the most recent one right here:
<hr>
</main>
<footer>
<span class=phi>&copy; 2020 Case Duckworth</span>
<span class=phi>&#x2C77;</span>
<a href="./.license.html"
>license</a>
<a href="./.colophon.html"
>colophon</a>
<a href="./.rss.xml"
></a>
<a href="./.atom.xml"
></a>
</footer>
</body>

View File

@ -1,43 +0,0 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>noise</title>
<link rel=stylesheet type=text/css href=S/acdw.css>
</head>
<body>
<header>
<a href="./index.html"
>acdw</a>
<span class=phi>&#x2C77;</span>
<a href="./blog.html"
>blog</a>
<a href="./code.html"
>code</a>
<a href="./cooking.html"
>cooking</a>
<a href="./dogs.html"
>dogs</a>
<a href="./noise.html"
class=current
>noise</a>
<a href="./writing.html"
>writing</a>
</header>
<main>
<h1>noise</h1>
</main>
<footer>
<span class=phi>&copy; 2020 Case Duckworth</span>
<span class=phi>&#x2C77;</span>
<a href="./.license.html"
>license</a>
<a href="./.colophon.html"
>colophon</a>
<a href="./.rss.xml"
></a>
<a href="./.atom.xml"
></a>
</footer>
</body>

View File

@ -1,43 +0,0 @@
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>writing</title>
<link rel=stylesheet type=text/css href=S/acdw.css>
</head>
<body>
<header>
<a href="./index.html"
>acdw</a>
<span class=phi>&#x2C77;</span>
<a href="./blog.html"
>blog</a>
<a href="./code.html"
>code</a>
<a href="./cooking.html"
>cooking</a>
<a href="./dogs.html"
>dogs</a>
<a href="./noise.html"
>noise</a>
<a href="./writing.html"
class=current
>writing</a>
</header>
<main>
<h1>writing</h1>
</main>
<footer>
<span class=phi>&copy; 2020 Case Duckworth</span>
<span class=phi>&#x2C77;</span>
<a href="./.license.html"
>license</a>
<a href="./.colophon.html"
>colophon</a>
<a href="./.rss.xml"
></a>
<a href="./.atom.xml"
></a>
</footer>
</body>

View File

@ -15,6 +15,19 @@ main{
background: white;
}
main > :last-child {
border-bottom: 2px solid;
}
main > :last-child::after {
content: "\2766";
font: 18px/1 serif;
position: relative;
top: 0.75rem;
left: 50%;
background: white;
}
header,footer{
font:80% monospace;
background:#333;
@ -40,3 +53,50 @@ header a:hover,footer a:hover{
margin-right: 2ch;
border-radius:50%;
}
h1,h2,h3,h4,h5,h6 {
font: 1rem sans-serif;
}
h1 {
text-transform: uppercase;
letter-spacing: 0.2rem;
font-weight: bold;
border-top: 2px solid;
}
h2 {
font-style: italic;
font-weight: bold;
letter-spacing: 1px;
}
h2::before {
content: "\261e"; /* index */
position: relative;
font: 24px/1 normal normal;
margin-right: 0.5rem;
}
h3 {
font-weight: bold;
}
h3::before {
content: "\25ca"; /* lozenge */
position: relative;
font: 18px/1 normal normal;
margin-right: 1rem;
}
h4::before,
h5::before,
h6::before {
content: "\2022"; /* bullet */
}
pre,code {
font: 16px/1.2 monospace;
background: #eee;
}
pre {
padding: 0.5rem;
border-radius: 0.5rem;
}
code { border-radius: 4px;
padding: 0 4px; }

1
hell Submodule

@ -0,0 +1 @@
Subproject commit 58dac733ca64d7af70a07e6464710320141501b4

1
nef Submodule

@ -0,0 +1 @@
Subproject commit 9ae2eef082ddaa41f773059cb485db4e39c63553

View File

@ -1,9 +0,0 @@
#!/bin/sh -C
rm -r O;mkdir O;cp -r S O;alias P=echo
X()(eval "$(P "cat<<.";cat;P;P .)")
P>Z 'for F;do X<L>O/${F#I};done'
P>R '!/^<.*>$/{$0="<P>"$0}//'
P>L '<!DOCTYPE html><title>$(sed q $F)</title>
$(sed 1d $F|X|awk -vRS= -fR)<hr>/$(for P in I/*
do P "<a href=.${P#I/}>$(sed q $P)</a>";done)'
. ./Z