Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block keithknox

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
keithknox /
Last active Aug 29, 2015
A gistalt piece

When we began learning JavaScript this week, there was a feeling of "hitting the reset button" on everything that I have learned up until that point. I went through the same stages I did when I began learning Ruby: utter confusion, flailing about to piece together code that would work, seeing the patterns at work and then beginning to begin to understand. This weekend, I had a JavaScript book laying around, and I decided that I was going to try to find the point where things began to become fuzzy so I got to the first chapter. I understood that much. Got to the second chapter and that was familiar too. I kept skipping ahead to look for the "confusing stuff" and before I realized it, I was a solid 100 pages into the book....not bad for only learning this stuff beginning Monday.

What helped me through this is that the same core programming principles that were in Ruby were in JavaScript as well. In fact JavaScript's stricter syntax helped me understand things in Ruby that I ha missed the first time aroun

View gist:a6113478669ba0c83151
puts("I am C-3P0, human-cyborg relations. What is your name?")
name = gets().chomp
puts("It is a pleasure to meet you, " + name +". Have you ever met a protocol droid before?")
user_answer = gets().chomp
puts(user_answer + "? How interesting, for someone from around these parts.")
puts("I'm terribly sorry for prying, but you don't by any chance go by the alias of Obi-Wan Kenobi, do you?")
View gist:c00a413e4e4d4662516d
cp CAT_PHOTOS/nefariousMisterMittens.jpg FLASH_DRIVE/
say "Doctor Nefarious: Ha ha. Sincerely, Mot Esiurc" > DR_NEFARIOUS_NEW_LAUNCH_SEQUENCE/
View gist:f5489caae1ed80a2a3c0
mkdir -p GeneralAssembly/Homework/week01/day01
mkdir -p GeneralAssembly/Notes/week01/day01
mkdir -p GeneralAssembly/Projects
mkdir -p GeneralAssembly/Outcomes
echo "Keep calm and carry on!" > GeneralAssembly/
echo "Hey there, student! Welcome to WDI6! I just set up this directory tree for you:"
tree GeneralAssembly
You can’t perform that action at this time.