Friday, February 17, 2012

Alternate table row by $X rows per color

Alternate row color by $g rows


$x=10;
$g = 5;

$color = array('RED','BLUE');
$kaler = 0;
for($i=0; $i echo "$i .... ";
if(!($i%$g)){
$kaler = ($kaler == 0) ? 1 : 0;
}

echo $color[$kaler] ."
";
}

Posted via email from Posterous

Monday, February 13, 2012

razimi (@razimiyacob) has shared a tweet with you

Senior PHP Developer - £50-55K http://t.co/QTYy9CDq -- razimiyacob (@razimiyacob)

Posted via email from Posterous

TQ Maxis

Tq-maxis

TQ Maxis. 

Last time MAXIS billed me for data used for RM400 due to conflict in their Billing System. 
Tq Nagesh ( Nice guy from MAXIS Costumer Service helping me with this.I owe you teh tarik for this ). 

Posted via email from Posterous

Thursday, February 9, 2012

Kaabah

Kaabah-tawafpreview

“pada ka’abah itu ada 120 rahmat kepada pengunjungnya pada

 setiap hari, iaitu 60 untuk tawaf, 40 untuk solat sunat dan 20 

untuk melihat ka’abah”

Yang duduk jauh ni, dpt tgk gambar pun dpt lah 20 markah... 

drp tgk mende yg takde pekdah.

Posted via email from Posterous

Thursday, February 2, 2012

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...