Html({
title => 'cheat sheets',
- version => 'v1.5',
+ version => '1.13',
description => [
"Cheat sheets summarising various software programs and standards.",
],
keywords => [qw'
sheet cheat reference software overview summary help keyboard map unicode
'],
- stylesheet => [qw'light dark red'],
+ raw => [
+ '<link rel="sitemap" type="application/xml" href="/sitemap.xml">',
+ '<link rel="alternate" type="application/rss+xml"',
+ ' title="RSS feed of repository updates"',
+ ' href="http://git.shiar.nl/sheet.git/rss">',
+ ],
+ data => ['UPDATE'],
});
+exit if $ENV{REQUEST_METHOD} eq 'HEAD';
:>
<h1>Shiar's cheat sheets</h1>
Through the miracle of formatting, design, abbreviation, compression, and Perl,
the following topics have been condensed into single pages of reference.
<br>
-Originally created by Mischa <span style="font-variant:small-caps">Poslawsky</span>,
+Originally created by Mischa <span class="family-name">Poslawsky</span>,
but you're free to use, print, alter, and redistribute under the AGPL license.
</p>
+<:
+if (open my $log, '<', 'UPDATE') {{
+ my $line = readline $log;
+ $line or next; # explicitly ignore empty input
+ EscapeHTML $line;
+ my ($date, $subject) = split /[\t\n]/, $line;
+ $date =~ s/ \K/<small>/ and $date .= '</small>';
+ $subject =~ s{\A(\w+)(?=: )}{showlink($1, -e "$1.plp" && "/$1")}e;
+ say "<p><strong>Last update</strong>: $date $subject</p>";
+}}
+:>
+<nav>
<div class="section">
<h2>Keyboard maps</h2>
<ul>
<h2>Unicode characters</h2>
<ul>
<li><a href="/charset">charsets</a>
+<li><a href="/charset/unicode">unicode allocation</a>
<li><a href="/unicode">common glyphs</a>
<li><a href="/digraphs">digraphs</a>
-<li><a href="/writing">script comparison</a>
+<li><a href="/writing">alphabet comparison</a>
+<li><a href="/latin">latin variants</a>
+<li><a href="/digits">numerals</a>
<li><a href="/font">font coverage</a>
</ul>
</div>
<ul>
<li><a href="/browser">browser support</a>
<li><a href="/countries">country codes</a>
+<li><a href="/perl">perl versions</a>
+<li><a href="/apl">apl symbols</a>
<li><a href="/termcol">terminal colours</a>
-<li><a href="/sc">starcraft units</a>
+<li><a href="/sc/lotv">starcraft units</a>
<li><a href="/emoji">emoticons</a>
+<li><a href="/dieren">dieren (Dutch animals)</a>
</ul>
</div>
+</nav>