I came across a blog post that answers an unanswered question. I didn't write that blog post, and I'm not sure about that blog's content license, so I don't want to simply lift the code in an answer. I also know not to write a link-only answer.
That being said, it's a valuable resource and it helped me, so I wrote a comment linking to it.
What would be the best course of action here? Copy / paste the code anyway? Just link to it in a comment, as I did? Do nothing?