"This code is in the public domain. You may not use it for commerical purposes"IANAL but I think that's a contradiction. Either it's in the public domain - fair game for all - or it's a license with strings (see GPL). If that combination of conditions is indeed ambiguous, the original author needs to make it sensible.