<commit_before>'use strict'

const appConfig = require('application-config')('TUMDMDesktop')
const fs = require('fs')
const path = require('path')

const appPackage = require('./package.json')
const APP_NAME = appPackage.productName
const APP_TEAM = appPackage.author.name
const APP_VERSION = appPackage.version
const APP_HOMEPAGE = appPackage.homepage
const IS_DEVELOPMENT = process.env.NODE_ENV === 'development'

module.exports = {
    APP_COPYRIGHT: 'Copyright © 2016 ' + APP_NAME,
    APP_NAME: APP_NAME,
    APP_TEAM: APP_TEAM,
    APP_VERSION: APP_VERSION,
    APP_HOMEPAGE: APP_HOMEPAGE,
    AUTO_UPDATE_WIN_BASE_URL: 'https://s3.eu-central-1.amazonaws.com/demand-manager-resources/updates/latest/win',
    AUTO_UPDATE_LINUX_BASE_URL: 'http://172.16.17.32/update_server/updates/latest/linux',
    AUTO_UPDATE_OSX_BASE_URL: 'http://18192.168.3.113/update_server/updates/latest/osx',
    AUTO_UPDATE_CHECK_INTERVAL: 43200000,

    CRASH_REPORT_URL: 'http://172.16.17.32/crash_report/post',

    CONFIG_PATH: getConfigPath(),

    GITHUB_URL: 'https://github.com/epezhman/demand-manager-app',
    GITHUB_URL_ISSUES: 'https://github.com/epezhman/demand-manager-app/issues',

    ROOT_PATH: __dirname,
    BASE_ASSETS_IMG: path.resolve(__dirname, 'assets', 'img') + '/',
    APP_ICON: path.join(__dirname, 'assets', 'img', 'icon.png'),
    APP_ICON_MENU: path.join(__dirname, 'assets', 'img', 'icon-menu.png'),

    WINDOW_PREFERENCES: 'file://' + path.join(__dirname, 'renderer', 'preferences.html'),
    WINDOW_STATUS: 'file://' + path.join(__dirname, 'renderer', 'status.html'),
    WINDOW_ABOUT: 'file://' + path.join(__dirname, 'renderer', 'about.html'),
    WINDOW_NOTIFY: 'file://' + path.join(__dirname, 'renderer', 'lib', 'notify.html'),
    WINDOW_GEOLOCATION: 'file://' + path.join(__dirname, 'renderer', 'lib', 'geolocation.html'),

    APP_WINDOW_TITLE: APP_NAME,
    WINDOW_MIN_HEIGHT: 400,
    WINDOW_MIN_WIDTH: 800,

    FIREBASE_DATABASE_URL: 'https://tum-dm-fireb.firebaseio.com',
    FIREBASE_API_KEY: '<KEY>',
    IS_DEVELOPMENT: IS_DEVELOPMENT,
    DELAY_START_TIME: 3000,
    MONITOR_GEOLOCATION_INTERVAL: 60000 * 60,

    FREEGEOIP_URL: 'http://188.166.160.83/freegeoip/json/',
    GOOGLE_GEOLOCATION: 'https://maps.googleapis.com/maps/api/browserlocation/json?browser=chromium&sensor=true'

}

function getConfigPath() {
    return path.dirname(appConfig.filePath)
}<commit_msg>Test 2<commit_after>'use strict'

const appConfig = require('application-config')('TUMDMDesktop')
const fs = require('fs')
const path = require('path')

const appPackage = require('./package.json')
const APP_NAME = appPackage.productName
const APP_TEAM = appPackage.author.name
const APP_VERSION = appPackage.version
const APP_HOMEPAGE = appPackage.homepage
const IS_DEVELOPMENT = process.env.NODE_ENV === 'development'

module.exports = {
    APP_COPYRIGHT: 'Copyright © 2016 ' + APP_NAME,
    APP_NAME: APP_NAME,
    APP_TEAM: APP_TEAM,
    APP_VERSION: APP_VERSION,
    APP_HOMEPAGE: APP_HOMEPAGE,
    AUTO_UPDATE_WIN_BASE_URL: 'https://s3.eu-central-1.amazonaws.com/demand-manager-resources/updates/latest/win',
    AUTO_UPDATE_LINUX_BASE_URL: 'http://172.16.17.32/update_server/updates/latest/linux',
    AUTO_UPDATE_OSX_BASE_URL: 'http://172.16.17.32/update_server/updates/latest/osx',
    AUTO_UPDATE_CHECK_INTERVAL: 43200000,

    CRASH_REPORT_URL: 'http://172.16.17.32/crash_report/post',

    CONFIG_PATH: getConfigPath(),

    GITHUB_URL: 'https://github.com/epezhman/demand-manager-app',
    GITHUB_URL_ISSUES: 'https://github.com/epezhman/demand-manager-app/issues',

    ROOT_PATH: __dirname,
    BASE_ASSETS_IMG: path.resolve(__dirname, 'assets', 'img') + '/',
    APP_ICON: path.join(__dirname, 'assets', 'img', 'icon.png'),
    APP_ICON_MENU: path.join(__dirname, 'assets', 'img', 'icon-menu.png'),

    WINDOW_PREFERENCES: 'file://' + path.join(__dirname, 'renderer', 'preferences.html'),
    WINDOW_STATUS: 'file://' + path.join(__dirname, 'renderer', 'status.html'),
    WINDOW_ABOUT: 'file://' + path.join(__dirname, 'renderer', 'about.html'),
    WINDOW_NOTIFY: 'file://' + path.join(__dirname, 'renderer', 'lib', 'notify.html'),
    WINDOW_GEOLOCATION: 'file://' + path.join(__dirname, 'renderer', 'lib', 'geolocation.html'),

    APP_WINDOW_TITLE: APP_NAME,
    WINDOW_MIN_HEIGHT: 400,
    WINDOW_MIN_WIDTH: 800,

    FIREBASE_DATABASE_URL: 'https://tum-dm-fireb.firebaseio.com',
    FIREBASE_API_KEY: '<KEY>',
    IS_DEVELOPMENT: IS_DEVELOPMENT,
    DELAY_START_TIME: 3000,
    MONITOR_GEOLOCATION_INTERVAL: 60000 * 60,

    FREEGEOIP_URL: 'http://172.16.17.32/freegeoip/json/',
    GOOGLE_GEOLOCATION: 'https://maps.googleapis.com/maps/api/browserlocation/json?browser=chromium&sensor=true'

}

function getConfigPath() {
    return path.dirname(appConfig.filePath)
}

{'fraction_non_alphanumeric': 0.15336528443425715, 'fraction_numerical': 0.029172744321733696, 'mean_word_length': 4.790108564535585, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, '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': '3162862', 'n_tokens_mistral': 1939, 'n_tokens_neox': 1758, 'n_words': 257}