Skip to content

Instantly share code, notes, and snippets.

View chadxsmith's full-sized avatar

Chad Smith chadxsmith

  • Accenture
  • Washington, DC
View GitHub Profile
@chadxsmith
chadxsmith / reflection_cs.js
Created May 5, 2015 12:26
JavaScript Self Reflection
The Good:
So far, so good. Although I'm still running into syntax errors and realizing certain concepts were initially misunderstood,I feel pretty confident about the learning the language. The next few weeks should be pretty exciting! Jeff's teaching style is pretty amazing, btw!
The Bad:
I'm a little disappinted we're only covering two weeks of JavaScript. And since I'm here primarly to expand my JavaScript and CSS skills, I'm not 100% how to attack the upcoming project. I plan to schedule time w/ Jeff or Adam this week to discuss possible ideas.
require 'pry'
# W04D03 Quiz
=begin
Your solutions to all the problems below (except for Problem 1) should be included in this file.
Assuming the database "quiz" mentioned in Problem 3 has been created, this file should be able to be executed in the command line (`ruby d03_quiz.rb`) without throwing any errors.
=end
puts ("I am C-3P0, human-cyborg relations.")
puts ("What is your name?")
user_name = gets.chomp
puts ("It is a pleasure to meet you, " + user_name + ".Have you ever met a protocol droid before?")
user_answer = gets.chomp
puts ("I'm terribly sorry for prying, but you don't by any chance go by the alias of Obi-Wan Kenobi, do you?")
user_answertoObi = gets.chomp
@chadxsmith
chadxsmith / Homework, W01D01
Created March 16, 2015 21:14
Homework, W01D01
export PATH="/usr/local/bin:$PATH"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
homework(){
mkdir GeneralAssembly
cd GeneralAssembly
mkdir Homework Notes Projects Outcomes
mkdir -p Homework/week01/day01
mkdir -p Notes/week01/day01