X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/2bb0924a692cd7e82c036930f5019d7401a9191e..5c6226f7284e7b0ce87825f4a90d083d03f94388:/index.plp diff --git a/index.plp b/index.plp index 91c5b39..22f13df 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.", ], @@ -49,8 +49,23 @@ but you're free to use, print, alter, and redistribute under the AGPL license.

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