When I post code on Stack Overflow, I intend for other people to use it. I couldn't care less if I have attribution, I'm just trying to be helpful. I suspect that this is intended to get more traffic to Stack Overflow.
It's $500, not $5000
Why won't sharks eat lawyers? Professional courtesy.