Just hacked up this little script to do the needful:
Categories: Computers, Perl, Programming
Tagged: dns, pattern matching, perl, programming, work
Just hacked up this little script to do the needful:
Categories: Computers, Perl, Programming
Tagged: dns, pattern matching, perl, programming, work
It’s super easy:
#/usr/bin/perl
use strict;
use Digest::MD5 qw( md5_hex );
my $email = shift || die("Please provide email address\n");
my $hash = md5_hex lc($email);
print "http://gravatar.com/avatar/${hash}.jpg\n";
I use them at work for showing tooltip displays upon email receipt etc. They’re fun and handy to add to any little application.
Categories: Perl
Tagged: email, perl, programming
We only run linux at home, but my kids have a few game titles that I’ve stored (err, protected) on disk as ISO files. It’s a real PITA to write down the command line options for my wife to execute when they feel like playing a game, so I’ve thrown together a few quick [...]
Categories: Computers, Perl, Programming, UNIX
I run this little script at work to check when a given cert (either a file, or pulled from a SSL enabled webserver) will expire soon.
Tagged: perl, programming, work
Taste the goodness
http://github.com/petermblair/Flingo/
Categories: Flingo, Programming
Tagged: abuse, c++, email, Flingo, malware, pattern matching, perl, programming, spammers, unix
Grrr.. my new iPod isn’t supported by gnupod, but they’re working on it.
Categories: Computers, Uncategorized
Hacked together a little ACL package for creating dynamic ACLs based on a few simple ideas:
Sys-Admins like Perl style Regex
Must be versatile enough to handle many types of applications
Should be robust enough to handle auto-generated ACLs
I was sitting at $WORK, thinking of a way to restrict access to certain API calls from a shared script. [...]
Tagged: ACL, pattern matching, perl, programming, unix, work
In my last post, I spoke about tools to prettify vim and perl. Today I’m trying to tackle the problem of fat fingers when refactoring Perl code in VIM.
I’m always on the lookout for refactoring tools for VIM and Perl. Today I found APP::EditorTools which allows you to rename variables etc.
The power of [...]
Categories: Perl, Programming
Tagged: perl, programming, vim