Recent Notes

Displaying keyword search results 21 - 25
Created by Dr. Xi on May 22, 2009 18:58:41    Last update: May 22, 2009 18:58:41
import javax.crypto.Cipher; import javax.crypto...
Created by Dr. Xi on October 06, 2008 04:10:46    Last update: October 06, 2008 04:11:59
Start regedit , open key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System] , create or modify a string value named "DontDisplayLastUserName" and set the value to "1". To reverse the change, set the value to "0" , or remove the string value.
Created by Dr. Xi on September 25, 2008 02:56:24    Last update: September 25, 2008 03:00:10
When you use a TreeMap , the entries in the Map is sorted by the keys. This following code outputs the elements of the map sorted by value. import java.util.*; @SuppressWarnings("... The output is: key: e, value: be key: g, value: by key:...
Created by Dr. Xi on January 08, 2008 00:01:43    Last update: January 08, 2008 00:02:47
Hold the Windows key and press Pause .
Created by Dr. Xi on December 12, 2007 21:53:19    Last update: December 12, 2007 21:53:19
The first time you access an SSH host, you'll get and store the host key. Putty stores the host key in the registry. If you run putty plink as a Windows service, the host key should be available to the Windows system user. Otherwise, plink won't connect to the remote server. The solution is to obtain the host key from an interactive session then save it for use for the system user. Here are the steps: 1. Access the remote host interactively with putty or plink. Accept the host key. 2. Run regedit and export the key HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys . You'll get something like this: Windows Registry Editor Version 5.00 [HKEY_... 3. Edit the exported registry file, change HKEY_CURRENT_USER to HKEY_USERS\.DEFAULT : [HKEY_USERS\.DEFAULT\Software\SimonTatham\PuTTY\Ss... 4. Import the...
Previous  1 2 3 Next