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

var express = require('express')
  , routes = require('./routes/index')
  , http = require('http')
  , path = require('path')
  , mongoose = require('mongoose')
  , bodyParser = require('body-parser')
  , session = require('cookie-session')
  , passport = require('passport')
  , facebookAuthService = require('./services/facebookAuthService.js')
  , docs = require("express-mongoose-docs");

// dev: mongodb://Admin:<EMAIL>:10075/WhereIsIt
// prod (mta cluster): localhost:27017/WhereIsIt
mongoose.connect('mongodb://Admin:<EMAIL>:10075/WhereIsIt', function(err, res) {
  if(err) {
    console.log('error connecting to MongoDB Database. ' + err);
  } else {
    console.log('Connected to Database ' + res);
  }
});

var app = express();

// all environment
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/public/views');<commit_msg>typeahead<commit_after>/**
 * Module dependencies.
 */

var express = require('express')
  , routes = require('./routes/index')
  , http = require('http')
  , path = require('path')
  , mongoose = require('mongoose')
  , bodyParser = require('body-parser')
  , session = require('cookie-session')
  , passport = require('passport')
  , facebookAuthService = require('./services/facebookAuthService.js')
  , docs = require("express-mongoose-docs");

// dev: mongodb://Admin:<EMAIL>:10075/WhereIsIt
//      mongodb://Admin1:<EMAIL>:10085/app28304691
// prod (mta cluster): localhost:27017/WhereIsIt
mongoose.connect('mongodb://Admin1:<EMAIL>:10085/app28304691', function(err, res) {
  if(err) {
    console.log('error connecting to MongoDB Database. ' + err);
  } else {
    console.log('Connected to Database ' + res);
  }
});

var app = express();

// all environment
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/public/views');
{'fraction_non_alphanumeric': 0.18669527896995708, 'fraction_numerical': 0.03272532188841202, 'mean_word_length': 4.3746397694524495, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '3443543', 'n_tokens_mistral': 647, 'n_tokens_neox': 601, 'n_words': 112}