<commit_before>$(document).ready(function(){
    $('.box-url').click(function() {
        var boxName = $(this).attr('rel');

        $('#box-name').val(boxName);
    });

    $('.subnav a').smoothScroll({offset: -80});

    affixSubnav();
    changeActiveLink();

    $('.tags').select2({
        tags: [],
        tokenSeparators: [',']
    });

    $('.selectTags').select2();

    updateInputFromSelect('#php-inilist-add', '#php-inilist-name', '#php-inilist-value', '#php-inilist-custom');

    $('#apache-vhost-add').click(function(){
        var vhostContainer = $('#apache-vhost-count');
        var currentCount = vhostContainer.attr('rel');

        $.get('/add/vhost', { id: ++currentCount }, function(data) {
            vhostContainer.attr('rel', currentCount);

            vhostContainer.append(data);
        });

        return false;
    });

    $('body').delegate('.apache-vhost-del', 'click', function() {
        var vhostNum = $(this).attr('rel');
        $('#' + vhostNum).slideUp(function () {
            $(this).remove();
        });

        var vhostContainer = $('#apache-vhost-count');
        var currentCount = vhostContainer.attr('rel');
        vhostContainer.attr('rel', --currentCount);

        return false;
    });

    $('#mysql-dbuser-add').click(function(){
        var dbContainer = $('#mysql-dbuser-count');
        var currentCount = dbContainer.attr('rel');

        $.get('/add/mysql/dbuser', { id: ++currentCount }, function(data) {
            dbContainer.attr('rel', currentCount);

            dbContainer.append(data);
        });

        return false;
    });

    $('#postgresql-dbuser-add').click(function(){
        var dbContainer = $('#postgresql-dbuser-count');
        var currentCount = dbContainer.attr('rel');

        $.get('/add/postgresql/dbuser', { id: ++currentCount }, function(data) {
            dbContainer.attr('rel', currentCount);

            dbContainer.append(data);
        });

        return false;
    });

    $('body').delegate('.mysql-dbuser-del', 'click', function() {
        var dbNum = $(this).attr('rel');
        $('#' + dbNum).slideUp(function () {
            $(this).remove();
        });

        var mysqlDbuserContainer = $('#mysql-dbuser-count');
        var currentCount = mysqlDbuserContainer.attr('rel');
        mysqlDbuserContainer.attr('rel', --currentCount);<commit_msg>PostgreSQL users can be deleted<commit_after>$(document).ready(function(){
    $('.box-url').click(function() {
        var boxName = $(this).attr('rel');

        $('#box-name').val(boxName);
    });

    $('.subnav a').smoothScroll({offset: -80});

    affixSubnav();
    changeActiveLink();

    $('.tags').select2({
        tags: [],
        tokenSeparators: [',']
    });

    $('.selectTags').select2();

    updateInputFromSelect('#php-inilist-add', '#php-inilist-name', '#php-inilist-value', '#php-inilist-custom');

    $('#apache-vhost-add').click(function(){
        var vhostContainer = $('#apache-vhost-count');
        var currentCount = vhostContainer.attr('rel');

        $.get('/add/vhost', { id: ++currentCount }, function(data) {
            vhostContainer.attr('rel', currentCount);

            vhostContainer.append(data);
        });

        return false;
    });

    $('body').delegate('.apache-vhost-del', 'click', function() {
        var vhostNum = $(this).attr('rel');
        $('#' + vhostNum).slideUp(function () {
            $(this).remove();
        });

        var vhostContainer = $('#apache-vhost-count');
        var currentCount = vhostContainer.attr('rel');
        vhostContainer.attr('rel', --currentCount);

        return false;
    });

    $('#mysql-dbuser-add').click(function(){
        var dbContainer = $('#mysql-dbuser-count');
        var currentCount = dbContainer.attr('rel');

        $.get('/add/mysql/dbuser', { id: ++currentCount }, function(data) {
            dbContainer.attr('rel', currentCount);

            dbContainer.append(data);
        });

        return false;
    });

    $('#postgresql-dbuser-add').click(function(){
        var dbContainer = $('#postgresql-dbuser-count');
        var currentCount = dbContainer.attr('rel');

        $.get('/add/postgresql/dbuser', { id: ++currentCount }, function(data) {
            dbContainer.attr('rel', currentCount);

            dbContainer.append(data);
        });

        return false;
    });

    $('body').delegate('.mysql-dbuser-del', 'click', function() {
        var dbNum = $(this).attr('rel');
        $('#' + dbNum).slideUp(function () {
            $(this).remove();
        });

        var mysqlDbuserContainer = $('#mysql-dbuser-count');
        var currentCount = mysqlDbuserContainer.attr('rel');
        mysqlDbuserContainer.attr('rel', --currentCount);

        return false;
    });

    $('body').delegate('.postgresql-dbuser-del', 'click', function() {
        var dbNum = $(this).attr('rel');
        $('#' + dbNum).slideUp(function () {
            $(this).remove();
        });

        var mysqlDbuserContainer = $('#postgresql-dbuser-count');
        var currentCount = mysqlDbuserContainer.attr('rel');
        mysqlDbuserContainer.attr('rel', --currentCount);
{'fraction_non_alphanumeric': 0.20069404279930594, 'fraction_numerical': 0.001542317331791016, 'mean_word_length': 2.5125253893026405, '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': '4405291', 'n_tokens_mistral': 1532, 'n_tokens_neox': 1489, 'n_words': 223}