Google
 

Saturday, June 30, 2007

Menampilkan Jam dengan menggunakan Java Script

anda dapat menampilkan jam di halaman web anda dengan menambahkan perintah javascript.
Perintahnya gampang koq.
ketikkan sript berikut di dalam tag SCRIPT language="JavaScript" type="text/javascript"


function clock()
{
var digital = new Date();
var hours = digital.getHours();
var minutes = digital.getMinutes();
var seconds = digital.getSeconds();
var amOrPm = "AM";
if (hours > 11) amOrPm = "PM";
if (hours > 12) hours = hours - 12;
if (hours == 0) hours = 12;
if (minutes <= 9) minutes = "0" + minutes;
if (seconds <= 9) seconds = "0" + seconds;
dispTime = hours + ":" + minutes + ":" +
seconds + " " + amOrPm;
basicclock.innerHTML = dispTime;
setTimeout("clock()", 1000);
} clock();



selamat mencoba.

Friday, June 29, 2007

Ayam Cah Jamur

Hehehehehe. . . ..
Kali ini agak lain.
Ceritanya gw lagi diajarin masak neh.
Dan gw dikasi Resep begini.
Wuiiihh. . . rasanya enak banget ternyata.

Bahan :
Ayam dada 1 buah potong tipis-tipis.
Jamur kalengan, potong menjadi 2 bagian.
Daun bawang 2 bh iris 1 cm
Bawang putih 3 bh haluskan.
Air 200cc

Kecap asin 1 sdm
Kecap ikan 1sdm
garam dan gula , merica secukupnya.
Tepung sagu 1sdm dilarutkan dengan air.

Cara memasak:
Bumbui potongan ayam dengan kecap asin, garam, merica diamkan dulu 1
jam.

Tumis bawang putih sampai harum masukan sedikit garam aduk potongan ayam
sampai berubah warna
masukkan jamur dan beri air, biarkan didih, beri bumbu kecap asin, kecap
ikan, dan gula, merica.
Setelah semua matang dan sedap rasanya kentalkan dengan larutan tepung
sagu dan taburi daun bawang.

Sambal bawang putih: 1 buah bawang putih dan 3 bh cabe merah cingcang
agak halus,
berikan kecap asin 1sdm dan kecap i

Tips Kena Rampok ATM

Jika anda sedang terancam jiwanya karena dirampok/ditodong seseorang untuk mengeluarkan uang dari atm ,maka anda bisa minta pertolongan diam2 dengan memberikan nomor pin secara terbalik ,misal no asli pin anda 1254 input 4521 di atm maka mesin akan mengeluarkan uang anda juga tanda bahaya


Ke kantor polisi tanpa diketahui pencuri tsb.Fasilitas ini tersedia di seluruh atm tapi hanya sedikit orang yang tahu tolong kasih tahu info kepada yang lain.

Wednesday, June 27, 2007

add a Command Prompt Here to the right click in Explorer


To add a Command Prompt Here to the right click in Explorer which will open a command prompt in the Folder that you have selected, double-click the following CmdHere.REG file:

 
REGEDIT4
[HKEY_CLASSES_ROOT\Folder\shell\DosHere]
@="Command &Prompt Here"
[HKEY_CLASSES_ROOT\Folder\shell\DosHere\command]
@="C:\\WINNT\\System32\\cmd.exe /k cd \"%1\""

create a Mandatory Profile for Windows 95 users


To create a manadatory profile for Windows 95 users, you must perform the following steps:


1. You must share the user home directory, not the C:\Users directory.


2. In User Manager for Domains, set H: (or any other drive letter) to the UNC path of the home directory (\\ServerName\UserName or \\ServerName\UserName$).


3. Grant the user (only the user) Full Control or Change permissions on the share.


4. Create a JSI_MODEL user and log on to the Windows 95 computer as JSI_MODEL.


5. Click Start / Settings / Control Panel. Double-click the Passwords icon and click the User Profiles tab. Select the Users can customize their preferences and desktop settings. Windows switches to your personal settings whenever you log in radial button. Click OK.
   Note: This is not the default setting.


6. Customize JSI_MODEL with all the settings that you want for the mandatory profile and log off to create the User.dat in JSI_MODEL's home directory.


7. On the Windows NT Server, rename the User.dat file to User.man and copy it to each Windows 95 user's home directory. Don't forget to configure them as per step 2.


8. When the Windows 95 computer is restarted and a user logs on, they will receive the mandatory profile.

Remove the arrow (Shortcut Overlay) from desktop


To remove the Shortcut Overlay, browse to HKEY_CLASSES_ROOT\Lnkfile


Select the IsShortcut value name in the right hand pane and delete it.


You will need to Logoff/Logon to see the change.

Tuesday, June 26, 2007

Kloning Windows XP Beda Mesin

Tutor By : imer Kaskus


Mungkin udah banyak yang tau caranya tapi gpp buat n00bz mungkin bisa nambah ilmu...

Windows XP, dah pada tau kan ngga bisa di clone langsung pake ghost/acronis true image ke mesin dengan beda spesifikasi... pasti langsung hang dah pas masuk windows, knp?

- Perbedaan Hardware Abstraction Layer (HAL)
- Driver specific issues
- Encrypted files or folders on the source computer
(sumber : manual symantec ghost)

Nah, untuk bisa kloning ke mesin yang berbeda kita butuh Sysprep atau Microsoft's System Preparation tool


 


[ Sysprep is a Microsoft utility that prepares a computer for cloning (imaging) and customization. When you restart a computer after using Sysprep, Windows 2000/XP detects the attached devices such as the hard drive, CD/DVD ROM, and other Plug-and-Play devices and rebuilds the driver database the next time Windows is started. ]


 


Gw coba jelasin step by step nya cara kloning pake sysprep ini :
Sopwer yang dibutuhkan :
- Sysprep bisa didapetin di :
Untuk Windows XP SP1

http://www.microsoft.com/downloads/details.aspx?FamilyID=7a83123d-507b-4095-9d9d-0a195f7b5f69&DisplayLang=en

 


Untuk Windows XP SP2

http://www.microsoft.com/downloads/details.aspx?familyid=3e90dc91-ac56-4665-949b-beda3080e0f6&displaylang=en

 


- Bootable disc Symantec Ghost ato acronis true image, ato sopwer image kesukaan loe dah

Langkah2 nya :
1. Install windows seperti biasa, sekalian install driver dan sopwer2 pendukungnya, config sesuai kebutuhan. Pastikan tuh dah instalasi windows termanis yang loe buat
2. Reboot, pastikan login sebagai admin, bukan sebagai user!
3. Bikin direktory Sysprep (c:\sysprep)
4. Extract .cab deployment yang udah di download tadi ke folder Sysprep (sysprep.exe, setupcl.exe, factory.exe, deploy.chm dan ref.chm)
5. Bikin direktory Driver buat Sysprep (c:\drivers)
6. Jalankan Sysprep.exe

sysprep for windows XP SP1


sysprep for windows XP SP2

Limitasi Sysprep
- Windows instalasi harus berada di drive c:\
- Destination PC harus tidak terhubung dengan domain controller
- Jangan menggunakan Windows OEM bawaan PC built up. Windows OEM hanya untuk hardware spesifik bawaan pabrik PC
- Jangan menggunakan sysprep dengan proc berbeda. Misalnya bikin image pake Pentium 4 untuk kloning di AMD
- Jangan menggunakan sysprep dengan Storage controller berbeda, misalnya IDE ke SCSI atau SATA

7. Pada saat menjalankan sysprep akan muncul konfirmasi box


8. Tunggu sysprep bekerja


9. Selanjutnya windows akan reboot atau shutdown, tergantung pilihan pada konfigurasi sysprep


10. HERE IS DA CRUCIAL STEP!!!
Setelah reboot, PASTIKAN JANGAN BOOT KE WINDOWS!! siapin dulu bootable ghost ato acronis, boot from CD, jalankan sopwernya trus buat image drive c:\ tadi

11. Setelah selesai proses image, reboot dan balikin boot ke HDD

12. Selanjutnya sysprep akan bekerja

atau mode mini

proses rekonfigure instalasi windows

Masukkan kembali data2 seperti pada proses instalasi windows, tunggu sampai proses instalasi selesai


13. Setelah selesai dan login ke windows, silahkan di deploy image yang dibuat tadi ke sembarang PC yang mau di install windows XP dengan syarat seperti di atas (limitasi sysprep)

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Bikin sysprep.inf???
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Konfigurasi utama sysprep ini ada pada sysprep.inf
File ini bisa dibuat dengan menggunakan sopwer setupmgr.exe (ada pada deployment .cab) file ini untuk membuat unattended instalasi windows XP dengan memasukkan konfigurasi terlebih dahulu (mirip ama nlite -red)

Untuk membuat file sysprep.inf cukup jalankan sopwer setupmgr.exe dan pilih full unattended dan config semuanya seperti pada nlite, save file nya sebagai sysprep.inf taruh di direktory c:\sysprep

sysprep.inf

;Setup Manager answer file
;include any comments like revision dates ;here

[Data]
AutoPartition = 1
MsDosInitiated = "0"
UnattendedInstall = "Yes"
AutomaticUpdates = yes

[Unattended]
UnattendMode = FullUnattended
OemSkipEula = Yes
OemPreinstall = Yes
UnattendSwitch = "Yes"
Hibernation = No
TargetPath = \WINDOWS

[UserData]
ProductKey = #####-#####-#####-#####-#####
FullName = "Xxxxxx"
OrgName = "Xxxxx Yyyyy"
ComputerName = XXXXXXX

[Display]
BitsPerPel = 32
Xresolution = 1024
Yresolution = 768
Vrefresh = 60

[RegionalSettings]
LanguageGroup = 9, 1
SystemLocale = 00000809
UserLocale = 00001009
InputLocale = 0809:00000809, 0404:e0080404; 0404:e0090404

[Branding]
BrandIEUsingUnattended = Yes

[url]
Home_Page = about:blank
Search_Page = http://www.google.com

[GuiUnattended]
AdminPassword = "Xxxxxxxxxxx"
EncryptedAdminPassword = NO
AutoLogon = Yes
AutoLogonCount = 5
OEMSkipRegional = 1
TimeZone = 85
OemSkipWelcome = 1

[Identification]
JoinWorkgroup = WORKGROUP

[Networking]
InstallDefaultComponents = Yes

[WindowsFirewall]
Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]
Mode = 0

[Components]
msmsgs = off
msnexplr = off
freecell = off
hearts = off
minesweeper = off
pinball = off
solitaire = off
spider = off
zonegames = off

[PCHealth]
ER_Enable_Reporting = 0

[System Restore]
MaximumDataStorePercentOfDisk = 5

[GuiRunOnce]
%systemdrive%\install\UserRegTweaks.cmd

[PCHealth]
ER_Enable_Reporting = 0

[System Restore]
MaximumDataStorePercentOfDisk = 5

 


Selesai dah, silahkan bereksperimen. Inget backup dulu data2 penting sebelum bereksperimen. Segala kerusakan yang diakibatkan oleh tutorial ini bukan tanggung jawab gw....


Tutor By : imer Kaskus


 

Disable Programs That Run At Startup

Certain programs, when installed, will automatically run when you start up windows.  If you find yourself with too many programs that are non-essential, such as msn messenger, then there is a way you can keep them from running at startup.

Make sure you know which program you want to disable so you make the correct changes.  It is also important to remember not to disable vital programs that protect your computer.

To Disable a program
1.  Go to the start menu and click on run


2.  This will bring up a window that says Open: and then has a field you can type in.


3.  Type msconfig and press enter


4.  This will bring up a window that says System Configuration utility across the top


5.  Click on the tab that says startup


6.  Within this list are all the programs that are curently running at startup with checks in the boxes next to the program.


7.  Uncheck the box next to the program you wish to disable and then click ok


These changes will again take effect when you restart your computer next.

Monday, June 25, 2007

Auto End Tasks to Enable a Proper Shutdown

This reg file automatically ends tasks and timeouts that prevent programs from shutting down and clears the Paging File on Exit.


1. Copy the following into notepad:



Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"ClearPageFileAtShutdown"=dword:00000001


[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"AutoEndTasks"="1"


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillServiceTimeout"="1000"



 


2. Save the file as shutdown.reg
3. Double click the file to import into your registry.


NOTE: If your anti-virus software warns you of a "malicious" script, this is normal if you have "Script Safe" or similar technology enabled.