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
<pack:script enabled="${packTagEnabled}" minify="false" prefix="script-moment-immutable"> | |
<src>/js/alm/builds/bower/moment/2.9.0/<c:if test="${packTagEnabled}">min/</c:if>moment<c:if test="${packTagEnabled}">.min</c:if>.js</src> | |
<src>/js/alm/builds/bower/moment-timezone/0.3.0/builds/moment-timezone.<c:if test="${packTagEnabled}">min.</c:if>js</src> | |
<src>/js/alm/builds/bower/immutable/3.6.2/dist/immutable<c:if test="${packTagEnabled}">.min</c:if>.js"></src> | |
</pack:script> |
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
var htmlparser = require("htmlparser"); | |
var fs = require('fs'); | |
var sys = require("sys"); | |
var _ = require('lodash'); | |
var prettyjson = require('prettyjson'); | |
var express = require('express'); | |
var bodyParser = require('body-parser'); | |
var requestify = require('requestify'); | |
var app = express(); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head></head> | |
<body> | |
<script> | |
//add logging for client latency (when detected). | |
//to create client latency, Rally.metrics.wait(250); | |
document.addEventListener('clientLatency', function (evt) { | |
console.log('latency!', evt.detail); | |
}, false); |
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
(function() { | |
var Ext = window.Ext4 || window.Ext; | |
Ext.define('Rally.ui.overrides.Container', { | |
override: 'Ext.Container', | |
constructor: function (config) { | |
if (!config) { | |
config = {}; | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>ExtJS Cache Example</title> | |
<link href="http://cdn.sencha.com/ext/gpl/4.2.0/resources/css/ext-all.css" rel="stylesheet" /> | |
<script src="http://cdn.sencha.com/ext/gpl/4.2.0/ext-all-debug.js"></script> | |
<body> | |
</body> |
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
var express = require('express'); | |
var app = express(); | |
app.get('/', function(req, res){ | |
var retryCount = req.query.retryCount; | |
console.log("req.query.retryCount: " + retryCount); | |
if (!retryCount || retryCount <3) { | |
res.send(500, 'retryCount under 3'); | |
} else { | |
res.send('Hello World' + retryCount); |
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
var MergeSorter = (function () { | |
var merge = function (arr1, arr2) { | |
var result = []; | |
while (arr1.length > 0 && arr2.length > 0) { | |
if (arr1[0] <= arr2[0]) { | |
result.push(arr1.shift()); | |
} else { | |
result.push(arr2.shift()); |
NewerOlder