Skip to content

Instantly share code, notes, and snippets.

View saintmedusa's full-sized avatar

Yaz Bengharsa saintmedusa

  • Student at Ada Developers Academy
  • Seattle, WA
  • X @yazzoworks
View GitHub Profile

Yaz (they/them) is an artist and community organizer living Seattle, WA on Duwamish and Co Salish Territory. They have taken mathematics, science, programming, and writing courses at University of Washington, Evergreen College, North Seattle College, and online.

They are a current student at Ada Developer's Academy and are excited to be learning the ins and outs of Web Development. Some of their particular computer science fascinations include machine learning, genetic algorithms, network protocols, and neural networks. They are seeking to have career opportunities working with efficiency in complex systems, data visualization, and machine-learning.

Since moving to Seattle in 2011, they have organized a worker cooperative initiative, facilitated accountability/education processes for consent culture in the local dance scene, hosted performance open-mics, served on the Executive Search Comittee for Velocity Dance Center, supported arts fundraising campaigns, and organized a community course on the connectio

class BabyDragon
attr_reader :fullness_level
def initialize(name)
@name = name
@is_asleep = false
# The dragon is not hungry when @fullness_level is 10
# The dragon is very hungry when @fullness_level is 0
@fullness_level = 10
# create hash of three different menu word arrays
menu = Hash.new
# create a hash that is a mirror of the menu hash.
rand_selects = Hash.new
# prompt user for menu size
puts "How many menu items would you like? minumum 1, maximum 10."
MENU_SIZE = gets.chomp.to_i
# test input
while MENU_SIZE > 10 || MENU_SIZE < 1
input_choice = nil
student_data = Array.new
file_data = nil
# Introduce Program to user, select manual or file mode, and
# initiate the array of full_names accordingly.
puts "Welcome to Ada's Student Account Generator."
puts "Would you like to enter student names manually or by file?
Enter 'M' for manually or 'F' for file:"
input_choice = gets.chomp.upcase()
input_choice = nil
full_names = Array.new
id_nums = Array.new
emails = Array.new
# Introduce Program to user, select manual or file mode, and
# initiate the array of full_names accordingly.
puts "Welcome to Ada's Student Account Generator."
puts "Would you like to enter student names manually or by file?
Enter 'M' for manually or 'F' for file:"
@saintmedusa
saintmedusa / Yaz-OShaughnessy-Resume.md
Last active January 26, 2021 06:08
My Professional and Personal Resume

Yaz O'Shaughnessy

Seattle, WA // yasmineoshaugh@gmail.com // 202-494-9622

Education

Ada Developer's Academy | Seattle, WA

  • Full-stack web development
  • Ruby, Ruby on Rails, React, Node.js, HTML & CSS
  • Pair programming, collaborative team projects
@saintmedusa
saintmedusa / numbers_assignment1.rb
Created October 21, 2019 00:42
This is the first iteration of the Numbers Problem.
# Get three integers from the user, saving to three variables.
# use to_i to grab the integer, convert it to the proper type,
# and truncate the newline char at the end of the input. (note
# that .chomp isn't used because to_i ignores non-integers at end
# of input)
puts "Give me a positive integer:"
num1 = gets.to_i
puts "Give me another positive integer:"