Skip to content

Instantly share code, notes, and snippets.

View britbrith4's full-sized avatar

Brittany Alexander britbrith4

View GitHub Profile
@britbrith4
britbrith4 / hw 2 3.17
Created March 18, 2015 02:19
hw 2 day 1
puts "Hi I'm C-3P0, huma-cyborg relations"
puts "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_name= gets.chomp
puts "#{user_name}? 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? (Answer \"I do\" or \"I don't\")"
user_answer= gets.chomp.downcase
if user_answer == "i do"
mv TOP_SECRET/SERIOUSLY_TOP_SECRET/YOU_PROBABLY_SHOULDNT_BE_IN_HERE/totallyNotNuclearCodes.txt FLASH_DRIVE/
touch totallyNotNuclearCodes.txt
open totallyNotNuclearCodes.txt
echo "8675309"
cp CAT_PHOTO FLASH_DRIVE/
rm -r NO_NUCLEAR_LAUNCH_SEQUENCES_HERE
mkdir DR_NEFARIOUS_NEW_LAUNCH_SEQUENCE
touch superDuperLaunchSequence.sh
say "Doctor Nefarious: Ha ha. Sincerely, Mot Esiurc"
profile () {
> open-e ~/bash_profile
new_student() {
mkdir GeneralAssembly
mkdir GeneralAssembly/Homework
mkdir GeneralAssembly/Notes
mkdir GeneralAssembly/Projects
mkdir GeneralAssembly/Outcomes
mkdir GeneralAssembly/Homework/week01/day01
mkdir GeneralAssembly/Notes/week01/day01