Skip to content

Instantly share code, notes, and snippets.

Item1 is a "plate"
Item2 is a "knife"
Item3 is a "jar of jelly"
Item4 is a "jar of peanut butter"
Item5 is a "loaf of bread"
Item6 is a "bread slice1"
Item7 is a "bread slice2"
"Loaf of bread" contains 12 "bread slices".
"Jar of jelly" contains 100 knife parts of "jelly"
"Jar of peanut butter" contains 25 knife parts of "peanut butter"
Name: Alisa Chang
Github: http://github.com/laptite
Blog: laptite.github.io
Tagline: Dazed and Confused
Profile Picture: http://i1316.photobucket.com/albums/t613/littlenyc/Photoon5-1-13at525PM2_bw_zpsda4c8c4f.jpg
Treehouse Account: http://teamtreehouse.com/alisachang2
CoderWall Account: https://coderwall.com/laptite
CodeSchool Account: http://www.codeschool.com/users/laptitenyc
Favorite Websites:
@laptite
laptite / airbnb.sql
Last active December 18, 2015 03:38
CREATE TABLE booking (
booking_id int,
hometype text,
roomtype text,
accomodate int,
city text);
CREATE TABLE quiz (
question_id int,
question_text text,
@laptite
laptite / amazon.sql
Last active December 18, 2015 03:38
CREATE TABLE dvd (
dvd_id int,
dvd_name text,
dvd_price int,
dvd_condition text,
dvd_type text);
CREATE TABLE product (
product_id int,
actor_name text,
CREATE TABLE flights (
flights_id int,
airline text,
wifi int,
airport text,
outbound_time text,
return_time text,
duration int,
stops int,
price int);

##Objectives: Use String, Hash, Array, and Enumerable methods to decode a string and discover a secret message

INSPIRATION: http://www.youtube.com/watch?v=Wj1d85CLDOQ

##Skills: String.split, Array.each, Hash.each, Hash.sort_by, Range.to_a, Array.reverse, Array.push, Array.join, String.gsub, Array.index

##Instructions: Comments explain steps to manipulate string

This is a list of steps to:

  • Setup a new Rails app
  • Initialize a local repository using git
  • Create a new remote repository using GitHub
  • Change README.rdoc
  • Deploy to a cloud service - Heroku

Assumptions:

  • Ruby is installed (v 1.9.3)
  • Rails is installed (v 3.2.3)

Student Ruby Assessment

Instructions

  • Create a file with "<yourName>_assessment.rb".

Sections 1-6

  • Title each section with a comment that includes the name and number of each section.
  • Then write the ruby that fulfills each lettered instruction under the title. There is no need to structure your code based on the lettered instructions.
  • If you need to use code from a previous numbered section please cut and paste into the approrpriate section.

JavaScript Part 1

Topics:

  • Variables & Data types
  • Conditional Statements
  • Functions & Scope
  • setting up a document to use jQuery
  • jQuery Selectors & Methods
  • Retrieving Form Values
  • Arrays