This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
newGAstudent() | |
{ | |
mkdir GeneralAssembly | |
cd GeneralAssembly | |
mkdir Homework/ Notes/ Projects/ Outcomes | |
mkdir -p Homework/week01/day01 | |
mkdir -p Notes/week01/day01 | |
echo "Keep calm and carry on" > README.md | |
echo "Hey there, student! Welcome to WDI6! I just set up this directory tree for you.” | |
cd ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts("Yo yo I'm C-3P0, human-cyborg relations.") | |
puts("What is your name?") | |
user_name = gets().chomp() | |
puts("It's a pleasure meeting you #{user_name}! Have you ever met a protocol droid before?") | |
user_answer = gets().chomp() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
## Problem 1 | |
=begin | |
As you would with a regular homework assignment, please pull this file to your homework repository, make the necessary edits, push it, and then make a pull request. |