[Solved] Credits for Code

is it ok to claim as mine code I stole from multiple sources and mashed together? I feel like I have to give those guys credit for their work, on the other hand, they might not want anything to do with the way i chopped their work.

I have some stuff that is working for me and may help someone else.
I promise to have it vetted here before uploading it anywhere, where noobs like me can find it and cause trouble or destroy their components because it is in the internet and therefore it can be trusted (as I do).

What's the customary thing to do?
Thank you in advance.

It is expected that you will give credit to other people's work, and obey the requirements of any associated license.

In open source code that I modify and post, I add links to the original source(s) in the comments. That way I don't have to remember where to find the original, as well.

I think they'll be fine, so long as you say something like "based on ... ", and then make it clear that you've modified it with "modified by ... ".

Thank you guys.