Sunday, March 13, 2005

Selamat Penganti Baru Sahabatku

Selamat Pengantin Baru buat Sahabatku

Hari ni Helmi @ Amy sorang lagi sahabat baik aku (sekelas/sebilik masa vocay dulu) kawin...lama jugak la dia berkawan dgn isteri dia tu....kalau tak silap aku dari zaman kitorang skolah lagi...tahniah aku ucapkan kepadanya semoga berbahagia hingga ke akhir ayat...


Aku bile lagi??

Hmmm...soalan ni yg berat ni...makin ramai kawan karib aku yg menamatkan status bujang mereka....aku ni bile pulak???ish3...banyak yg kena aku pikir dan buat persediaan sblom aku join deorang...rumah???of coz la kalau aku kawin aku kena carik tempat berteduh untuk aku dan family....tapi penin pale aku bile pk mane aku nak duduk kalau aku kawen nanti...carik rumah ni bukan main hentam je...kemudahan sekeliling...kos etc sume nak kene amik kire...kenderaan???hmmm yg maybe aku xde masalah dah pasal aku ade kereta....tapi bile nak keluar pegi keje pagi jalan pulak jam...hishhh...tensen...w'mcm mane pon aku tetap bersyukur pasal aku dah ade kereta...kesimpulannye aku dah sedia ke???tepok dada tanye diri sendiri...

p/s: insyaallah kalau ade rezeki/jodoh aku akan menyusul...errr...bile???

Sunday, March 06, 2005

Zope dan mXm easy Product

perghhh...mmg betol2 cair la kepale otak aku ni blajar simple Zope structure, python script utk design aku punye simple easyProduct berdasarkan mXm easyProduct ni...memula problem masa aku install Zope tu dlm linux...berterabur lak content dia....tapi atas bantuan Mr. Bakhtiar (Bos Network)...sume problem tu dpt la diselesaikan....then, lagi skali problem masa aku nak install mXm easyProduct tu dlm Zope...haa...yg ni lagi critical....tapi dengan bantuan Mr. Bak...skali lagi mende ni berjaye dibereskan...hmmm...yg ni basic phyton script utk aku punye easyProduct. Masih dalam proses pembikinan eh.

Lokasi = zope instance/Product/easyReport/easyReport.py
-------------------------------------------------------------------
from mxm import mxmSimpleItem

class easyReport(mxmSimpleItem.mxmSimpleItem):


meta_type = 'easyReport'

_properties = (
{'id':'title', 'type':'string', 'mode':'w'},
{'id':'Summary', 'type':'text', 'mode':'w'},
{'id':'content', 'type':'text', 'mode':'w'},
{'id':'author', 'type':'string', 'mode':'w'},
{'id':'float_number', 'type':'float', 'mode':'w'},
{'id':'int_number', 'type':'int', 'mode':'w'},
{'id':'long_number', 'type':'long', 'mode':'w'},
{'id':'the_date', 'type':'date', 'mode':'w'},
{'id':'one_line', 'type':'string', 'mode':'w'},
{'id':'several_lines_text', 'type':'text', 'mode':'w'},
{'id':'list_of_lines', 'type':'lines', 'mode':'w'},
{'id':'line_of_items', 'type':'tokens', 'mode':'w'},
{'id':'select_widget', 'type':'selection', 'mode':'w', 'select_variable':'someListOrMethod'},
{'id':'multi_select_widget', 'type':'multiple selection', 'mode':'w', 'select_variable':'someListOrMethod'},

)

#####################################################
# Constructor functions, only used when adding class
# to objectManager

def manage_addAction(self, id=None,
REQUEST=None): "Add instance to parent
ObjectManager" mxmSimpleItem.addClass(self, id, easyReport,
REQUEST)

constructors = (mxmSimpleItem.manage_addForm,
manage_addAction)

sumber rujukan:

p/s:
* sbenarnye aku betul2 blaja mende alah ni pasal aku nak buat projek...report system yg dah brape tahun terbengkalai disebabkan pale otak aku yg penin ngadap python script yg digunakan utk generate Zope ni...

*Bsok budget nak sambut utk dtml method lak :)))

Friday, February 25, 2005

Minggu yang Macam2

Mula dengan hari Ahad...

Makcikku mengadu laptop dia tak bole masuk window...aku guide dia guna repair mode etc...tapi dia tak brape arif sgt lak tentang mende tu...aku tanye ade data penting ke....dia kate ade byk....pastu dia kate nak format je dgn nada keciwa....isk3...ni yg aku tak sampai ati ni...aku pun dengan sukarela menawarkan la khidmad kepakaran aku yg tak brape pakar ni ha utk baik pulih laptop makcik tuh...sian lak aku kat dia...then aku pun amek la laptop tu kat dia utk wat 1st mentenance...tapi memandangkan tools (cd etc) tak mencukupi...aku gagal utk solve problem tuh...


Masuk keje mlm...

sambung la keje aku utk repair laptop dia...pakai repair console failed...then try guna setup repair mode....pon sama...still failed...hmmm...mmg dh kronik laptop ni...then aku guna 1st tool ACRONIS (backup tool)...kelebihan ACRONIS ni dia bole backupkan keseluruhan HDD walaupun HDD tu tak boleh boot langsung...aku berjaye create backup image kecuali pada My Document (dia ckp sume data penting dlm tu)...ishhh...problem btol la...then aku terpakse la guna satu lagi tools...Knoppix STD 0.1...ni salah satu version Linux dlm CD...just boot cd je pastu dah terus up jadi satu linux terminal dgn GUI...hehe...aku create temp dir and mountkan hdd dia kat situ
#mount /source /target
pastu create satu lagi temp dir utk mount kan kepada another hdd melalui network
#mount -t smbfs -o username:"username kat sini" //source-ip-address/source-dir /target-dir
note:-
target dir = temporary local directory yg aku buat tu...

then aku copy la keseluruhan isi hdd tu pasal malas dah nak pilih/tapis....then dgn slambe nye aku restore os kepada factory setting (+ format la ni)...install partition magic utk partition-kan hdd tu...then baru la copy balik backup file tu ke 2ndary partition....perghhh....setel je aku cek rupe2nye dah pkol 4pagi hari selasa dah....mak aih....dari hari ahad sampai selasa aku ngadap laptop makcik ni....hehe...betol punye lama....janji dia hepi pasal sume data2 penting dia tu selamat....

p/s: ni la masa paling lama aku duk kat opis tu + tido lebihkurang 6-7 jam je sepanjang 3 hari tu...letih nye baru aku rase bile keje tu dah setel...huarghhh....penat nye tak terkire...tapi Tuhan tu Maha Pemurah....Engineer aku kasi aku extra cuti hari rabu dgn khamis (isnin/selasa tu sbenarnye aku cuti)...alhamdulillah...bersyukur btol aku... ;o)

Sunday, February 13, 2005

.:: REASONS I LOVE U ::.

You asked me why I love you, as if it wasn't true
So here's a couple reasons, to show you that I do.

I love the way you look at me, and the way you smile
I love the way you hold me close, and make me feel worthwhile
I love the way you're there for me, no matter night or day.
I love the way you talk to me, and know just what to say.
I love the way you treat me, no matter what I do.
I love the way you cheer me up, when I'm feeling blue.

But most of all, I love the way I love you more each day

Main bowling kat Ampang Point Super Bowl wif all my family member (include my cousins, Uncles and Aunts) on Wednesday...yeah...wut a great day and happy I am....mane tak nye...11 orang yg main...aku menang all the games (2 game je) dengan jumlah 135 + 167 (total 302 for both)...hehe...gumbiranya rasa sambil kembang hidung wo...

nite before the event aku dapat msg
"bsok bg strike je sume yek...main btol2 jgn wat xperimen jek.. ;o)"
haha....mcm tau2 je aku suke maen2 je bile main boling ni...sbenarnye aku mmg suke wat xperimen psl step, target point etc....maklum la....aku ni bukan nye terel mane pon...tu la pasal aku suke try mcm2 cara/gaya...haha

Friday, June 18, 2004

Sambung projek terbengkalai

Fuhh...adae la dekat setahun aku tak usik projek aku yg terbengkalai...projek buat script backup config....script ni sbenarnye aku bahagi pada 2 (create table config backup, restore table config)...takat ni projek ni cuma siap utk satu bhgn je...create backup config je....ingat nak try buat sekali dgn GUI....penat tol carik idea/reference.