X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/9a4d89685edcb4399aa500d38de84b0101ad09b2..6d38d53c6cacbb5dabe6dc663c500d8ef8bb62d0:/index.plp diff --git a/index.plp b/index.plp index 1a48c15..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.", ], @@ -23,32 +23,51 @@ Originally created by Mischa Poslawsky -
+
+ -
+
+ -
+
+ + +<: +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"; +}