Lets take the last aspect of the question first:
Can I combine CC-BY-SA with GPL?
The simple answer there is no.
At GNU.org they have a list of licenses and their compatibility with the GPL at Various Licenses and Comments about Them #CCBYSA
This has a yellow dotted line to the side of it indicating that it is not GPL compatible.
This is a copyleft free license that is good for artistic and entertainment works, and educational works. Please don't use it for software or documentation, since it is incompatible with the GNU GPL and with the GNU FDL.
Creative commons is aware of this and there is some discussion and thoughts about this at GPL compatibility use cases on their wiki. They may attempt to make it compatible with the next version of CC-BY-SA (that would be 4.0).
The question is what is your goal for sharing those snippets? Do you want people to use them? or do you want to impose a given license. CC-BY-SA is one extreme (that notes the issue of software) and GPL is a copyleft that imposes its license on everything else in the project.
There are many licenses that are middle grounds in this that are very permissive and are GPL compatible. Going to the Software Licenses section of the various licenses and comments document, one just needs to scroll down a bit past the GPL/GNU ones and you find:
- Apache License
- Artistic License
- Modified BSD
- Mozilla Public License
- X11 (MIT) license
and many more. The ones I listed are particularly well known in the community and are the ones that are least likely to cause problems with people trying to read them to make sure they are compatible with other licenses.
The licensing and copyright for code posted on Stack Exchange was brought up some time ago on Meta.StackOverflow (its now on Meta.StackExchange) with the FAQ question: Do I have to worry about copyright issues for code posted on Stack Overflow? and note that much of this delves into the real of legal where you start needing a lawyer.
This does point out the inherit issues of mixing CC-BY-SA which is intended for wiki type answers (such as what I'm writing) and source code.