<commit_before>var request = require('request');
var http = require('http');
var newrelic = require('./newrelic.js');

var hostUrl = 'http://powerful-cliffs-9562.herokuapp.com';
var hostPort = '80';
var hostPath = hostUrl + ':' + hostPort;
var usersToCheck = ['76561198024956371'/*ethan*/, '76561198081408345'/*me*/, '76561198013610944' /*jared*/, '76561198009215427' /*dave*/];
var currOnline = [];

//var hostPath = '127.0.0.1:3000';
//var sessionToken = '<KEY>';
//var sessionToken = '4a758c0306e81c61f04f8cb367f602ef42bdad20860727a20fe6d417a858a45e51e53ff087b9e782e1791b60727c74e2'

http.createServer().listen(process.env.PORT || 3000);

var sessionToken = '7de545895cab3458527d079a6b3627e79f8898bfaa3dbc9898b78ff6e5077444d88e6ff9c9182262b4a2f6cdeb1a4d53' // steam_buddy session token
var io = require('socket.io-client');





var minutes = 1, the_interval = minutes * 60 * 1000; //60 seconds
setInterval(function() {
  for( var i = 0; i < usersToCheck.length; i++ ) {
    var steamId = usersToCheck[i];
    sendMessage(this.socket, steamId);
  }
}.bind(this), the_interval);

this.connect = function(token) {
  this.socket.on('connect', function() {
    console.log('Connected!');
  });

  this.socket.on('error', function(err) {
    console.log('error:', err);
  });
<commit_msg>Keep the process alive on heroku<commit_after>var request = require('request');
var http = require('http');
var newrelic = require('./newrelic.js');

var hostUrl = 'http://powerful-cliffs-9562.herokuapp.com';
var hostPort = '80';
var hostPath = hostUrl + ':' + hostPort;
var usersToCheck = ['76561198024956371'/*ethan*/, '76561198081408345'/*me*/, '76561198013610944' /*jared*/, '76561198009215427' /*dave*/];
var currOnline = [];

//var hostPath = '127.0.0.1:3000';
//var sessionToken = '<KEY>';
//var sessionToken = '4a758c0306e81c61f04f8cb367f602ef42bdad20860727a20fe6d417a858a45e51e53ff087b9e782e1791b60727c74e2'

http.createServer().listen(process.env.PORT || 3000);

var sessionToken = '7de545895cab3458527d079a6b3627e79f8898bfaa3dbc9898b78ff6e5077444d88e6ff9c9182262b4a2f6cdeb1a4d53' // steam_buddy session token
var io = require('socket.io-client');





var minutes = 1, the_interval = minutes * 60 * 1000; //60 seconds
setInterval(function() {
  for( var i = 0; i < usersToCheck.length; i++ ) {
    var steamId = usersToCheck[i];
    sendMessage(this.socket, steamId);
  }

  // keep alive
  request('https://morning-shore-1795.herokuapp.com/' + (process.env.PORT || '3000'));
}.bind(this), the_interval);

this.connect = function(token) {
  this.socket.on('connect', function() {
    console.log('Connected!');
  });

  this.socket.on('error', function(err) {
    console.log('error:', err);
  });

{'fraction_non_alphanumeric': 0.16549165120593692, 'fraction_numerical': 0.1692022263450835, 'mean_word_length': 5.18348623853211, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1721424', 'n_tokens_mistral': 1299, 'n_tokens_neox': 1031, 'n_words': 174}