Thursday 14 October 2010

Maher Zain - Allah hi Allah Kiya Karo

Ya, ladies and gentleman. Tukang batu and tukang simen.
Hari ni aku pos lirik lagu lagi. Lagu dari Maher Zain yang semakin popular.
Popular ka?? Ya la kot. Dah aku asyik dengaq lagu dia. Kira popular lah.
Lagi pun dia kan dah mai Malaysia. Rugi sungguh aku tak pi tengok konsert dia kat UIA.
So korang layan ja la lagu ni.

Wednesday 6 October 2010

Difference between char and varchar data types

The CHAR datatype uses a fixed length, where as the VARCHAR datatype can be variable in length up to the maximum value specified for the length. 
If you insert "Hello" into a CHAR(10) field, the column would actually contain "Hello " with 5 trailing spaces. 
The same value inserted in a VARCHAR(10) field would contain "Hello". 

char datatype is fixed length data type and it store maximum 255 characters while varchardatatype store up to 4000 character of variable length datatype


RB: Bila bos tanya, terpaksa la aku tanya en. google. Ni aku cedok dari website http://wiki.answers.com/Q/What_is_the_difference_between_char_and_varchar_data_types

Friday 13 August 2010

Cron, Cron job, Cron script, Crontab

Apa itu cron, cron job, cron script, crontab
cron is a Unix command for scheduling one or more commands (collectively called a cron script or cron job) to be automatically executed on the computer at a specified time(s), usually periodically, such as emailing daily reports.  
Cron is a daemon process, which means it runs continuously in the background, waiting to run a specified operation at predefined times or when specific events occur.  
crontab is a Unix command that creates or modifies a file (called a crontab file) that contains a cron table (cron tab) or list of Unix shell commands, each having a specified time of execution by the operating system.
From website: http://www.free-webhosts.com/definition/cron.php





Tuesday 3 August 2010

Maher Zain - Open Your Eyes

Mari layan lagu Meher Zain lagi. Best lagu ni. Menceritakan bukti2 kekuasaan ALLAH.

Maher Zain - The Chosen One

Lirik yang sangat menarik dan arrangement muzik yg best. Aku suka...
Disebabkan aku suka, so aku bagi korang layan. Harap korang suka juga. :-D

Tuesday 29 June 2010

5 Blogging Tips

Tips ni aku cedok dari Articles Factory
Tip ni dalam BI, memandangkan aku seorang yang pemalas.
Aku malas nak translate.
Jadi aku copy and paste ja.
So korang paham2 sendirlah yer. :-D

Thursday 24 June 2010

Repair MySQL

mysqlcheck - u -p -Aao


korang tau tak tu untuk apa?

-u: username
-p password

Example:
/usr/local/bin/mysqlcheck -u root -ptest -Aao

root: username
test: password

-p and test should be near, without space.


RC: Dulu selalu buat sejak ada DB Admin dah lupa terus.

Tuesday 22 June 2010

PHP Date Format

Adakah korang PHP Programmer? Korang selalu lupa format untuk date and time macam aku ini? Programmer adalah seorang yang sangat pemalas. Oleh yang sedemikian itu, aku buat kerja secara bermalas-malas. Copy and Paste. Inilah dia formatnya..