Skip to content

Instantly share code, notes, and snippets.

View amarcher's full-sized avatar

Andrew Archer amarcher

  • Airbnb
  • San Diego, CA
View GitHub Profile
@amarcher
amarcher / server.rb
Created March 27, 2015 01:27
HTTP Server
require 'socket'
server = TCPServer.new(2000)
# loop do
# client = server.accept
# client.puts "Hi"
# client.close
# end