I have some code that I would like others to be able to use, share, build on it, as long as they don't profit from it.
I came across the commons clause license which seems nice but I don't know if that's compatible with the idea of ME selling a service that derives directly from this code.
Also, I would like other commercial entities to be able to use this code for profit, if and only if they get a license to do so from me. Would this be compatible with commons clause?