Tag Archives: programming

Getting all Second Level Domains from Wikipedia 0

Just hacked up this little script to do the needful:

Go language tutorial 0

A neat little video from the Google Tech series describing some of the feature of the Go Language by Google.

Incorporate gravatars into your application 0

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.

Ensure that your certs aren’t going to expire 0

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.

Wordpress gist/github plugin 0

Nice
Using the github gist shortcode plugin. See usage below!
From http://gist.github.com/234059

Flingo now on github 0

Taste the goodness
http://github.com/petermblair/Flingo/

Don’t blame your vendor 4

While in Philly for a messaging security conference, I attended a session where the topic was DKIM, and some of the people there were complaining about where the DKIM verification process was located in their email pipeline. They claimed that because they were doing DKIM verification after accepting the mail, then any message that [...]

Flingo: First example! 0

I’ve decided to release flingo, my own context free email parser, as shown in this little video:

swfobject.embedSWF(
‘http://killallhumans.ca/wordpress/wp-content/plugins/flvplayer.swf’,
‘player1′,
640,
480,
‘9.0.0′,
false,
{file: “http://killallhumans.ca/videos/flingo_00.flv”},
{allowfullscreen: true},
{});

I’ll post the source code to flingo soon, but wanted to place something online for demo purposes.

Perl ACL library 0

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.  [...]

A better way to write OO Perl 0

Use the MooseX::Declare syntactic sugar.