User:Mozai

About me
Linuxfag.

My favorite pages

 * Freeware Games
 * Linux Games

Might be able to aggregate what Linuxfags have installed on their machines to get a decent list of recommendations. Unless /v/ suddenly loses their collective minds and starts installing Linux on their home computers en masse. ... but someone's gunning to delete those pages, so I'm going to write the important bits here when I need to regenerate them.
 * Linux/Ubuntu
 * Linux/Fedora

Fedora: BASEURL=http://www.rpmfind.net/linux/RPM curl -s "$BASEURL/Groups.html" \ |egrep -o 'href=\"[^" ]*Amusements[^" ]*' |sed 's/href="//' \ |while read PAGE; do    curl -s $BASEURL/$PAGE \ |while read LINE; do      NEWLINE=$(echo $LINE |egrep -o ']*>[^<]+' |sed 's/]*>//'); if [ "$OLDLINE" ]; then echo -e "$OLDLINE\t$NEWLINE"; OLDLINE=""; else OLDLINE=$(echo $NEWLINE |sed 's/\-[0-9]\..*//'); fi; done; done \ |perl -ne 's/\-\d{8}\t(\-.)/\t/; next if m/\-data\t|\-[a-z][a-z]\t/; m/(\S+)\s+(.*)/ or die $_; if (length($n{lc($1)}) < length($2)) { $n{lc($1)} = $2; } END { print "{| border=1 cellpadding=3 cellspacing=0\n"; print "|-\n! Name !! Description\n"; foreach $_ (sort keys %n) { print "|-\n|$_ || $n{$_}\n"; } print "|}\n"; }          ';
 * 1) !/bin/bash

Ubuntu: curl -s http://popcon.ubuntu.com/by_vote.gz | gunzip -c - \ |perl -ne 'chomp; if (s/^#rank\s+//) { print "#$_\tsection\tdescription\n"; } elsif (/^#/) { 1; } elsif (s/^\d+\s+((\S+).*)/$1/) { $what = `apt-cache show $2`; if ($what =~ /Section: (\S+).*?Description: (.+?)\n/s) { print "$_\t$1\t$2\n"; }  }' \  |egrep -i '#name|game' \ |perl -pe 'BEGIN { print "{|\n"; } print "|-\n"; s!(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\(.+?\))\s+(\S+)\s+(.*) !|$1 ||$2 ||$3 ||$4 ||$5 ||$6 ||$7 ||$8 ||$9   !x; exit if ($3 eq "0"); if (m/^\|#name/) { s/\|#?/\!/g; }  END { print "|}\n"; } '