Windows 7 and Lenovo T60

To avoid Monitor problems use the following driver:

http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-62923

To speed up the different .Net application from Lenovo the online verification can be turned of for the individual applications:

By saving this as the application .config

<?xml version="1.0" encoding="utf-8"?>
<?configuration>
<?runtime>
<?generatePublisherEvidence enabled="false"/>
<?/runtime>
<?/configuration>

http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-73758

Hosting iTunes as a Windows Service

To host iTunes as a Windows Service under a User Account and not a system account this small program can be sued:

http://www.johncleary.net/2009/11/download-jtunes-here/

It enables you to install the service start/stop it and so it can run without a concrete user is logged in and have the program running. (Note: The service must be stopped to allow the GUI to be used, since only one instance of iTunes is allowed).

Extract files from a .msi install file

To extract files from a .msi file at the command line, type:

msiexec /a PathToMSIFile /qb TARGETDIR=DirectoryToExtractTo

For example, to extract files from f:\zenworks\zfdagent.msi into c:\zfd701 you would type:

msiexec /a f:\zenworks\zfdagent.msi /qb TARGETDIR=c:\zfd701

The destination directory does not need to exist prior to running this command.

Source 

Syntax highlighting for VDM

Here are language files for VDM:

  • VDM-SL
  • VDM-PP
  • VDM-RT
They should be placed in: share\gtksourceview-2.0\language-specs

vdm.lang (9.94 kb)

vdmpp.lang (10.15 kb)

vdmrt.lang (10.25 kb)

vdmsl.lang (9.95 kb)

vpp.lang (10.14 kb)

 

 

 

 

 

DebugView

DebugView is an application to monitor debug output.

From Microsoft TechNet:

DebugView is an application that lets you monitor debug output on your local system, or any computer on the network that you can reach via TCP/IP. It is capable of displaying both kernel-mode and Win32 debug output, so you don’t need a debugger to catch the debug output your applications or device drivers generate, nor do you need to modify your applications or drivers to use non-standard debug output APIs.

Link

Firefox plug-in for text encoding and decoding

Here is a small Firefox plug-in which enables you to do encoding and decoding of text between different encodings.

http://leetkey.mozdev.org/index.html

Lidt sne billeder fra december 2009

Ja vi fik lidt sne i løbet af december 2009. Her er lidt aften billeder som det så ud 22. December om aftenen.

IMG_5832

Ja lidt sne i forhaven kan man vel godt kalde det.

driveway

Og lidt sne i indkørslen er der da os.

IMG_5853

Men der er dog rydet så busserne kan køre.

IMG_5877

IMG_5827 IMG_5854

IMG_5867

Enable Japanese characters in Windows and Eclipse

To enable the Japanese characters (Shift-JIS) the operation system needs to install the fonts.

This is how to do it in Windows Xp:

  1. Install the fonts. This is done in the Regional Options under languagesclip_image001
  2. Select the Install files for East Asian languages. The windows cd is needed.
  3. After this a restart is needed.
  4. In Eclipse select properties of the file which contains Japanese characters and select Test file encoding.
  5. Chose: UTF-8 and click ok.
    image
  6. Now you can open the file with any editor in Eclipse and it should show the file correctly.

 

Here is a link to a site which describes how to do the same for other operation systems.

Small guide for basic Shell commands

Oreilly online book chapter: link

Low level keyboard hook

Here is a small example of how to create a low level keyboard hook with the Win32 API. Example can be found here.

Top