<commit_before>// PiMonitor.js

var http 	= require("http"),
	https 	= require("https")
    url 	= require("url"),
    path 	= require("path"),
    fs 		= require("fs"),
	os 		= require("os"),
	colors	= require("colors"),
	optimist= require("optimist").argv,
    port 	= 3141,
	https 	= false;

if(os.type() != "Linux")
{
	console.error("You are not running Linux. Exiting ... \n".red)
	process.exit(0);
}

if(optimist.help || optimist.h)
{
	console.log("\n--------------------------- HELP -----------------------------".red + "\n                   " + "--- PiDashboard.js ---\n".green.bold.underline + "A Monitoring server for Raspberry Pi and other Linux computers." + "\nUsage: \n".bold )
	process.exit(0)
}

if(optimist.cert || optimist.key)
{
	https = true;
	
	var cert = "",
		key = "";
<commit_msg>Port choice update<commit_after>// PiMonitor.js

var http 	= require("http"),
	https 	= require("https")
    url 	= require("url"),
    path 	= require("path"),
    fs 		= require("fs"),
	os 		= require("os"),
	colors	= require("colors"),
	optimist= require("optimist").argv,
    port 	= optimist.p || 3141,
	https 	= false;

if(os.type() != "Linux")
{
	console.error("You are not running Linux. Exiting ... \n".red)
	process.exit(0);
}

if(optimist.help || optimist.h)
{
	console.log("\n--------------------------- HELP -----------------------------".red + "\n                   " + "--- PiDashboard.js ---\n".green.bold.underline + "A Monitoring server for Raspberry Pi and other Linux computers." + "\nUsage: \n".bold )
	process.exit(0)
}

if(optimist.cert || optimist.key)
{
	https = true;
	
	var cert = "",
		key = "";

{'fraction_non_alphanumeric': 0.2523020257826888, 'fraction_numerical': 0.007366482504604052, 'mean_word_length': 2.26, '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': '2794338', 'n_tokens_mistral': 584, 'n_tokens_neox': 559, 'n_words': 125}