Permission is hereby granted to use, copy, modify, and distribute this
source code, or portions hereof, for any purpose, without fee, subject
to the following restrictions:

1. The origin of this source code must not be misrepresented.

2. Altered versions must be plainly marked as such and must not
  be misrepresented as being the original source.

3. This Copyright notice may not be removed or altered from any
  source or altered source distribution.

This software is provided AS IS. The author does not guarantee that
this program works, is bugfree, etc. The author does not take any
responsibility for eventual damage caused by this program.
Use at own risk.