git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
charset: cols option to override table width
[sheet.git]
/
index.plp
diff --git
a/index.plp
b/index.plp
index 53cec8954b6d1db8b3626ff9d8fc56c77cac3529..f8a193876eb6ed67d4a4fc91c63579b586da5415 100644
(file)
--- a/
index.plp
+++ b/
index.plp
@@
-2,14
+2,13
@@
Html({
title => 'cheat sheets',
Html({
title => 'cheat sheets',
- version => '
v1.6
',
+ version => '
1.9
',
description => [
"Cheat sheets summarising various software programs and standards.",
],
keywords => [qw'
sheet cheat reference software overview summary help keyboard map unicode
'],
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'],
});
:>
});
:>
@@
-25,10
+24,11
@@
but you're free to use, print, alter, and redistribute under the AGPL license.
<:
my @format = ('--date=short', "--pretty=%ad (%ar)\t%s");
if (open my $log, '-|', git => 'log', -1, @format) {{
<:
my @format = ('--date=short', "--pretty=%ad (%ar)\t%s");
if (open my $log, '-|', git => 'log', -1, @format) {{
- my $line = readline $log or next;
+ my $line = readline $log;
+ $line or next; # explicitly ignore empty input
my ($date, $subject) = split /[\t\n]/, $line;
$date =~ s/ \K/<small>/ and $date .= '</small>';
my ($date, $subject) = split /[\t\n]/, $line;
$date =~ s/ \K/<small>/ and $date .= '</small>';
-
print "<p><strong>Last update</strong>: $date $subject</p>\n
";
+
say "<p><strong>Last update</strong>: $date $subject</p>
";
}}
:>
}}
:>
@@
-53,6
+53,7
@@
if (open my $log, '-|', git => 'log', -1, @format) {{
<li><a href="/unicode">common glyphs</a>
<li><a href="/digraphs">digraphs</a>
<li><a href="/writing">alphabet comparison</a>
<li><a href="/unicode">common glyphs</a>
<li><a href="/digraphs">digraphs</a>
<li><a href="/writing">alphabet comparison</a>
+<li><a href="/latin">latin variants</a>
<li><a href="/font">font coverage</a>
</ul>
</div>
<li><a href="/font">font coverage</a>
</ul>
</div>
@@
-65,7
+66,8
@@
if (open my $log, '-|', git => 'log', -1, @format) {{
<li><a href="/perl">perl versions</a>
<li><a href="/apl">apl symbols</a>
<li><a href="/termcol">terminal colours</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/2">starcraft 2 units</a>
+ (<a href="/sc" title="StarCraft: Brood War">bw</a>)
<li><a href="/emoji">emoticons</a>
</ul>
</div>
<li><a href="/emoji">emoticons</a>
</ul>
</div>