Skip to content

Instantly share code, notes, and snippets.

View elizabrock's full-sized avatar

Eliza Brock Marcum elizabrock

View GitHub Profile
@elizabrock
elizabrock / gist:19d3e2a63c6b6f776e41
Last active August 29, 2015 14:04
Koans Progress - Cohort Blueberry
01. about_asserts: TDD, minitest [TDD: Terrence][ minitest: adam ]
02. about_nil: nil in ruby (Matt Spell)
03. about_object: objects, to_s, object_id (Richmond)
04. about_arrays: slicing vs. access (MaRisa)
05. about_array_assignment (MaRisa)
06. about_hashes (Kelley)
07. about_strings (Carter)
08. about_symbols (Andrew) (D1 milestone)
09. about_regular_expressions (Courey)
10. about_methods (Wes)
class CreateLineItems < ActiveRecord::Migration
def change
create_table :line_items do |t|
t.references :order
t.references :product
t.integer :quantity
t.boolean :delivered
end
end
end
@elizabrock
elizabrock / Ruby Gem Lightning Talks.md
Last active August 29, 2015 14:06
Ruby Gem Lightning Talks

** Will - I spy with my little eye (via. Instagram)

  • Andrew - LoL character simulator
  • Matt O. - TeeTime - Golf platonic matchmaking
  • Carter - Personal Lending Library
  • Richmond - JSFiddle Clone
  • Seth - Video LMS
  • Amber - Recipe Tracker
  • MaRisa - Concert Managment ** Chad - Foursquare of Baseball
  • Adam - Boss Stalker
require 'spec_helper'
describe '/api/v2/favorites', :api do
let!(:facility) { FactoryGirl.create(:facility) }
let!(:user) { FactoryGirl.create(:user, facility: facility) }
let!(:user2) { FactoryGirl.create(:user, facility: facility) }
let!(:other_user) { FactoryGirl.create(:user, facility: facility) }
before(:each) { user.reset_authentication_token! }
describe 'POST' do
@elizabrock
elizabrock / .inputrc
Created October 23, 2014 18:41
My .inputrc
# this makes the "delete" key work rather than
# just entering a ~
"\e[3~": delete-char
# these allow you to use ctrl+left/right arrow keys
# to jump the cursor over words
"\e[5C": forward-word
"\e[5D": backward-word
@elizabrock
elizabrock / battleship_requirements.md
Last active August 29, 2015 14:10
Battleship Requirements

Battleship

Basic Gameplay

  1. Two players begin the game
  2. Prepare for Battle
    • There's a 10 x 10 ocean grid for each player's ships
    • Each player secretly places their ships on their grid
  • The ships are: 1 5sq aircraft carrier, 1 4sq battleship, 1 3sq submarine, 1 3sq destroyer and 1 2sq patrol boat
@elizabrock
elizabrock / instructions.md
Last active August 29, 2015 14:11
Part 1 Final Capstone

Final Capstone

This is the final capstone for this portion of the class.

This capstone is intended to demonstrate your mastery of basic git, project documentation (README, comments), writing unit tests, javascript, jQuery, basic-to-intermediate Angular, and basic API integrations.

Project Criteria:

  • Pick a project you're excited about!
  • Pick a project that demonstrates the major skills you've learned so far (see above)