Skip to content

Instantly share code, notes, and snippets.

August King gusk

  • ThoughtWorks
  • Denver, CO
Block or report user

Report or block gusk

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 refactored http-parase
class HttpParser
def initialize(response)
@response = response
end
def headers
bar = {}
rar = {}
array = @response.lines
View dogs
class Dogs
POOR = (0..5).to_a.sample
AVERAGE = (6..10).to_a.sample
EXCELLENT = (11..15).to_a.sample
def initialize
joe = {
:name => {:first => "Joe", :last => "Smith"},
:owner_quality => EXCELLENT
}
You can’t perform that action at this time.