Notes by Dr. Xi
Displaying keyword search results 1 - 10
Created by Dr. Xi on February 13, 2012 16:03:58
Last update: February 13, 2012 16:05:19
Microsoft provides free downloadable Windows images to support IE browser compatibility testing, just google Internet Explorer Application Compatibility VPC Image .
These VMs run on Microsoft's Windows Virtual PC . According to MS:
You can technically have a base image which never expires although you will never be able to permanently save any changes on these images for longer than 90 days.
Created by Dr. Xi on February 13, 2012 15:56:20
Last update: February 13, 2012 15:56:20
IE9 has pretty good developer tools support - similar to that of Firebug, though not as good (under the Tools icon pick F12 Developer Tools , or hit F12 directly.).
It also allows you to test compatibility with older browsers like IE8:
Bring up Developer Tools with F12.
pick IE8 in Browser Mode and IE8 standards in Document Mode .
Created by Dr. Xi on December 12, 2007 22:57:22
Last update: March 25, 2011 15:05:40
1. Install windows resource kit .
2. Install srvany as a service:
C:\tools\putty>instsrv ssh_tunnel "C:\Program File...
3. Edit the following registry template to suite your environment:
Windows Registry Editor Version 5.00
[H...
4. Import the registry entry.
5. Start the service with "net start ssh_tunnel" or from the services applet.
You may choose to use a batch file for srvany (instead of plink.exe ), but you won't be able to shut down the tunnel when you stop the service.
Also, if the Windows SYSTEM user cannot see the host key for SSH connection, the tunnel cannot be established.
Created by Dr. Xi on March 05, 2011 13:04:54
Last update: March 05, 2011 13:04:54
mysql> show character set;
+----------+--------...
Created by Dr. Xi on November 30, 2010 08:56:11
Last update: November 30, 2010 08:56:11
Focus on the checkbox.
press the Space bar!
Created by Dr. Xi on August 30, 2010 20:17:22
Last update: August 30, 2010 20:17:41
Characters \/:*?"<>| are forbidden in Windows file names. For Python, the effect of using a forbidden character in the file name is undetermined.
In the following session a file named mytest can be seen from the Windows Explorer, which contains 0 bytes - as confirmed by the read back in the session. But if you open the file with the invalid file name used to create the file (i.e., mytest: 1.txt ), you get the original contents.
C:\>python
Python 2.7 (r27:82525, Jul 4 2010, ...
Created by Dr. Xi on August 10, 2007 19:42:52
Last update: July 22, 2010 19:57:09
There seems to be an upper limit to the heap size that you can allocate to the JVM on 32bit Windows. Although the total addressable memory space is 4G, only 2G is available to applications (the other 2G reserved by the OS).
Out of the 2G used for applications, you also need to load any static or dynamic libraries, which further pushes down the actual limit to about 1.5-1.8G.
Below are some references:
1. How to get (almost) 3 GB heap on Windows!
2. maximum heap size limitations on Windows 32-bit
Created by Dr. Xi on June 18, 2010 15:43:27
Last update: June 20, 2010 13:59:57
I got this error while starting jboss-5.1.0.GA on Solaris (there were no problems on Windows XP or Linux).
18:20:57,405 ERROR [AbstractKernelController] Er...
It turned out that this was a bug in jboss-5.1.0.GA and was fixed in jboss 6.
The fix was to add class="java.io.File" to conf/bootstrap/profile.xml :
<bean name="AttachmentStore"
class="org.jb...
Created by Dr. Xi on June 11, 2010 19:04:18
Last update: June 11, 2010 19:06:35
The caret ^ is DOS command line escape character.
Example 1: echo < and > as is, not interpreting them as input/output redirect.
@rem sign an XML file. Requires Java class utils.x...
Example 2: treat & literally, not as the special character to combine two commands.
@rem search "dos command line" in Google.
curl ...
Add switch -A "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1" to make curl look like Firefox.
Created by Dr. Xi on September 22, 2008 23:35:21
Last update: June 01, 2010 17:07:22
Windows Clear Type technology improves readability on computer displays. Here's how to turn it on:
Right click on an empty spot on the desktop
Select properties to bring up the "Display Properties" dialog
Select the "Appearance" tab
Click the "Effects..." button
Select "Clear Type" for "Use the following method to smooth edges of screen fonts"