Wednesday, October 22, 2008

IE rendering mode

If you want to know whether you're in quirks or standards mode, enter this into the address bar:

javascript:alert(document.compatMode)

CSS1Compat = standards
BackCompat = quirks

Thursday, October 16, 2008

Setting the time on Windows XP with NTP

I finally got around to installing ntp on our servers to help keep the times in the logs in sync with each other. It occurred to me that you might be able to do the same in Windows XP, and it happens to be trivial:


  1. Double click the clock on the task bar.

  2. Select the internet time tab

  3. Enter an ntp server near you, e.g. ie.pool.ntp.org for Ireland. Read http://www.pool.ntp.org/use.html for other locations.



XP will update the time every week as long as you're on the net.