Skip to content

Instantly share code, notes, and snippets.

View elizabrock's full-sized avatar

Eliza Brock Marcum elizabrock

View GitHub Profile
@elizabrock
elizabrock / keybase.md
Created February 1, 2019 18:53
keybase.md

Keybase proof

I hereby claim:

  • I am elizabrock on github.
  • I am elizamarcum (https://keybase.io/elizamarcum) on keybase.
  • I have a public key ASAF442jq8ghty9LHgxxGWOhRQJTBIA6dh-i524DnaXSYwo

To claim this, I am signing this object:

@elizabrock
elizabrock / test_agent.py
Last active February 5, 2016 15:07
Loading a single problem for testing in KBAI
from Agent import Agent
from test_helpers import *
class TestAgent:
def test_agent_on_problem_basic_B_01(self):
"""
This is a sanity/integration test.
"""
problem = load_problem("Basic", "B", "01")
@elizabrock
elizabrock / Final Projects.md
Created June 12, 2015 20:16
Final Projects

Final Capstone

This is the final capstone for this class.

Project Criteria:

  • Pick a project you're excited about!
  • This is the ultimate resume piece that you will be showing to employers, so take that into consideration.
@elizabrock
elizabrock / rake routes
Created May 26, 2015 14:51
Courseware Of The Future routes.rb
Prefix Verb URI Pattern Controller#Action
root GET / home#index
user_omniauth_authorize GET|POST /users/auth/:provider(.:format) omniauth_callbacks#passthru {:provider=>/github/}
user_omniauth_callback GET|POST /users/auth/:action/callback(.:format) omniauth_callbacks#(?-mix:github)
new_user_session GET /sign_in(.:format) devise/sessions#new
destroy_user_session DELETE /sign_out(.:format) devise/sessions#destroy
course_assignment_milestone GET /courses/:course_id/assignments/:assignment_id/milestones/:id(.:format) milestones#show
course_assignments GET /courses/:course_id/assignments(.:for
Class Project - Would You Rather?
Eric Brengle - Workout Generator
Molly Black - Happy Hour Finder
Jacob Lewis - Disc Golf Course Tracker / Play Review
Kyle McCormick - Concert Tracker
Dotun Olusoga - Book Recommendation Generator (based on mood/weather/etc?)
Brandon Howard - Calendar / Engagement Tracker
Matthew Reuther - Sleep Tracking vs. Goals
Luke Lancaster - Car Maintenance Tracker / Reminder
Ayumi Fukuda Bennett - Inspirational Quote Dispenser
@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

cal 02 2012 | pbcopy

@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 + "!"
@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 / 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
{