X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/e98b059d1f6bbd6ac8ca06de152959536e4b98b0..5fadf3bba74628ae85920b5c2d71f804e3256601:/index.plp diff --git a/index.plp b/index.plp index 453bb65..1aaf0f6 100644 --- a/index.plp +++ b/index.plp @@ -1,30 +1,18 @@ -<: -use utf8; -use strict; -use warnings; - -our $VERSION = 'v1.0'; - -$header{content_type} = "text/html; charset=utf-8"; - -:> - - - - -vi cheat sheet - - - +<(common.inc.plp)><: - +Html({ + title => 'cheat sheets', + version => 'v1.4', + 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'], +}); +:>

Shiar's cheat sheets

@@ -35,28 +23,51 @@ Originally created by Mischa Poslawsky +

Keyboard maps

+
+

Unicode characters

+
- +
+

Other references

+ +
+ +<: +if (open my $log, '-|', 'git log -20 --since=2\ week\ ago --pretty=%ai%x00%s%x00%h') { + print "

Recent updates

\n\n"; + print "
\n"; + while (readline $log) { + chomp; + my ($date, $subject, $commit) = split /\0/, $_; + $date =~ s{( .+)}{$1}; + printf '
%s
%s
'."\n", $date, $subject; + } + print "
\n\n"; +}