Which basically means there are a lot of circumstances where you can use these snippets without falling foul of the law. It depends on how you are using them - and if it is for private study you are often covered.
(the above link appears to be for UK law, but I suspect similar exceptions also exist in US law).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I am not a lawyer either, so this isn't advice. However there are 'fair use' copyright exceptions, and one of these regards education:
copyrightuser.org/understand/excep...
Which basically means there are a lot of circumstances where you can use these snippets without falling foul of the law. It depends on how you are using them - and if it is for private study you are often covered.
(the above link appears to be for UK law, but I suspect similar exceptions also exist in US law).