My contributions to Stack Exchange sites are available under the terms of the CC0.
It is, however, probably still wise (and certainly polite) to include the URL from which you got something as a comment in your code.
My childhood was spent on DOS and Windows 95. After learning to read, I managed to learn the basics of programming with the help of The Secret Guide to Computers, GWBASIC, UCBLogo, LADYBUG Logo, and some LOGO book(s) I can't recall the names of. I didn't much like GWBASIC, but at least it had a printed reference manual. I had also tried QBASIC, but had trouble with the online help, which I later decided was probably because all of the text was in the same font (making it hard to tell the verbatim code from the other notation).
[... Windows, VB, DJGPP, Cygwin, Mindstorms, POV-RAY ...]
Eventually I bought my own computer and installed a copy of Linux, and that's when I really began to learn how computer systems work: technical documentation for most things was available online, and if that wasn't enough to satisfy my curiosity I could look at the source code.
[... Python ... Haskell ...]
Q&A for professional and enthusiast programmers
Q&A for users of TeX, LaTeX, ConTeXt, and related typesetting systems
Q&A for meta-discussion of the Stack Exchange family of Q&A websites
Q&A for computer enthusiasts and power users
Q&A for users of Linux, FreeBSD and other Un*x-like operating systems.
Q&A for professional system and network administrators
Q&A for linguists, etymologists, and serious English language enthusiasts
Q&A for people studying math at any level and professionals in related fields
Stack Exchange Network staging zone, where users come together to build new Q&A sites
Q&A for apps, scripts, and development with the Stack Exchange API
Q&A for Ubuntu users and developers
Q&A for Information security professionals
Q&A for professional programmers interested in conceptual questions about software development
Q&A for programming puzzle enthusiasts and code golfers
Q&A for electronics and electrical engineering professionals, students, and enthusiasts
Q&A for power users of Apple hardware and software
Q&A for academics and those enrolled in higher education
Q&A for user experience researchers and experts
Q&A for science fiction and fantasy enthusiasts
Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games
Q&A for active researchers, academics and students of physics
Q&A for scientific skepticism
Q&A for professional mathematicians
Q&A for theoretical computer scientists and researchers in related fields
Q&A for power users of web applications
Q&A for software quality control experts, automation engineers, and software testers
Q&A for professors, theologians, and those interested in exegetical analysis of biblical texts