As an app developer I find lots of useful code online - most of it is licensed under the MIT license, meaning do with it whatever you want (by and large)
If you want to make it so other people may use your stuff, just put it under such a license. That's what I do - please, share and use, here you go. There are no strings attached.
If I see the words GPL, or even LGPL, I stay far away from it. I don't want some nutcase to sue me years down the road when my software has become popular, just because I wanted to save an hour of coding time for the 1.0 release.