Dynamic IP script for Internode

WWW::Mechanize script for programmatically obtaining the current (dynamic) IPv4 and IPv6 addresses assigned to an Internode ADSL session: #!/usr/bin/perl use strict; use warnings; use WWW::Mechanize; ## Get current session data for our Internode session my $mech = WWW::Mechanize->new(); my $user = “”; ## Enter Internode username my $pass = “”; ## Enter Internode password $mech->get(‘https://secure.internode.on.net/myinternode/sys0/login’); … Read more

OS X Mountain Lion tips and tricks

General Create a bootable USB installer from the download (the Lion DiskMaker thingy never worked for me) Get rid of the Duplicate command / restore the Save As… command in the File menu Make the user Library visible: sudo chflags nohidden ~/Library Plug-ins Flash installs as normal from adobe.com – use either Safari or Firefox … Read more

Client Authentication for Apache 2

There are two ways to set up client authentication – the “correct” way (where you have all of your secured content in its own virtual host) and the “useful” way (where you want to have your secured content in a directory rather than the entire site). The “useful” way involves renegotiating the SSL connection when … Read more