Say you have a project for which you designed a PCB and wrote software for.
You want it to be free for everyone who can use it.
How about disclaimers (use at own risk) and preventing commercial misuse?
Is there a piece of standard text which you can put into the top of my code
to cover the common creatives license? And some sort of disclaimer for
use at your own risk? etc?
Go to the Creative Commons website and look. I'm certain you aren't the first person to ask this. All of that is published if you will just take the time to look.
What does "commercial misuse" mean? Most licenses either permit or prohibit "commercial use" or "for profit use" in general - if you want to allow some types of commercial use while prohibiting others, you'll have to get very careful about defining which is which. (in as much as anyone pays attention. How many Arduino derivatives listen to the "share-alike" part of the Arduino License? Not that there's really enough TO the Arduino design to qualify as "Intellectual Property.")