Regex Tutorial – Lookahead and Lookbehind Zero-Width Assertions
I’ve finally got my head round lookahead regular expressions. They’ve been causing me pain… and here’s the page that brought the relief.
I’ve finally got my head round lookahead regular expressions. They’ve been causing me pain… and here’s the page that brought the relief.
After recently installing an SSL certificate on one of my servers, I decided it was time I told myself how I do it.. rather than guessing from scratch each time.
To get eWebedit working in Firefox, you’ll need to install an activex interpreter. This should be automatically installed by visiting this Esker plugin demo page. Once the demo is working, you’ll need a user agent Read more…
In mythtv-setup under ‘Input connections’ (or something) type /home/mythtv/.mythtv/sendkeys.sh Then create this sendkeys.sh script in the directory mentioned above. #!/bin/sh for digit in $(echo $1 | sed -e ‘s/./& /g’); do red_eye /dev/ttyS0 $digit 2 Read more…
This first script will list the perl modules you have installed and the version number. #!/usr/bin/perl # use ExtUtils::Installed; my $instmod = ExtUtils::Installed->new(); foreach my $module ($instmod->modules()) { my $version = $instmod->version($module) || “???”; print Read more…
This chunk of code will show you a nice list of ports on which you have something listening. #!/bin/sh # listen – parse netstat -an output for listeners netstat -an | awk ‘ BEGIN { Read more…
This blog comes highly recommended, and this article in particular struck home with most aspects of my business life. There are others out there! 🙂 Full-time freelancing: 10 things learned in 180 days ~ Authentic Read more…
I just compiled this list of sites I regularly use and think are top notch for a friend. Thought it was worth sharing. Firefox and extensions – web browser http://www.mozilla.org/products/firefox/ https://addons.mozilla.org/extensions/moreinfo.php?id=60 – Essential extension. I Read more…
I’ve added some new photos to the gallery… Rodney from Scunthorpe.. aged 9
While trying to get a cgi script working on a PLesk managed box, I came across this error in /etc/httpd/logs/suexec_log cannot stat program: (blahdeblah.cgi) An explanation of this vague and misguiding message can be found Read more…