Remap Caps Lock and Left Control on Windows XP

Unfortunately I am stuck using Windows XP at work. Every other machine I use is Linux. To increase productivity I have always mapped the Caps Lock key to Control and vice versa. I almost never use the Caps Locks and very frequently use Control so it was an obvious change.

However, under Windows this is not very easy. It took lots of Google searching to find the solution. Save the following to caps-control.reg:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
“Scancode Map”=hex:00,00,00,00,00,00,00,00,03,00,00,00,1D,00,3A,00,3A,00,1D,00,00,00,00,00,00

Simply right-click the file and tell Windows to merge the changes into the registry. The changes will take effect only after a reboot. Once I found the initial solution finding addition resources on the topic was easy.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Technorati

Trac Spam Sucks

Recently the Kid trac application has been under attack by spammers. At this time upgrading to the newest version and using the spam blocker plugin is not possible. So in the mean time I have written a script to help me delete the spam.

Running the script could be dangerous. There is always the possibility that you will delete real valid posts. To minimize the risk I make sure that I run it soom after the spam appears.

You simply run the script from the command line and pass it ticket ids or wiki page names as arguments.

./kill-last-wiki-spam WikiPage 100 109 OtherPage

The script will loop through the arguments and process them. Since code is more precise than language I’ll let you read it to find out how it works.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Technorati

New Kid Release Schedule

Kid needed a more consistent release timeline. So in order to keep myself on track I added some new milestones and started to plan out the roadmap. If things go as planned I can start knocking out tickets and doing more frequent releases.

If you know of a ticket that you feel is important please make sure it is one of the scheduled 0.9.x milestones. The 0.10 really does not mean much at this point because there has not been any timeframe associated with it.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Technorati