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
# download first. from ~/Downloads directory | |
sudo mkdir -p /usr/local/bin/mongodb | |
tar -zxvf mongodb-osx-ssl-x86_64-3.6.1.tgz | |
sudo mv ./mongodb-osx-x86_64-3.6.1/* /usr/local/bin/mongodb/ | |
cd /usr/local/bin/ | |
sudo ln -s /usr/local/bin/mongodb/bin/mongo mongo | |
sudo ln -s /usr/local/bin/mongodb/bin/mongod mongod | |
sudo mkdir -p /data/db |
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
import * as path from 'path'; | |
import * as assert from 'assert'; | |
import * as ttm from 'vsts-task-lib/mock-test'; | |
describe('Sample task tests', function () { | |
before(() => { | |
}); | |
after(() => { |
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
# ./git4win282.sh gitwin ~/Projects/gitwinout | |
git_repo_folder_name=$1 | |
build_output_path=$2 | |
BUILD_TAG="tags/v2.8.2.windows.1" | |
echo "Folder : ${git_repo_folder_name}" | |
echo "Output : ${build_output_path}" | |
function banner() |
This file has been truncated, but you can view the full file.
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
96048 info install [email protected] | |
96049 info preinstall [email protected] | |
96050 verbose unlock done using C:\Users\vsoagentuser\AppData\Roaming\npm-cache\_locks\inherits-e67f15cb2a9abd4e.lock for C:\test\node_modules\gulp-typescript\node_modules\vinyl-fs\node_modules\duplexify\node_modules\readable-stream\node_modules\inherits | |
96051 verbose readDependencies loading dependencies from C:\test\node_modules\gulp-typescript\node_modules\gulp-util\node_modules\multipipe\node_modules\duplexer2\node_modules\readable-stream\node_modules\string_decoder\package.json | |
96052 verbose readDependencies loading dependencies from C:\test\node_modules\gulp-typescript\node_modules\gulp-util\node_modules\multipipe\node_modules\duplexer2\node_modules\readable-stream\node_modules\inherits\package.json | |
96053 verbose readDependencies loading dependencies from C:\test\node_modules\gulp-typescript\node_modules\gulp-util\node_modules\multipipe\node_modules\duplexer2\node_modules\readable-stream\node_modules\isarray\package.json |
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 util = require('util'); | |
var Q = require('q'); | |
var path = require('path'); | |
var stream = require('stream'); | |
var fs = require('fs'); | |
var NullStream = function () { | |
stream.Writable.call(this, { objectMode: true }); | |
this._write = function (data, encoding, callback) { | |
}; |
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 path = require('path'); | |
var stream = require('stream'); | |
var fs = require('fs'); | |
var PassThrough = require('stream').PassThrough; | |
var streamThrough = function(filePath, done) { | |
var len = 0; | |
var inputStream = fs.createReadStream(filePath); |
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
// | |
// Crude node.js longpoll example via a simple message queue | |
// | |
//-------------------- | |
// app.js | |
//-------------------- | |
var queue = require('./queue/messagequeue'); | |
app.get('/messages/:queueName/:lastMsgId', queue.getMessages); | |
app.post('/messages/:queueName', queue.postMessages); |