X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/b10cdc2c65a857fcb0f3f823bbdded597abcbde2..HEAD:/index.plp diff --git a/index.plp b/index.plp index c20b44b..f05c02a 100644 --- a/index.plp +++ b/index.plp @@ -2,7 +2,8 @@ Html({ title => 'cheat sheets', - version => '1.13', + canonical => '/', + version => '1.18', description => [ "Cheat sheets summarising various software programs and standards.", ], @@ -17,8 +18,6 @@ Html({ ], data => ['UPDATE'], }); - -exit if $ENV{REQUEST_METHOD} eq 'HEAD'; :>

Shiar's cheat sheets

@@ -36,7 +35,9 @@ if (open my $log, '<', 'UPDATE') {{ EscapeHTML $line; my ($date, $subject) = split /[\t\n]/, $line; $date =~ s/ \K// and $date .= ''; - $subject =~ s{\A(\w+)(?=: )}{showlink($1, -e "$1.plp" && "/$1")}e; + $subject =~ s{\A (\w+) (?= (?:/\w+)* :\h )}{ + showlink($1, -e "$1.plp" && "/$1"); + }ex; say "

Last update: $date $subject

"; }} @@ -52,7 +53,8 @@ if (open my $log, '<', 'UPDATE') {{
  • vimperator
  • mutt
  • nethack -
  • mplayer +
  • mplayer/mpv +
  • altgr/option