<commit_before>var handlebars = require('express-handlebars')
var express = require('express')
//var three = require('three')
//var dThree = require('d3')
var path = require('path')
var app = express()

//app.engine('handlebars', handlebars({defaultLayout: 'main'}))
//app.set('view engine', 'handlebars')
app.use(express.static(__dirname + '/static'));
app.set('port', (process.env.PORT || 5000))

app.get('/', function(req, res){
  //res.render('home')
  res.sendFile(__dirname +'/index.html')
})

var template = 'Node app is running at localhost: {port~number}'
var txt = template.replace('{port~number}', app.get('port'))

app.listen(app.get('port'), function(){
  console.log(txt)
})<commit_msg>got rid of that crappy code<commit_after>var handlebars = require('express-handlebars')
var express = require('express')
var path = require('path')
var app = express()

app.use(express.static(__dirname + '/static'));
app.set('port', (process.env.PORT || 5000))

app.get('/', function(req, res){
  res.sendFile(__dirname +'/index.html')
})

var template = 'Node app is running at localhost: {port~number}'
var txt = template.replace('{port~number}', app.get('port'))

app.listen(app.get('port'), function(){
  console.log(txt)
})
{'fraction_non_alphanumeric': 0.20521172638436483, 'fraction_numerical': 0.007328990228013029, 'mean_word_length': 5.8277777777777775, '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': '3237132', 'n_tokens_mistral': 404, 'n_tokens_neox': 393, 'n_words': 94}