index: release v1.18 with only altgr index linked
[sheet.git] / index.plp
1 <(common.inc.plp)><:
2
3 Html({
4         title => 'cheat sheets',
5         canonical => '/',
6         version => '1.18',
7         description => [
8                 "Cheat sheets summarising various software programs and standards.",
9         ],
10         keywords => [qw'
11                 sheet cheat reference software overview summary help keyboard map unicode
12         '],
13         raw => [
14                 '<link rel="sitemap" type="application/xml" href="/sitemap.xml">',
15                 '<link rel="alternate" type="application/rss+xml"',
16                 ' title="RSS feed of repository updates"',
17                 ' href="http://git.shiar.nl/sheet.git/rss">',
18         ],
19         data => ['UPDATE'],
20 });
21 :>
22 <h1>Shiar's cheat sheets</h1>
23
24 <p>
25 Through the miracle of formatting, design, abbreviation, compression, and Perl,
26 the following topics have been condensed into single pages of reference.
27 <br>
28 Originally created by Mischa <span class="family-name">Poslawsky</span>,
29 but you're free to use, print, alter, and redistribute under the AGPL license.
30 </p>
31 <:
32 if (open my $log, '<', 'UPDATE') {{
33         my $line = readline $log;
34         $line or next;  # explicitly ignore empty input
35         EscapeHTML $line;
36         my ($date, $subject) = split /[\t\n]/, $line;
37         $date =~ s/ \K/<small>/ and $date .= '</small>';
38         $subject =~ s{\A (\w+) (?= (?:/\w+)* :\h )}{
39                 showlink($1, -e "$1.plp" && "/$1");
40         }ex;
41         say "<p><strong>Last update</strong>: $date $subject</p>";
42 }}
43
44 :>
45 <nav>
46 <div class="section">
47 <h2>Keyboard maps</h2>
48 <ul>
49 <li><a href="/readline">readline</a>
50 <li><a href="/screen">screen</a>
51 <li><a href="/less">less</a>
52 <li><a href="/vi">vi/vim</a>
53 <li><a href="/vimperator">vimperator</a>
54 <li><a href="/mutt">mutt</a>
55 <li><a href="/nethack">nethack</a>
56 <li><a href="/mplayer/mpv">mplayer/mpv</a>
57 <li><a href="/keyboard/altgr">altgr/option</a>
58 </ul>
59 </div>
60
61 <div class="section">
62 <h2>Unicode characters</h2>
63 <ul>
64 <li><a href="/charset">charsets</a>
65 <li><a href="/charset/unicode">unicode allocation</a>
66 <li><a href="/unicode">common glyphs</a>
67 <li><a href="/digraphs">digraphs</a>
68 <li><a href="/writing">alphabet comparison</a>
69 <li><a href="/latin">latin variants</a>
70 <li><a href="/digits">numerals</a>
71 <li><a href="/font">font coverage</a>
72 </ul>
73 </div>
74
75 <div class="section">
76 <h2>Other references</h2>
77 <ul>
78 <li><a href="/browser">browser support</a>
79 <li><a href="/countries">country codes</a>
80 <li><a href="/perl">perl versions</a>
81 <li><a href="/apl">apl symbols</a>
82 <li><a href="/termcol">terminal colours</a>
83 <li><a href="/sc/lotv">starcraft units</a>
84 <li><a href="/emoji">emoticons</a>
85 <li><a href="/dieren">dieren (Dutch animals)</a>
86 </ul>
87 </div>
88 </nav>
89