<commit_before>$(document).ready(function() {
    setInterval(function () {
        document.location.reload();
    }, 120000);
});

briefcase.getJSON({
    id: "1dBgx1A9_gA_3c_rKC5IpsvLj6ubQY_1Q0Ee51QPOZ-4",
    leftColumnTitle: "category"
}, printElements);

function printElements(data) {

    data.forEach(function (item) {

        var category = item.title;
        var title = item.categories.filter(function (x) { if (x.name == "title") { return x; } })[0].value;
        var url = item.categories.filter(function (x) { if (x.name == "url") { return x; } })[0].value;
        var color = item.categories.filter(function (x) { if (x.name == "color") { return x; } })[0].value;
        var image = item.categories.filter(function(x) { if (x.name == "image") { return x; } })[0].value;
        
        switch (category) {
            case "TopHeadline":
                $("<a href='" + url + "' style='font-family: monospace; text-decoration: underline; color:" + color + "' target='_blank'>" + 
                  ((image) ? "<img src='" + image + "' style='max-width: 320px;'><br>" : "")    +               
                  "    <strong>" + title + "</strong></a><br>")
                .appendTo("#" + category);
                break;
            case "MainHeadline":
                $(((image) ? "<img src='" + image + "' class='img-responsive center-block'><br>" : "") +
                  "  <a href='" + url + "' class='text-center' style='font-size: 3em; text-decoration: underline; font-family: sans-serif; color:" + color + "' target='_blank'>" + 
                  "    <strong>" + title + "</strong></a>")
                .appendTo("#" + category);
                break;
            default:
                $("<li class='list-group-item' style='border-left: none; border-right: none; padding: 4px;'>" + 
                  ((image) ? "<img src='" + image + "' style='max-width: 320px;'><br>" : "") +
                  "  <a href='" + url + "' style='font-family: monospace; text-decoration: underline; color:" + color + "' target='_blank'>" + 
                  "    <strong>" + title + "</strong></a></li>")
                .appendTo("#" + category);
                break;
        }

    });

}
<commit_msg>Update driveLoader.js<commit_after>$(document).ready(function() {
    setInterval(function () {
        document.location.reload();
    }, 120000);
});

briefcase.getJSON({
    id: "1dBgx1A9_gA_3c_rKC5IpsvLj6ubQY_1Q0Ee51QPOZ-4",
    leftColumnTitle: "category"
}, printElements);

function printElements(data) {

    data.forEach(function (item) {

        var category = item.title;
        var title = item.categories.filter(function (x) { if (x.name == "title") { return x; } })[0].value;
        var url = item.categories.filter(function (x) { if (x.name == "url") { return x; } })[0].value;
        var color = item.categories.filter(function (x) { if (x.name == "color") { return x; } })[0].value;
        var image = item.categories.filter(function(x) { if (x.name == "image") { return x; } })[0].value;
        
        switch (category) {
            case "TopHeadline":
                $("<a href='" + url + "' style='font-family: monospace; text-decoration: underline; color:" + color + "' target='_blank'>" + 
                  ((image) ? "<img src='" + image + "' style='max-width: 320px;'><br>" : "")    +               
                  "    <strong>" + title + "</strong></a><br>")
                .appendTo("#" + category);
                break;
            case "MainHeadline":
                $(((image) ? "<img src='" + image + "' class='img-responsive center-block'><br>" : "") +
                  "  <center><a href='" + url + "' class='text-center' style='font-size: 3em; text-decoration: underline; font-family: sans-serif; color:" + color + "' target='_blank'>" + 
                  "    <strong>" + title + "</strong></a></center>")
                .appendTo("#" + category);
                break;
            default:
                $("<li class='list-group-item' style='border-left: none; border-right: none; padding: 4px;'>" + 
                  ((image) ? "<img src='" + image + "' style='max-width: 320px;'><br>" : "") +
                  "  <a href='" + url + "' style='font-family: monospace; text-decoration: underline; color:" + color + "' target='_blank'>" + 
                  "    <strong>" + title + "</strong></a></li>")
                .appendTo("#" + category);
                break;
        }

    });

}

{'fraction_non_alphanumeric': 0.19861638027226067, 'fraction_numerical': 0.012943539388529346, 'mean_word_length': 2.095303867403315, 'pattern_counts': {'":': 4, '<': 47, '<?xml version=': 0, '>': 47, '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': '1256279', 'n_tokens_mistral': 1459, 'n_tokens_neox': 1368, 'n_words': 281}