This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 27th, 2012  |  syntax: None  |  size: 0.26 KB  |  views: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. var server = require('http'),
  3.     fugue  = require('fugue');
  4.  
  5. fugue.start(
  6.         server.createServer(function (req, res) {
  7.           res.writeHead(200, {'Content-Type': 'text/plain'});
  8.           res.end('Hello World\n');
  9.         })
  10.         , 3000, null, 10, {
  11.         verbose: true,
  12.         daemonize: true
  13. });
clone this paste RAW Paste Data