I've seen various open source libraries (actually I've seen it for assets as well) having a home-baked license in the following manner :

> SomeGuy's License:<br/>1. You can use this code freely in commercial projects and modify it as you wish, but not sell it<br/>2.
> If you want to sell a modified version, drop me an email first, or give credits to me

My question is, **could this hold any ground in the court**, or would the corporative lawyers of the company X tear it apart ?