Skip to content

Instantly share code, notes, and snippets.

var async = require('asyncawait/async');
var await = require('asyncawait/await');
var fs = require('fs-promise');
var CronJob = require('cron').CronJob;
var request = require('request');
var urlParser = require("./urlParse.js").CreateUrlParser();
var Redditor = require("mongoose").model("redditor");
var CONFIG = require('../../config/config.js').reddit
2019-02-18 20:01:21 [WARNING] Bugsnag disabled. Makes requests raise several exceptions. Need to check what is wrong (cnchi.py:340)
2019-02-18 20:01:21 [DEBUG ] All repositories are present in pacman.conf file (cnchi.py:266)
2019-02-18 20:01:21 [INFO ] Using GTK v3.24.4 (cnchi.py:375)
2019-02-18 20:01:21 [INFO ] Using pyalpm v0.8.5 as interface to libalpm v11.0.2 (cnchi.py:387)
2019-02-18 20:01:21 [DEBUG ] Running from ISO version 19.2 (cnchi.py:411)
2019-02-18 20:01:21 [DEBUG ] Running set on gsettings: runuser -l antergos -c dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing (cnchi.py:579)
2019-02-18 20:01:21 [DEBUG ] Running set on gsettings: runuser -l antergos -c dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type nothing (cnchi.py:579)
2019-02-18 20:01:21 [DEBUG ] File /var/tmp/cnchi/.setup-running already exists. (cnchi.py:152)
2019-02-18 20:01:21 [INFO ] Cnchi installer version 0.16.21 (main_w
2019-02-18 20:01:21 [WARNING] Bugsnag disabled. Makes requests raise several exceptions. Need to check what is wrong (cnchi.py:340)
2019-02-18 20:01:21 [DEBUG ] All repositories are present in pacman.conf file (cnchi.py:266)
2019-02-18 20:01:21 [INFO ] Using GTK v3.24.4 (cnchi.py:375)
2019-02-18 20:01:21 [INFO ] Using pyalpm v0.8.5 as interface to libalpm v11.0.2 (cnchi.py:387)
2019-02-18 20:01:21 [DEBUG ] Running from ISO version 19.2 (cnchi.py:411)
2019-02-18 20:01:21 [DEBUG ] Running set on gsettings: runuser -l antergos -c dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing (cnchi.py:579)
2019-02-18 20:01:21 [DEBUG ] Running set on gsettings: runuser -l antergos -c dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type nothing (cnchi.py:579)
2019-02-18 20:01:21 [DEBUG ] File /var/tmp/cnchi/.setup-running already exists. (cnchi.py:152)
2019-02-18 20:01:21 [INFO ] Cnchi installer version 0.16.21 (main_w
function trilaterate(p1, p2, p3, return_middle)
{
function sqr(a)
{
return a * a;
}
function norm(a)
{