This file contains hidden or 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
<cfscript> | |
data = ['a','b','a']; | |
counts = {}; | |
for (datum in data) { | |
if (!structKeyExists(counts, datum)) { | |
counts[datum] = 0; | |
} | |
counts[datum] = counts[datum]++; | |
} | |
writeDump(counts); // all zeros |
This file contains hidden or 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
export WORKSPACE=/home/scott/Dropbox/CM | |
export CHANGESPATH=$WORKSPACE/CHANGES-$(date -u +%Y%m%d).txt | |
rm $CHANGESPATH 2>/dev/null | |
# export CM_NIGHTLY | |
# get the name of the file we just built | |
lastBuild=$(ls -lt $WORKSPACE/cm*.zip | sed -e "s/ / /" | cut -d ' ' -f9 | head -1) | |
echo $lastBuild | |
# get the name of the file we built prior to that |
This file contains hidden or 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
<?xml version="1.0"?> | |
<!DOCTYPE Configure | |
PUBLIC '-//Jetty//Configure//EN' | |
'http://www.eclipse.org/jetty/configure_9_0.dtd'> | |
<!-- =============================================================== --> | |
<!-- Mixin the RewriteHandler --> | |
<!-- =============================================================== --> | |
<Configure class="org.eclipse.jetty.server.Server" id="Server"> | |
<!-- =========================================================== --> | |
<!-- configure rewrite handler --> |
This file contains hidden or 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
#!/usr/bin/env bash | |
# colorization fix in Jenkins | |
export CL_RED="\"\033[31m\"" | |
export CL_GRN="\"\033[32m\"" | |
export CL_YLW="\"\033[33m\"" | |
export CL_BLU="\"\033[34m\"" | |
export CL_MAG="\"\033[35m\"" | |
export CL_CYN="\"\033[36m\"" | |
export CL_RST="\"\033[0m\"" |
This file contains hidden or 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 allElements = document.getElementsByTagName("*"); | |
var allIds = {}; | |
var found = false; | |
for (var i = 0, n = allElements.length; i < n; ++i) { | |
var id = allElements[i].id; | |
if (id) { | |
if (allIds[id] === undefined) { | |
allIds[id] = []; | |
} | |
allIds[id].push(allElements[i]); |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
[1;32;40mC:\Users\buschs1\Desktop\the_closure_ci | |
[1;30;40mλ [0mmvn install | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building test 0 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- frontend-maven-plugin:0.0.23:install-node-and-npm (install node and npm) @ test --- | |
[INFO] Node v0.12.2 is already installed. |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
[1;32;40mC:\Users\buschs1 | |
[1;30;40mλ [0m[1;30;40mλ [0mcd deDesktop\the_closure_ci\ | |
[1;32;40mC:\Users\buschs1\Desktop\the_closure_ci | |
[1;30;40mλ [0mmvn install | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building test 0 |
This file contains hidden or 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
{ | |
"name": "calendar", | |
"version": "0.0.0", | |
"dependencies": {}, | |
"devDependencies": { | |
"bower": "^1.4.1", | |
"browser-sync": "~2.5.2", | |
"browser-sync-spa": "~1.0.2", | |
"chalk": "~1.0.0", | |
"concat-stream": "~1.4.7", |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
[1;32;40mC:\Users\buschs1 | |
[1;30;40mλ [0m[1;30;40mλ [0mcd deDesktop\npmBug\ | |
[1;32;40mC:\Users\buschs1\Desktop\npmBug | |
[1;30;40mλ [0mmvn install | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building test 0 |
This file contains hidden or 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
{ | |
"name": "npmBug", | |
"version": "0.0.0", | |
"dependencies": {}, | |
"devDependencies": { | |
"browser-sync": "~1.7.1", | |
"karma": "^0.12.31" | |
} | |
} |
OlderNewer