<commit_before>var eventQueue = [];
var svg;
var element;
var drawingArea;
var width;
var height;
var volume = 0.6;
var ULTIMATE_DREAM_KILLER = false;  // https://github.com/debugger22/github-audio/pull/19
var orgRepoFilterNames = [];

var scale_factor = 6,
    note_overlap = 2,
    note_timeout = 300,
    current_notes = 0,
    max_life = 20000;

var svg_background_color_online = 'rgb(78, 79, 140)',
    svg_background_color_offline = '#E91E63',
    svg_text_color = '#FFFFFF',
    newuser_box_color = 'rgb(41, 128, 185)',
    push_color = 'rgb(155, 89, 182)',
    issue_color = 'rgb(46, 204, 113)',
    pull_request_color = 'rgb(46, 204, 113)',
    comment_color = 'rgb(46, 204, 113)',
    edit_color = '#fff',
    total_sounds = 51;

var celesta = [],
    clav = [],
    swells = [],
    all_loaded = false;


var socket = new WebSocket("ws://localhost:1337/ws");

socket.addEventListener("message", function (data) {
  /*$('.online-users-count').html(data.connected_users);*/
  var json = JSON.parse(data.data);
  json.forEach(function(event){
    if(!isEventInQueue(event)){
      // Filter out events only specified by the user
      if(orgRepoFilterNames != []){
        // Don't consider pushes to github.io repos when org filter is on
        if(new RegExp(orgRepoFilterNames.join("|")).test(event.repoName)
           && event.repoName.indexOf('github.io') == -1){
          eventQueue.push(event);
        }<commit_msg>Set new colors<commit_after>var eventQueue = [];
var svg;
var element;
var drawingArea;
var width;
var height;
var volume = 0.6;
var ULTIMATE_DREAM_KILLER = false;  // https://github.com/debugger22/github-audio/pull/19
var orgRepoFilterNames = [];

var scale_factor = 6,
    note_overlap = 2,
    note_timeout = 300,
    current_notes = 0,
    max_life = 20000;

var svg_background_color_online  = 'black',
    svg_background_color_offline = 'black',   // todo ?
    svg_text_color               = '#FFFFFF',
    newuser_box_color            = '#00C0C0', // cyan
    push_color                   = '#22B65D', // green
    issue_color                  = '#ADD913', // lime
    pull_request_color           = '#8F19BB', // violet
    comment_color                = '#FF4901', // orange
    edit_color                   = '#FFFFFF',
    total_sounds                 = 51;

// #E60062 magenta
// #0184FF blue

var celesta = [],
    clav = [],
    swells = [],
    all_loaded = false;

var socket = new WebSocket("ws://localhost:1337/ws");

socket.addEventListener("message", function (data) {
  /*$('.online-users-count').html(data.connected_users);*/
  var json = JSON.parse(data.data);
  json.forEach(function(event){
    if(!isEventInQueue(event)){
      // Filter out events only specified by the user
      if(orgRepoFilterNames != []){
        // Don't consider pushes to github.io repos when org filter is on
        if(new RegExp(orgRepoFilterNames.join("|")).test(event.repoName)
           && event.repoName.indexOf('github.io') == -1){
          eventQueue.push(event);
        }
{'fraction_non_alphanumeric': 0.1447499171911229, 'fraction_numerical': 0.04173567406425969, 'mean_word_length': 2.8035264483627205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5271855', 'n_tokens_mistral': 1095, 'n_tokens_neox': 988, 'n_words': 218}