Showing posts with label IT. Show all posts
Showing posts with label IT. Show all posts

Wednesday, 13 April 2011

CSS: Screen and Print Stylesheets

Benda ni dah lama aku tinggalkan.
Hari ni baru teringat nak godek dan buat balik. 
Maka dengan itu terpaksala godek-godek balik. 
Kena tengok macam mana nak buat. 
Sila lah korang test.
Baru korang boleh nampak macam mana output dia nanti.

Tuesday, 22 February 2011

PHP Meetup 2011: Framework Shootout

Tengah aku main click2 kat FB tetiba aku nampak satu event. Event cam tajuk kat atas tu la. Aku pun terus inform kat member yang minat nak pi. Ok aku ada geng. Bos plak memang tengah paksa pilih framework. Aku ni mana reti guna framework. Selalu dok buat plain PHP je. PHP bodo-bodo tu. Satu page ada macam-macam mak nenek. Jadi masa ni aku gunakan untuk pilih, mana satu frameowrk yang menyenangkan aku.

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, 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..