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
#The Search for Obi-Wan | |
puts "Hello, I'm C-3P0, human-cyborg relations." | |
puts "What is your name?" | |
name = gets.chomp.to_s | |
puts "It is a pleasure to meet you, #{name}. Have you ever met a protocol droid before?" | |
user_answer = gets.chomp.to_s | |
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?" | |
puts "(Please answer \"I do\" or \"I don't\")" |
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
cd .. | |
mv TOP_SECRET/SERIOUSLY_TOP_SECRET/YOU_PROBABLY_SHOULDNT_BE_IN_HERE/totallyNotNuclearCodes.txt FLASH_DRIVE/. | |
echo "8675309" > NO_NUCLEAR_LAUNCH_SEQUENCES_HERE/totallyNotNuclearCodes.txt | |
cp CAT_PHOTOS/nefariousMisterMittens.jpg FLASH_DRIVE/. | |
rm -rf NO_NUCLEAR_LAUNCH_SEQUENCES_HERE/ | |
mkdir DR_NEFARIOUS_NEW_LAUNCH_SEQUENCE |
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
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* | |
GA(){ | |
mkdir GeneralAssembly | |
cd GeneralAssembly | |
mkdir -p Projects Outcomes Homework/week01/day01 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:” |