Skip to content

Instantly share code, notes, and snippets.

@drnic
Created April 11, 2010 11:19
Show Gist options
  • Select an option

  • Save drnic/362660 to your computer and use it in GitHub Desktop.

Select an option

Save drnic/362660 to your computer and use it in GitHub Desktop.
sys: require('sys')
puts "Hello World"
sys: require('sys')
http: require('http')
http.createServer( (request, response) ->
response.sendHeader 200, {"Content-Type": "text/html"}
response.write "Hello World!"
response.close()
).listen(8080)
puts "Server running on http://localhost:8080/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment