<commit_before>var express = require('express');
var passport = require('passport');
var TwitterStrategy = require('passport-twitter').Strategy;
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var methodOverride  = require("method-override");
var session = require('express-session')

var app = express();

app.set('port', process.env.PORT || 3000);
app.use(express.static(__dirname + '/public'));
app.set('view engine', 'hbs');
app.engine('html', require('hbs').__express);
app.use(favicon(__dirname + '/public/images/favicon.ico'));
app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded());
app.use(cookieParser());
app.use(methodOverride());

/*
	We need to initialize our session using the properties 'resave' and 'saveUninitialized' 
	otherwise we will get deprecation warnings
*/
app.use(session({
	secret: 'javascript is awesome',
	resave: false,
	saveUninitialized: true
}))


var TWITTER_CONSUMER_KEY = "OxM33kKQD7K1qWPRThd2qdvCT";
var TWITTER_CONSUMER_SECRET = "<KEY>";<commit_msg>marked where the twitter key and secret need to go<commit_after>var express = require('express');
var passport = require('passport');
var TwitterStrategy = require('passport-twitter').Strategy;
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var methodOverride  = require("method-override");
var session = require('express-session')

var app = express();

app.set('port', process.env.PORT || 3000);
app.use(express.static(__dirname + '/public'));
app.set('view engine', 'hbs');
app.engine('html', require('hbs').__express);
app.use(favicon(__dirname + '/public/images/favicon.ico'));
app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded());
app.use(cookieParser());
app.use(methodOverride());

/*
	We need to initialize our session using the properties 'resave' and 'saveUninitialized' 
	otherwise we will get deprecation warnings
*/
app.use(session({
	secret: 'javascript is awesome',
	resave: false,
	saveUninitialized: true
}))


var TWITTER_CONSUMER_KEY = "--CONSUMER--KEY--HERE--";
var TWITTER_CONSUMER_SECRET = "--CONSUMER--SECRET--HERE--";
{'fraction_non_alphanumeric': 0.1694036300777874, 'fraction_numerical': 0.0056179775280898875, 'mean_word_length': 6.565359477124183, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '6352656', 'n_tokens_mistral': 748, 'n_tokens_neox': 715, 'n_words': 168}