<commit_before>var app = require('express')()
  , server = require('http').createServer(app)
  , io = require('socket.io').listen(server);

var port = process.env.PORT || 3006;
server.listen(port);

var CHARS = "0123456789ACFHNRUWXY".split("");

var SLOTS = {};
CHARS.forEach(function(c1) {
  CHARS.forEach(function(c2) {
    CHARS.forEach(function(c3) {
      CHARS.forEach(function(c4) {
        if (c1 == c2 || c1 == c3 || c1 == c4 || c2 == c3 || c2 == c4 || c3 == c4) {
          /* Don't allow slots which are doubles, such as "AA", so that nobody
             can accidentally press the same letter twice by accident */
          return;
        }
        SLOTS[c1+c2+c3+c4] = {allocated: false, timestamp: 0, sender: null, receiver: null};
      });
    });
  });
});

app.get('/', function (req, res) {
  res.sendfile(__dirname + '/index.html');
});
app.get('/megapix-image.js', function (req, res) {
  res.sendfile(__dirname + '/megapix-image.js');
});
<commit_msg>Print port number<commit_after>var app = require('express')()
  , server = require('http').createServer(app)
  , io = require('socket.io').listen(server);

var port = process.env.PORT || 3006;
server.listen(port);
console.log("Running on port", port);

var CHARS = "0123456789ACFHNRUWXY".split("");

var SLOTS = {};
CHARS.forEach(function(c1) {
  CHARS.forEach(function(c2) {
    CHARS.forEach(function(c3) {
      CHARS.forEach(function(c4) {
        if (c1 == c2 || c1 == c3 || c1 == c4 || c2 == c3 || c2 == c4 || c3 == c4) {
          /* Don't allow slots which are doubles, such as "AA", so that nobody
             can accidentally press the same letter twice by accident */
          return;
        }
        SLOTS[c1+c2+c3+c4] = {allocated: false, timestamp: 0, sender: null, receiver: null};
      });
    });
  });
});

app.get('/', function (req, res) {
  res.sendfile(__dirname + '/index.html');
});
app.get('/megapix-image.js', function (req, res) {
  res.sendfile(__dirname + '/megapix-image.js');
});

{'fraction_non_alphanumeric': 0.1884422110552764, 'fraction_numerical': 0.035175879396984924, 'mean_word_length': 3.1479166666666667, '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': '2377712', 'n_tokens_mistral': 738, 'n_tokens_neox': 697, 'n_words': 160}