Skip to content

Instantly share code, notes, and snippets.

Eliza Brock Marcum elizabrock

Block or report user

Report or block elizabrock

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 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 Feb 5, 2016
Loading a single problem for testing in KBAI
View test_agent.py
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")
View Final Projects.md

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
Courseware Of The Future routes.rb
View rake routes
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
View Cohort 8 Projects
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 Aug 29, 2015
Cal Grading Script Output
View may_1st
~/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
@elizabrock
elizabrock / cheers.rb
Last active Aug 29, 2015
Cheers Iterations (Cohort 8)
View cheers.rb
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 Mar 12, 2015
FizzBuzz in Javascript
View fizzbuzz.html
<!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) {
View Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FizzBuzz
{
class Program
{
You can’t perform that action at this time.