Skip to content

Instantly share code, notes, and snippets.

View taka011239's full-sized avatar

takafumi tsuchida taka011239

View GitHub Profile
@taka011239
taka011239 / hello.js
Created November 24, 2012 11:22 — forked from shigeki/hello.js
第1回Node.js入門勉強会 レポート課題
var http = require('http');
server = http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
server.close();
});
server.listen(8080, 0, function () {
console.log('Server running at http://localhost:8080/');
});