Skip to content

Instantly share code, notes, and snippets.

View itskaia's full-sized avatar

Kaia itskaia

  • Seattle, WA
View GitHub Profile
@itskaia
itskaia / help_notes.md
Created September 4, 2019 18:18
September 2019 - Week 1 - Scripting Mini-Project

September / Week 1 Mini-Project

Guide / Help Notes / Resource Notes


Script Requirements...

# Write a script that searches for all image files starting with 'Screen Shot' and ending with .png.
# Have the script move all such files into a new directory in your Documents directory
@itskaia
itskaia / 29aug.rb
Created August 29, 2019 20:23
Thing
# The goal is to build a loop that pushes a hash into an array. Each time a new hash is pushed into the array, the number at the end of the hash's assigned name increases by +1 (eg: question_1, then question_2, etc...)
# Basically I've been trying to figure out how to turn a string with an integer interpolation for each successive +1 into a new hash name.
question_superset_test = []
question_1 = {}
puts "Enter question:"
question_entry = $stdin.gets.chomp.to_s
question_1.merge!(prompt: "#{question_entry}")
puts question_1
@itskaia
itskaia / dothethings.rb
Created March 31, 2019 22:24
Do The Things
activities_I_do = [
"climb",
"study",
"read",
"text mom",
"email dad",
"socialize IRL"
]
score_card = []