Skip to content

Instantly share code, notes, and snippets.

View annaleeherrera's full-sized avatar

Annalee Herrera annaleeherrera

  • Seattle/Honolulu
View GitHub Profile
@annaleeherrera
annaleeherrera / CapstoneProductPlan.md
Last active February 23, 2016 18:32
Capstone Product Plan

Water Those

Automated Plant Watering System

####Problem Statement Taking care of a plant can be tough. The automatic plant watering system will remind a user to water their plant with a pop up notification, and the user can activate the watering system via wi-fi and a web application.

####Market Research Similar products currently available on the Market:

@annaleeherrera
annaleeherrera / CapstoneConcept.md
Last active February 23, 2016 07:49
Capstone Concept

Water Those

Automatic Plant Watering System

####Problem Statement Taking care of a plant can be tough. The automatic plant watering system will remind a user to water their plant with a pop up notification, and the user can activate the watering system via wi-fi and a web application.

####Draft Feature Set- You the real...MVP

  • The user will be able to water the plant via wi-fi and web application.
  • The web application will notify the user when the plant needs to be watered.
  • The web application will notify the user when the plant has been watered.

#Annalee Herrera

I am originally from White Center in Southwest Seattle. Prior to becoming a student at Ada, I worked for a non-profit called Techbridge and taught girls in my community about opportunities in Science, Technology, Engineering, and Math. I chose to make a career change in Software Development to make a change in not only the neighborhood I grew up in, but the world around me. I am driven by the desire to increase accessibility of knowledge and opportunity in STEM through rising as a leader in software development.

I have a scientific background in environmental science and biotechnology, having worked extensively in Hawaii's conservation field as an environmental scientist.

I am most interested in learning how to write "beautiful code" that is easy to understand and high in functionality and efficiency. I am especially curious about how large data sets can be used to personalize user and customer experience. I hope to gain the necessary tools and skills in software development through

@annaleeherrera
annaleeherrera / InFlightMovie.rb
Last active December 11, 2015 04:05
Movie Picker
#You've built an in-flight entertainment system with on-demand movie streaming. Users on longer flights like to start a second movie right when their first one ends, but they complain that the plane usually lands before they can see the ending. So you're building a feature for choosing two movies whose total runtimes will equal the exact flight length.
# Requirements
# Write a method that takes an integer flight_length (in minutes) and an array of integers movie_length (in minutes) and returns a boolean indicating whether there are two numbers in movie_length whose sum equals flight_length.
# When building your method:
# Assume your users will watch exactly two movies
# Don't make your users watch the same movie twice
require 'pry'
def movie_picker
puts "Please enter your flight length in minutes."
# Proc Example
taco = Proc.new do
puts "Eat a taco!"
end
burrito = Proc.new do
puts "Eat a burrito!"
end
cereal = Proc.new do
<html>
<body>
<section>
<h1>Best Flavors of Potato Chips</h1>
<p> Everyone has their own opinion...
</p>
<ol>
@annaleeherrera
annaleeherrera / Planets.rb
Last active October 6, 2015 16:03
Planets in Solar System
class Planet
attr_accessor :name, :atmosphere, :population
def initialize(planet_hash)
@name = planet_hash[:name]
@atmosphere = planet_hash[:atmosphere]
@population = planet_hash[:population]
end
def say_hello(name="Alien")
@annaleeherrera
annaleeherrera / SolarSystem1.rb
Last active October 2, 2015 16:04
SolarSystem1.rb
class Planet
attr_reader :name, :atmosphere, :population, :planets
def initialize(name, atmosphere, population)
@name = name
@atmosphere = atmosphere
@population = population
@planets = []
end
@annaleeherrera
annaleeherrera / Calculator.rb
Last active September 29, 2015 00:51
Calculator
puts "Hello. I am a calculator. What kind of math would you like me to calculate?"
puts "Enter the first number."
response1 = gets.chomp.to_i
puts "Enter the second number."
response2 = gets.chomp.to_i
response = gets.chomp
@annaleeherrera
annaleeherrera / LtP_6_2.rb
Created September 27, 2015 22:31
LtP_6_2.rb
# Angry boss. Write an angry boss program that rudely asks what you want.
# Whatever you answer, the angry boss should yell it back to you and then fire you.
# For example, if you type in I want a raise, it should yell back like this:
# WHADDAYA MEAN "I WANT A RAISE"?!? YOU'RE FIRED!!
puts "What do you want?!".upcase
response = gets.chomp
puts "Whaddya mean '#{response}', you're fired!".upcase
# Table of contents. Here’s something for you to do in order to play around more with