Skip to content

Instantly share code, notes, and snippets.

View bootcoder's full-sized avatar

Hunter Chapman bootcoder

View GitHub Profile
@bootcoder
bootcoder / guessing_game.rb
Created April 21, 2016 22:33
guess_game_clean
class GuessingGame
attr_accessor :congrats_message
attr_reader :remaining_guesses
def initialize(target_number, remaining_guesses)
@congrats_message = 'Yay, you won!'
@target_number = target_number
@remaining_guesses = remaining_guesses
@bootcoder
bootcoder / pig_latin.rb
Created April 13, 2016 04:15
Ruby solution for pig latin demonstrating iteratation and regular expressions.
def regex_solution(word)
match = word.match(/[aeiou]/)
return word unless match
pre = match.pre_match
post = match.post_match
return match.to_s + post + pre + "ay"
end
def regex_grouping_solution(word)
result = word.split(" ").map do |input_word|
@bootcoder
bootcoder / phase8.md
Created April 12, 2016 21:18
phase-infinity

Phase 4 Proposal

I love what we are doing (At least I think we're doing anyway) with Phase 4.

My suggestion is an expansion of this before we even start.

Key points

  • Lots of bootcamps have some sort of a guarantee. We're not guaranteeing you a job. That goes way against our creed here.
  • We guarantee Students they will have a place with structure within our campus from graduation day till the first day of employment. But really the guarantee is that we will keep them accountable and not let them off track during their job search.
@bootcoder
bootcoder / list.txt
Created April 10, 2016 06:48
hachathon-submissions
Anish - Personal Smart Doorman - https://github.com/asinghani/DoorOpen -- [email protected]
Peter - SurPlus - https://github.com/Peterrkang/Sirplus -- [email protected]
Lucas - Portal - https://github.com/smartfuse/portal/commits/master -- [email protected]
Afaan - QuickPool - https://github.com/chdmark/QuickPool -- [email protected]
Clayton - Farmers Market Finder - https://github.com/khamla719/FarmersMarketHack -- [email protected]
Emmet - I can Cook - https://github.com/esusslin/DBC-Hackathon-2016 -- [email protected]
Bridgette - FoundIT - https://github.com/BrigitteKozena/LostAndFound -- [email protected]
Andrew - VoluenTinder - https://github.com/Aaron1515/HelpMyCommunity -- [email protected]
James Boyd - Route To Aid - https://github.com/bopes/april16-hackathon -- [email protected]
James - PoPo's - https://github
@bootcoder
bootcoder / list.txt
Created April 10, 2016 04:38
hackathon_submission
Anish - Personal Smart Doorman - https://github.com/asinghani/DoorOpen
Peter - SurPlus - https://github.com/Peterrkang/Sirplus
Lucas - Portal - https://github.com/smartfuse/portal/commits/master
Afaan - QuickPool - https://github.com/chdmark/QuickPool
Clayton - Farmers Market Finder - https://github.com/khamla719/FarmersMarketHack
Emmet - I can Cook - https://github.com/esusslin/DBC-Hackathon-2016
Bridgette - FoundIT - https://github.com/BrigitteKozena/LostAndFound
Andrew - VoluenTinder - https://github.com/Aaron1515/HelpMyCommunity
James Boyd - Route To Aid - https://github.com/bopes/april16-hackathon
James - PoPo's - https://github.com/ashbymichael/popos
@bootcoder
bootcoder / list.txt
Created April 10, 2016 04:37
april_hackathon_submission_list
Anish - Personal Smart Doorman - https://github.com/asinghani/DoorOpen
Peter - SurPlus - https://github.com/Peterrkang/Sirplus
Lucas - Portal - https://github.com/smartfuse/portal/commits/master
Afaan - QuickPool - https://github.com/chdmark/QuickPool
Clayton - Farmers Market Finder - https://github.com/khamla719/FarmersMarketHack
Emmet - I can Cook - https://github.com/esusslin/DBC-Hackathon-2016
Bridgette - FoundIT - https://github.com/BrigitteKozena/LostAndFound
Andrew - VoluenTinder - https://github.com/Aaron1515/HelpMyCommunity
James Boyd - Route To Aid - https://github.com/bopes/april16-hackathon
James - PoPo's -
@bootcoder
bootcoder / hospital.rb
Created April 6, 2016 00:35
hosital_challenge
class Hospital
attr_accessor :name, :address, :employees, :patients
def initialize(args)
@name = args[:name]
@address = args[:address]
@employees = args[:employees] || []
@patients = args[:patients] || []
end
@bootcoder
bootcoder / snippet.md
Created March 31, 2016 17:33
fiddler_projects

Fiddler Crabs Final Projects 2016

Breadcrumbs: (Seba)

  • James
  • Jeff
  • David
  • Kyle

FirstAid: (Hunter)

  • Todd
@bootcoder
bootcoder / snippet.txt
Created March 31, 2016 17:28
fiddler_projects
Breadcrumbs: James, Jeff, David, Kyle
FirstAid: Todd, Brigitte, Matt, Cody, Jeremy
Rituals: Khamla, Don, Amaar, Aaron
Treat Card: Chris W, Coline, Sanderfer, Baron, Chris S.
@bootcoder
bootcoder / multi_json.rb
Created March 17, 2016 20:05
Return multiple sets within json
require 'sinatra/json'
get "/posts" do
@posts = Post.order("created_at DESC")
erb :'posts/index'
end
post "/posts" do
p params
@post = Post.new(params[:post])