This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const time = require('time'); | |
const moment = require('moment'); | |
const tz = require('moment-timezone'); | |
const async = require('async'); | |
const bunyan = require('bunyan'); | |
var log = bunyan.createLogger({name: "time error"}); | |
var fs = require('fs'); | |
var timezones = moment.tz.names(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
var Measured = require('measured'); | |
var Random = require('random-js'); | |
// set the number of elements in the arrays | |
const elementCount = 1; // the array.find and loop joins will not complete quickly on higher numbers | |
const sampleCount = 100; | |
console.log('!!! ' + elementCount + ' elements with ' + sampleCount +' samples !!!'); | |
let r = new Random(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ft.redraw = function () { | |
if ($('html').is('.lt-ie9')){ | |
ft.raise(evt.redrawn); | |
return; | |
} | |
//add the toggler to each row | |
ft.addRowToggle(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ft.redraw = function () { | |
var start = new Date(); | |
//add the toggler to each row | |
ft.addRowToggle(); | |
//bind the toggle selector click events | |
ft.bindToggleSelectors(); | |
//set any cell classes defined for the columns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URL_PREFIX=http://www.example.com/ | |
RESOURCE_URL=http://www.example.com/ | |
SHOW_SLOW_URL=http://192.168.154.130/showslow_1.2/beacon/events/ | |
wget "$SHOW_SLOW_URL?type=JenkinsJob&url_prefix=$URL_PREFIX&title=${JOB_NAME}_${BUILD_NUMBER}&resource_url=$RESOURCE_URL&start=$(date +'%F %T')&end=$(date +'%F %T')" |