<commit_before>$(window).load(function(){

    $(".navigation").animateLeftmenu();

});



/**
* @description Random background color generator for thumbs
* @param {range} Color Range Value
* @return {Node} DOM Node
*/
(function ( $ ) {
$.fn.random_background_color = function(range){

    /*
    if(!range){
        range = 9;
    }

    return this.each(function(){
        var color = '#'+Math.random().toString(range).substr(-6);
        $(this).css('background', color);

        console.log(color);
    });
    */


        return this.each(function(){
            var letters = '0123456789ABCDEF'.split('');
            var color = '#';
            for (var i = 0; i < 6; i++ ) {
                color += letters[Math.floor(Math.random() * 16)];
            }
            $(this).css('background', color);
            console.log(color);
        });
};
}( jQuery ));



    /**
    * @description function to extract first two letters from a string
    * @options customizations on how the colors should be generated
    */

(function ( $ ) {

    $.fn.nametoChar = function( options ) {

        var settings = $.extend({<commit_msg>adding finite random color set inorder to prevent dull colors<commit_after>$(window).load(function(){

    $(".navigation").animateLeftmenu();

});



/**
* @description Random background color generator for thumbs
* @param {range} Color Range Value
* @return {Node} DOM Node
*/
(function ( $ ) {
$.fn.random_background_color = function(range){
    /* 16mil set of random colors
    return this.each(function(){
        var letters = '0123456789ABCDEF'.split('');
        var color = '#';
        for (var i = 0; i < 6; i++ ) {
            color += letters[Math.floor(Math.random() * 16)];
        }
        $(this).css('background', color);
        console.log(color);
    });
    */

    //finite set of random colors
    var colors = ["#F44336"
    ,"#D32F2F"
    ,"#B71C1C"
    ,"#E91E63"
    ,"#F06292"
    ,"#D81B60"
    ,"#AD1457"
    ,"#880E4F"
    ,"#9C27B0"
    ,"#BA68C8"
    ,"#FF8A80"
    ,"#FF5252"
    ,"#FF1744"
    ,"#D50000"
    ,"#FF80AB"
    ,"#FF4081"
    ,"#F50057"
    ,"#C51162"
    ,"#EA80FC"
    ,"#E040FB"
    ,"#D500F9"
    ,"#AA00FF"
    ,"#673AB7"
    ,"#9575CD"
    ,"#7E57C2"
    ,"#5E35B1"
    ,"#512DA8"
    ,"#4527A0"
    ,"#B388FF"
    ,"#7C4DFF"
    ,"#651FFF"
    ,"#6200EA"
    ,"#3F51B5"
    ,"#5C6BC0"
    ,"#3F51B5"
    ,"#303F9F"
    ,"#1A237E"
    ,"#536DFE"
    ,"#3D5AFE"
    ,"#304FFE"
    ,"#448AFF"
    ,"#2979FF"
    ,"#2962FF"
    ,"#2196F3"
    ,"#64B5F6"
    ,"#1E88E5"
    ,"#1976D2"
    ,"#1565C0"
    ,"#0D47A1"
    ,"#03A9F4"
    ,"#4FC3F7"
    ,"#29B6F6"
    ,"#039BE5"
    ,"#0288D1"
    ,"#0277BD"
    ,"#01579B"
    ,"#40C4FF"
    ,"#00B0FF"
    ,"#0091EA"
    ,"#00BCD4"
    ,"#4DD0E1"
    ,"#00ACC1"
    ,"#0097A7"
    ,"#00E5FF"
    ,"#00B8D4"
    ,"#009688"
    ,"#4DB6AC"
    ,"#00897B"
    ,"#00796B"
    ,"#00695C"
    ,"#004D40"
    ,"#00BFA5"
    ,"#4CAF50"
    ,"#66BB6A"
    ,"#43A047"
    ,"#388E3C"
    ,"#2E7D32"
    ,"#1B5E20"
    ,"#8BC34A"
    ,"#9CCC65"
    ,"#7CB342"
    ,"#558B2F"
    ,"#33691E"
    ,"#CDDC39"
    ,"#D4E157"
    ,"#AFB42B"
    ,"#9E9D24"
    ,"#827717"
    ,"#FFEB3B"
    ,"#FFEE58"
    ,"#FDD835"
    ,"#FBC02D"
    ,"#F9A825"
    ,"#F57F17"
    ,"#FFC107"
    ,"#FFCA28"
    ,"#FFB300"
    ,"#FF8F00"
    ,"#FF6F00"
    ,"#FF9800"
    ,"#FFA726"
    ,"#F57C00"
    ,"#E65100"
    ,"#FF6D00"
    ,"#FF5722"
    ,"#E64A19"
    ,"#D84315"
    ,"#BF360C"
    ,"#DD2C00"
    ,"#795548"
    ,"#3E2723"
    ,"#607D8B"
    ,"#455A64"
    ,"#37474F"
    ,"#263238"];
    return this.each(function(){
        var color = colors[Math.floor(Math.random()*colors.length)];
        $(this).css('background', color);
        console.log(color);
    });
};
}( jQuery ));



    /**
    * @description function to extract first two letters from a string
    * @options customizations on how the colors should be generated
    */

(function ( $ ) {

    $.fn.nametoChar = function( options ) {

        var settings = $.extend({
{'fraction_non_alphanumeric': 0.20626696274364667, 'fraction_numerical': 0.1149765605724155, 'mean_word_length': 2.2328548644338118, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1665838', 'n_tokens_mistral': 1899, 'n_tokens_neox': 1643, 'n_words': 290}