I have no idea what is strictly speaking legal or illegal, but just in terms of ethical behaviour, I'd avoid copying a lot of material directly from a book. For example, I wouldn't copy/paste code samples from a book into my own blog post, and I wouldn't copy/paste content directly either unless it's a short quote. Otherwise, I think paraphrasing the ideas that are in the book or creating your own code samples that are inspired by, but are not just trivial modifications, of the material in the book, seems okay to me. These are just my rough personal thoughts though: I don't have any expertise in this area at all.
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 have no idea what is strictly speaking legal or illegal, but just in terms of ethical behaviour, I'd avoid copying a lot of material directly from a book. For example, I wouldn't copy/paste code samples from a book into my own blog post, and I wouldn't copy/paste content directly either unless it's a short quote. Otherwise, I think paraphrasing the ideas that are in the book or creating your own code samples that are inspired by, but are not just trivial modifications, of the material in the book, seems okay to me. These are just my rough personal thoughts though: I don't have any expertise in this area at all.