I almost don't mind releasing my code public domain (and in fact I often do that) but lately I was thinking about if there is a license I could use which forbids the usage of my code for weapons, and now with all the NSA stuff perhaps even spying or more general "harming humanity" or something?