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 | |
# Install bower web package manager + node.js + npm | |
# Centos 6.5+ | |
# Attribution-NonCommercial-ShareAlike | |
# CC BY-NC-SA | |
# https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode | |
# This script will install node.js, npm and bower. All great programs to have for developing |
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 auth = { | |
user: "USERNAME", | |
pass: "PASSWORD" | |
}; | |
function ParallelRunner (list, func, runners) { | |
function createSlots(runners) { | |
var slots = []; | |
for (var i = 0; i < runners; i++) { | |
slots.push( objReturner() ); |