Sunday, July 12, 2015

IE Compatibility

Different versions of IEs render web pages differently. That causes headache for web developers. Microsoft provides a compatibility solution for the old web sites. Since IE 8, the Internet Explorer browsers start to handle the X-UA-Compatible Meta Tag or HTTP response header. The web server can send it to tell the IE to render the web document in an older IE mode.

This link gives a detailed description of X-UA-Compatible:

The values of X-UA-Compatible are:
  • IE=5
  • IE=7
  • IE=8
  • IE=9
  • IE=10
  • IE=11
  • IE=edge
  • IE=EmulateIE7
  • IE=EmulateIE8
  • IE=EmulateIE9
  • IE=EmulateIE10
  • IE=EmulateIE11
The difference between IE=7 and IE=EmulateIE7 is that IE=EmulateIE7 wil determine whether to use IE7 mode or IE5 (Quirks) mode by the !DOCTYPE declaration.

This link explains the !DOCTYPE declaration and the IE modes:

IE also provides a Compatibility View List that an end user can manually add a site to make it be rendered as EmulateIE7. Users can also control to display all local intranet sites or even all web sites in EmulateIE7 mode. (

Another very good article about this topic:

Wednesday, June 24, 2015

Prevent TortoiseCVS from converting LF to CRLF in checkout

If you have used a UNIX-like CVS client to check in a file, and the file has CRLF at the end of each line -- that means the file is in DOS format, when you check out the file with TortoiseCVS, the file will have CRCRLF at the end of each line.

That is because when TortoiseCVS checks out the file, it converts LF to CRLF for each line by default.

We can make TortoiseCVS stop this behavior by using an option during the checkout:
  • On an Windows Explorer, right click and choose menu CVS Checkout...
  • The TortoiseCVS - Checkout Module dialog is shown.
  • Select the Options tab on the dialog.
  • At the bottom, check the Use UNIX line endings checkbox.
  • Continue the checkout process and the files will be checked out without the LF to CRLF conversion.

Saturday, June 20, 2015

Copy files from local drive to remote desktop

In order to copy files from the local drive to the remote desktop or vice versa, we make the local drive available as a network drive on the remote desktop. To do that, follow these steps when logging in to the remote desktop.

  • On Windows Start menu, select All Programs -> Accessories -> Remote Desktop Connection.
  • On the dialog, click on the Options button.
  • Select the Local Resources tab.
  • Click the More... button at the bottom Local devices and resources section.
  • On the new dialog, expand the Drives item.
  • Select the drives we want to be visible to the remote desktop. Click OK button to close the dialog.
  • Click Connect button to login to the remote desktop.
  • After login, the local drive can be found at the Network place on the remote desktop. We can drag and drop files from or to it.

Get This <