Skip to content

Instantly share code, notes, and snippets.

View elizabrock's full-sized avatar

Eliza Brock Marcum elizabrock

View GitHub Profile

** 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)
@elizabrock
elizabrock / Program.cs
Created March 12, 2015 16:51
FizzBuzz in C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FizzBuzz
{
class Program
{
@elizabrock
elizabrock / fizzbuzz.html
Created March 12, 2015 17:08
FizzBuzz in Javascript
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
<script type="text/javascript">
var fizzbuzz = function (i) {
output = "";
if (i % 3 === 0) {
@elizabrock
elizabrock / cheers.rb
Last active August 29, 2015 14:18
Cheers Iterations (Cohort 8)
puts "Hello, What's your name?"
name = gets.chomp.upcase
# Loop through each letter in their name and grammar it.
for letter in name.split("") do
if letter == "A" or letter == "E" or letter == "F" or letter == "H" or letter == "I" or letter == "L" or letter == "M" or letter == "N" or letter == "O" or letter == "R" or letter == "S" or letter == "X"
article = "an"
else
article = "a"
end
puts "Give me "+ article + "... " + letter + "!"

cal 02 2012 | pbcopy

@elizabrock
elizabrock / may_1st
Last active August 29, 2015 14:20
Cal Grading Script Output
~/Projects/cal-grader[master !*]$ ./grade_cal.rb
Kyle McCormick
[✓] Updating student_code/kyle_mccormick
Luke Lancaster
[✓] Updating student_code/luke_lancaster
Austin Erlandson
[✓] Updating student_code/austin_erlandson
Ed Dean
[✓] Updating student_code/ed_dean
Andy Meagher