David Huby’s Blog Technical and business stuff

23Nov/090

Tool for duplicate code detection

I have spent some time evaluating freeware tools which can identify duplicate code.

I had mixed success with PMD/CPD, phpcpd, and others, until finally I came across Duplicate Code Finder. This is a visual tool compiled into a single 33KB exe, and seems to work perfectly.

Download link - http://www.gaijin.at/en/dldupcodefind.php

Only one downside - all the labels in the tool are in German, so you might need to keep a Google translate window open while you're using it...

2Nov/090

Forgot the root password on a Debian box?

The author points out that using single user mode on Debian is not the solution - but this is very simple and straightforward if you are able to edit the boot configuration in grub on your Debian box.

http://www.debianadmin.com/how-to-change-root-password-in-debian.html

Tagged as: No Comments