Month 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 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 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 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 ArticleHTML 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 ArticleCSS Rounded Corners
// CSS Rounded Corners<code> CSS /* set millions of background images */ .rbroundbox { background: url(nt.gif) repeat; } .rbtop div { background: url(tl.gif) no-repeat top left; } .rbtop {...
View ArticlePhp Xml Parser
// xml Parser<code> ************************************************************************ Example: ************************************************************************ $xml = new...
View ArticleDaily Dose - Ubuntu Ditches GNOME
4th Lawsuit Against Android OEMsPerl and Parrot Benefit from GSoCThe Dutch Leak Windows 8 Projected Release DateJava For Mac, Not Oracle's Business
View ArticleA Book Review of Effective Perl Programming Ways to Write Better; More...
ISBN or ASIN: 0321496949 Book Author(s): Joseph N. Hall Joshua A. McAdams brian d foy Publisher: Addison Wesley ...
View ArticleDaily Dose - SproutCore 1.4 Grows Touch Support
A new release arrived for the SproutCore framework that builds nativeized web apps. The new release, 1.4, has more touch events for mobile devices and better animation support. The build tools such...
View ArticleDaily Dose - RabbitMQ 2.0 Upgrades to AMQP 0.9.1
The RabbitMQ messaging system, which was recently be acquired by VMware's SpringSource, has reached version 2.0. The AMQP-based system has a new persister that's only bound by disk capacity and a...
View ArticlePassing Information Between PHP And Perl
// description of your code here<code><?php apache_note('name', 'Fredrik Ekengren'); // Call perl script virtual("/perl/some_script.pl"); $result = apache_note("resultdata");...
View ArticleSend Voice Phone Call Via Voice Gateway At Www.smsmatrix.com
Send voice phone call via voice gateway at <a href="http://www.smsmatrix.com/?sms-gateway">www.smsmatrix.com - voice gateway</a>.<code> use LWP::UserAgent; use HTTP::Request::Common;...
View ArticleSend Sms In Perl Via Sms Gateway Www.smsmatrix.com
Send SMS via SMS Gateway provided by <a href="http://www.smsmatrix.com">www.smsmatrix.com</a><code> use LWP::UserAgent; use HTTP::Request::Common; my $ua = LWP::UserAgent->new();...
View ArticleDaily Dose - QR Code For Android on GitHub
Its as easy as scanning that weird looking square with your Android phone to have it automatically download and install an Android package (.apk) wirelessly from GitHub. Hot stuff right? If you want...
View ArticlePerl: Checking That Your Modified Files Compile
After making some changes, before committing, run this to check that no changes have caused your perl app to not compile<code> git status | grep modified | awk '{system("perl -c...
View ArticleDaily Dose - Will Google's VP8 Video Codec Solve HTML5 Video Dilemma?
There may still be hope for people who favor a single, non-patented <video> tag standard in HTML5. A report by NewTeeVee says a source with inside knowledge of Google tells them that the company...
View ArticleCalculate Latitude And Longitude From Rate Center V&H In Perl
ZIPCodeWorld.com provides this function to calculate the latitude and longitude coordinates from Vertical and Horizontal (V&H) coordinates in Perl. V&H's are used to identify locations and...
View ArticleInstalling CPAN Modules To Debian
// To fully build CPAN modules into debian in one step use the following wrapper.<code> dh-make-perl --build --cpan <module_name></code> Perl 10701 k1mmeh ...
View ArticleDistance Calculation Using Latitude And Longitude In Perl
ZIPCodeWorld.com provides this routine to calculate the distance between two points (given the latitude/longitude of those points) in Perl. It is being used to calculate distance between two points...
View Article