Kecewa apabila melihat ramai orang kita membuat protes dan bantahan pada Jumaat lepas membantah kenaikan harga minyak yang diketuai oleh ketua pergerakan pemuda parti pembangkang..tidak tahukah mereka kenaikan harga minyak ini adalah satu fenomena global..
Rakyat Malaysia sepatutnya bersyukur kerana kita masih ada lagi bekalan makanan yang mencukupi walaupun harganya akan sedikit meningkat tidak seperti negara lain seperti Haiti yang kekurangan serba-serbi..rakyatnya memberontak kerana keputusan bekalan makanan..
Rakyat Malaysia sepatutnya tahu negara kita tidak termasuk pun dalam senarai 20 pengeluar utama minyak dunia dan simpanan minyak kita juga semakin berkurangan..jika terus diberikan subsidi, banyak projek yang akan tergendala dan ini juga akan memberi kesan negatif kepada ramai rakyat kerana kehilangan sumber rezeki..
Apa yang kerajaan lakukan ini adalah untuk kelangsungan masa depan rakyat Malaysia juga..jika tidak dilakukan sekarang,keadaan akan menjadi lebih parah kepada generasi masa depan kita..negara kita akan ketinggalan dalam pembangunan hanya disebabkan subsidi minyak yang banyak diperuntukkan kepada rakyat kita yang ketagihan emas hitam ini..fikirkan..
Sabtu, 14 Jun 2008
Khamis, 10 April 2008
Setup your windows OS as a webserver using WampServer 2.0
1) Download wamp from the this site
2) Install it into your computer
3) Now turn off your windows firewall
4) Open your web browser and go to http://localhost
5) Now your computer has become a web server
6) I'm not finish yet. The purpose of a web server is to enable other computer to
access it right.
7) Your web server can only be access from your computer not from other computer
8) In order to fix that, go to Wamp icon located at icon tray(bottom right meter icon)
9) Click once, go to Apache>httpd.conf
10)Find element 'Directory "c:/wamp/www/">'
11)In that element, find these lines:
onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
12) Change the one that I highlighted above to 'Allow from all'
13) Save the file
14) Click the Wamp icon once and click Restart All Services
15) Now your computer can be access from another computer ex:http://urcomputername
Additional info: Setup a personal home web server
2) Install it into your computer
3) Now turn off your windows firewall
4) Open your web browser and go to http://localhost
5) Now your computer has become a web server
6) I'm not finish yet. The purpose of a web server is to enable other computer to
access it right.
7) Your web server can only be access from your computer not from other computer
8) In order to fix that, go to Wamp icon located at icon tray(bottom right meter icon)
9) Click once, go to Apache>httpd.conf
10)Find element 'Directory "c:/wamp/www/">'
11)In that element, find these lines:
onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
12) Change the one that I highlighted above to 'Allow from all'
13) Save the file
14) Click the Wamp icon once and click Restart All Services
15) Now your computer can be access from another computer ex:http://urcomputername
Additional info: Setup a personal home web server
Jumaat, 4 April 2008
Using elevated privileges in Wix
When you create an installer using Wix, usually you need an elevated privileges to execute a program or run services using custom action. This usually happen in Windows Vista. So, to do that use this custom action element:
CustomAction Id="shutdownprogram" Impersonate="no" FileKey="stfu" Execute="deferred" Execommand="/shutdown" return="ignore">
As you can see in the above code, you need to use the 'Impersonate="no" and Execute="deferred" element. I repeat, you need to use these element otherwise you didn't get the permission to execute scripts or programs. Weird solution but it works.
CustomAction Id="shutdownprogram" Impersonate="no" FileKey="stfu" Execute="deferred" Execommand="/shutdown" return="ignore">
As you can see in the above code, you need to use the 'Impersonate="no" and Execute="deferred" element. I repeat, you need to use these element otherwise you didn't get the permission to execute scripts or programs. Weird solution but it works.
Rabu, 26 Mac 2008
Autorun.inf
Hari ni jumpe satu link yang membantu kalo nak buat CD atau DVD yang boleh autorun bile kite masukkan CD dalam drive..
Selasa, 25 Mac 2008
NTLDR is missing
Hari ni aku nak gune Virtual PC nak test installer yang aku buat gune Wix ni..tetibe je kuar ayat ni "NTLDR is missing"..ingatkan pebende ntah..punyelah beria pegi uninstall Virtual PC lepas tu install balik..tp same gak..carik2 solution dia kat internet rupe2nya kene tanggalkan USB drive kat host PC..siut jer solution dia..hahahampeh tul..
Isnin, 28 Januari 2008
Dah masuk 3 bulan keje kat Runge
Dah lame x tulis kat dalam blog ni, berbulan-bulan lemon lamanye..skrg ni tgh pikir nak kasi soalan ape kat budak kelas C prog nnti ni..ari kamis ni(31/1/08)..tp kene berkaitan ngan function..salah satu idea adalah nak suruh program tu print bunga ros(@>---) byk kali kat skrin komputer..cam senang sgt jer..kang buat susah plak, x mampu diorang nak buat..haaa..yes dah dapt idea..suruh diorang buat program yg mintak input dari user,masukkan nilai maksimum, kemudian suh program tu kire berape byk nombor yg boleh bahagi tepat ngan 3..hehe...cam best jer..
Langgan:
Catatan (Atom)