Random Perl Hacking
My day job mostly involves Perl, so I’ve been using it more for my random tasks at home. I’ve now put a few of them up on CPAN:
- Unix::Uptime - Determine the current uptime, in seconds, and load averages, across different *NIX architectures.
- Remind::Client - class for working with remind’s daemon mode
I also have a few other scripts I’ve been messing around with, for doing some reporting and such:
- git-author-stats.pl - Gives a URL to draw a pretty pie chart of the top 10 committers to the current git repository. Examples:
- Exherbo:
- Paludis
- git-daemon-report.pl - Given some log file, scrape it stats on who is pulling which of your git repos, and from where. Won’t work unless you run git-daemon with –verbose.