<commit_before>
/**
 * Module dependencies.
 */

var express = require('express')
  , app = express(app)
  , server = require('http').createServer(app)
  , io = require('engine.io').attach(server);

app.use(express.static('public'));
app.get('/', function(req, res, next){
  res.sendfile('index.html');
});

io.on('connection', function(socket){
  socket.on('message', function(v){
    socket.send('pong');
  });
});

server.listen(3000, function(){
  console.log('\033[96mlistening on localhost:3000 \033[39m');
});<commit_msg>index: introduce `process.env.PORT` support<commit_after>
/**
 * Module dependencies.
 */

var express = require('express')
  , app = express(app)
  , server = require('http').createServer(app)
  , io = require('engine.io').attach(server);

app.use(express.static('public'));
app.get('/', function(req, res, next){
  res.sendfile('index.html');
});

io.on('connection', function(socket){
  socket.on('message', function(v){
    socket.send('pong');
  });
});

server.listen(process.env.PORT || 3000, function(){
  console.log('\033[96mlistening on localhost:3000 \033[39m');
});
{'fraction_non_alphanumeric': 0.2197106690777577, 'fraction_numerical': 0.0325497287522604, 'mean_word_length': 5.15, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1327640', 'n_tokens_mistral': 394, 'n_tokens_neox': 368, 'n_words': 62}