Drupal 7 theme – Mobile boilerplate

Mobile Boilerplate is a professional front-end template that helps you build fast and robust mobile web applications. Spend more time developing and less time reinventing the wheel.


Mobile browser optimizations.
CSS normalizations and common bug fixes.
A custom Modernizr build for feature detection and a polyfill for CSS Media Queries.
Home page icon for Android, iOS, Nokia.
Cross-browser viewport optimization for Android, iOS, Mobile IE, Nokia, and Blackberry.
Mobile IE conditional switch.
Better font rendering in Mobile IE.
iPhone web app meta.
INSTANT button click event.
Textarea autogrow plugin.
Hide URL bar method.
Prevent form zoom onfocus method.
Mobile site redirection.
User Agent Detection.
Apache server caching, compression, and other configuration defaults for Grade-A performance.
Cross-domain Ajax.
“Delete-key friendly.” Easy to strip out parts you don’t need.


Setting up repository for the first time

git clone --branch 7.x-1.x shafiqissani@git.drupal.org:sandbox/shafiqissani/2078519.git mobile_boilerplate
cd mobile_boilerplate
p.s. status: work in progress

Perl Expect bindings – Simple example

Hello World file (hello.pl)

use strict;
use warnings;
use diagnostics; print "-----------\n",
 "Hello World\n",

Test Perl file with expect bindings (test.pl)

use strict;
 use warnings;
 use diagnostics;
use Expect;
my $timeout=5;
foreach my $i (1..20)
 my $exp = Expect->spawn("./hello.pl")
 or die "Unexpected error : $!\n";

Continuous Delivery : A Mini Hurdle

The first hurdle to overcome with Continuous Delivery I think is not getting your product’s code onto the machine itself, but managing the actual machine and it’s software… and in talking to people. It is the subtle nuances between machines due to people tweaking things on the fly that lead to the worst [most annoying] bugs to troubleshoot.
The end-goal of managing your machines is that no one ever logs into the machine directly.