X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/f22a9debc2c3c50828c31ff028057734a4aadea6..6d38d53c6cacbb5dabe6dc663c500d8ef8bb62d0:/index.plp diff --git a/index.plp b/index.plp index 839392d..1aaf0f6 100644 --- a/index.plp +++ b/index.plp @@ -2,7 +2,7 @@ Html({ title => 'cheat sheets', - version => 'v1.3', + version => 'v1.4', description => [ "Cheat sheets summarising various software programs and standards.", ], @@ -27,6 +27,7 @@ but you're free to use, print, alter, and redistribute under the AGPL license.

Keyboard maps

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"; +} +