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 readable = getReadableStreamSomehow(); | |
readable.on('readable', function() { | |
var chunk; | |
while (null !== (chunk = readable.read())) { | |
console.log('got %d bytes of data', chunk.length); | |
} | |
}); |
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
deb http://puppetagain.pub.build.mozilla.org/data/repos/apt/ubuntu/ precise main restricted universe | |
deb http://puppetagain.pub.build.mozilla.org/data/repos/apt/ubuntu/ precise-security main restricted universe | |
deb http://puppetagain.pub.build.mozilla.org/data/repos/apt/releng/ precise main | |
deb http://puppetagain.pub.build.mozilla.org/data/repos/apt/puppetlabs precise dependencies main | |
deb http://archive.ubuntu.com/ubuntu/ precise main restricted | |
deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. |
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
diff --git a/main.go b/main.go | |
index 6ff480d..7c9b704 100644 | |
--- a/main.go | |
+++ b/main.go | |
@@ -8,7 +8,7 @@ import ( | |
"os" | |
"sync" | |
- stream "github.com/lightsofapollo/continuous-log-serve/writer" | |
+ stream "github.com/taskcluster/livelog/writer" |
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
metadata: | |
name: 'Error Message Task' | |
description: | | |
There was an error creating the decision task. | |
owner: "{{owner}}" | |
source: "{{source}}" | |
tasks: | |
- taskId: '{{#as_slugid}}decision-task{{/as_slugid}}' | |
task: |
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 Parent() {} | |
function Child() {} | |
Child.prototype = Object.create(Parent.prototype); | |
Child.prototype.method = function() { | |
// ... | |
} |
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
#! /bin/bash -e | |
times=$1 | |
args=${@:2} | |
iter=0 | |
while [ $iter -lt $times ]; | |
do | |
eval $args | |
iter=$[$iter+1] |
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
[ | |
{ | |
"exchange": "exchange/treeherder-stage/v1/job-actions", | |
"routingKey": "buildbot.try.retrigger", | |
"payload": { | |
"build_system_type": "buildbot", | |
"job_id": 11912, | |
"project": "try", | |
"version": 1, | |
"requester": "jlal@mozilla.com", |
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
#! /bin/bash -ex | |
# This script copies the contents of the "scripts" folder into a docker | |
# container using tar/untar the container id must be passed. | |
DIRNAME=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
docker exec $1 mkdir -p $2 | |
cd $DIRNAME | |
tar -cv * | docker exec -i $1 tar -x -C $2 |
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
only kk - 14g |
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
{ | |
"name": "taskcluster-npm-cache", | |
"version": "1.0.0", | |
"description": "Utilities to cache package.json + npm payloads via taskcluster.", | |
"main": "index.js", | |
"scripts": { | |
"test": "mocha --recursive", | |
"prepublish": "6to5 -s -e src --out-dir build" | |
}, | |
"bin": { |