HTML Entities - Decoding - Perl One-liner
// Perl one-liner to expand HTML entities like &<code> perl -i.bak -pe "BEGIN { use HTML::Entities;} HTML::Entities::decode($_); " filename</code> XML 13027 ...
View ArticleSort Twiki Access Log By Hits Per Host Each Day
Produce output like this: Date: 19/Mar/2011 auckland.co.nz : 60343 tryphena.co.nz : 54 okupu.co.nz : 4 Date: 20/Mar/2011 auckland.co.nz : 60354 tryphena.co.nz : 49 claris.co.nz : 49 ...
View ArticleHow To Enable JMX With Authentication
// This will enable jmx in port 5555 with authentication enabled. In windows systems you may get an exception related to file access permissions. To solve <a...
View ArticleDaily Dose: Release of Jive 4.5.6
Release of Jive 4.5.6New Perl 5.14 Unveiled Talend to Sponsor Apache Software FoundationRed Hat and JBoss Innovators of the Year Announced!
View ArticleMonth Day Year Smart Dropdowns
// Month Day Year Smart Dropdowns<code> function mdy($mid = "month", $did = "day", $yid = "year", $mval, $dval, $yval) { if(empty($mval)) $mval = date("m"); if(empty($dval)) $dval = date("d");...
View Article