<commit_before>// ==UserScript==
// @name         Stack Overflow Extras (SOX)
// @namespace    https://github.com/soscripted/sox
// @version      DEV
// @description  Adds a bunch of optional features to sites in the Stack Overflow Network.
// @contributor  ᴉʞuǝ (stackoverflow.com/users/1454538/)
// @contributor  ᔕᖺᘎᕊ (stackexchange.com/users/4337810/)
// @updateURL    https://rawgit.com/soscripted/sox/master/sox.user.js
// @match        *://*.stackoverflow.com/*
// @match        *://*.stackexchange.com/*
// @match        *://*.superuser.com/*
// @match        *://*.serverfault.com/*
// @match        *://*.askubuntu.com/*
// @match        *://*.stackapps.com/*
// @match        *://*.mathoverflow.net/*
// @require      https://code.jquery.com/jquery-2.1.4.min.js
// @require      https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js
// @require      https://cdn.rawgit.com/timdown/rangyinputs/master/rangyinputs-jquery-src.js
// @require      https://cdn.rawgit.com/jeresig/jquery.hotkeys/master/jquery.hotkeys.js
// @require      https://cdn.rawgit.com/camagu/jquery-feeds/master/jquery.feeds.js
// @require      https://rawgit.com/soscripted/sox/dev/sox.helpers.js?v=02092016a
// @require      https://rawgit.com/soscripted/sox/devr/sox.features.js?v=02092016a
// @resource     settingsDialog https://rawgit.com/soscripted/sox/dev/sox-dialog.html
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_deleteValue
// @grant        GM_getResourceText
// ==/UserScript==
/*jshint multistr: true */
(function(sox, $, undefined) {
    const SOX = "Stack Overflow Extras";
    const SOX_SETTINGS = "SOXSETTINGS";

    var $settingsDialog = $(GM_getResourceText("settingsDialog")),
        $soxSettingsDialog,
        $soxSettingsDialogFeatures,
        $soxSettingsSave,
        $soxSettingsReset,
        $soxSettingsClose;

    sox.init = function() {

        // add sox CSS file and font-awesome CSS file
        $("head").append("<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'>")
                 .append("<link rel='stylesheet' type='text/css' href='https://rawgit.com/soscripted/sox/dev/sox.css' />");
        $("body").append($settingsDialog);

        $soxSettingsDialog = $("#sox-settings-dialog");
        $soxSettingsDialogFeatures = $soxSettingsDialog.find("#sox-settings-dialog-features");
        $soxSettingsSave = $soxSettingsDialog.find("#sox-settings-dialog-save");
        $soxSettingsReset = $soxSettingsDialog.find("#sox-settings-dialog-reset");
        $soxSettingsClose = $soxSettingsDialog.find("#sox-settings-dialog-close");<commit_msg>fix typo for dev url<commit_after>// ==UserScript==
// @name         Stack Overflow Extras (SOX)
// @namespace    https://github.com/soscripted/sox
// @version      DEV 1.0.1
// @description  Adds a bunch of optional features to sites in the Stack Overflow Network.
// @contributor  ᴉʞuǝ (stackoverflow.com/users/1454538/)
// @contributor  ᔕᖺᘎᕊ (stackexchange.com/users/4337810/)
// @updateURL    https://rawgit.com/soscripted/sox/master/sox.user.js
// @match        *://*.stackoverflow.com/*
// @match        *://*.stackexchange.com/*
// @match        *://*.superuser.com/*
// @match        *://*.serverfault.com/*
// @match        *://*.askubuntu.com/*
// @match        *://*.stackapps.com/*
// @match        *://*.mathoverflow.net/*
// @require      https://code.jquery.com/jquery-2.1.4.min.js
// @require      https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js
// @require      https://cdn.rawgit.com/timdown/rangyinputs/master/rangyinputs-jquery-src.js
// @require      https://cdn.rawgit.com/jeresig/jquery.hotkeys/master/jquery.hotkeys.js
// @require      https://cdn.rawgit.com/camagu/jquery-feeds/master/jquery.feeds.js
// @require      https://rawgit.com/soscripted/sox/dev/sox.helpers.js?v=02092016a
// @require      https://rawgit.com/soscripted/sox/dev/sox.features.js?v=02092016a
// @resource     settingsDialog https://rawgit.com/soscripted/sox/dev/sox-dialog.html
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_deleteValue
// @grant        GM_getResourceText
// ==/UserScript==
/*jshint multistr: true */
(function(sox, $, undefined) {
    const SOX = "Stack Overflow Extras";
    const SOX_SETTINGS = "SOXSETTINGS";

    var $settingsDialog = $(GM_getResourceText("settingsDialog")),
        $soxSettingsDialog,
        $soxSettingsDialogFeatures,
        $soxSettingsSave,
        $soxSettingsReset,
        $soxSettingsClose;

    sox.init = function() {

        // add sox CSS file and font-awesome CSS file
        $("head").append("<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'>")
                 .append("<link rel='stylesheet' type='text/css' href='https://rawgit.com/soscripted/sox/dev/sox.css' />");
        $("body").append($settingsDialog);

        $soxSettingsDialog = $("#sox-settings-dialog");
        $soxSettingsDialogFeatures = $soxSettingsDialog.find("#sox-settings-dialog-features");
        $soxSettingsSave = $soxSettingsDialog.find("#sox-settings-dialog-save");
        $soxSettingsReset = $soxSettingsDialog.find("#sox-settings-dialog-reset");
        $soxSettingsClose = $soxSettingsDialog.find("#sox-settings-dialog-close");
{'fraction_non_alphanumeric': 0.1744664919505803, 'fraction_numerical': 0.014788468738300262, 'mean_word_length': 2.843884892086331, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 24, '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': '3890741', 'n_tokens_mistral': 1883, 'n_tokens_neox': 1811, 'n_words': 248}