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
entries = 30; | |
dataLength = 96; | |
prefix = "response-times-15min-"; | |
yScale = 0.4; | |
xScale = 0.2; | |
zScale = 0.0008; | |
union() { | |
translate([0,-entries*yScale/2,0]) |
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 filename = 'response-times-15min', | |
fs = require('fs'), | |
out = [], | |
i = 0, | |
array = fs.readFileSync(filename + '.tsv').toString().split('\n'); | |
for (i=0; i < array.length; i++) { | |
out.push(array[i]); | |
out.push(array[i]); | |
fs.writeFileSync(filename + '-' + i + '.txt', array[i].toString() + "\n"); |
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 couchbase = require('couchbase'), | |
async = require('async'), | |
couchbaseConfig = { | |
debug: process.env.COUCHBASE_DEBUG || true, | |
user: process.env.COUCHBASE_USER || '', | |
password: process.env.COUCHBASE_PASSWORD || '', | |
bucket: process.env.COUCHBASE_BUCKET || 'default' | |
}, | |
async = require('async'), | |
defaultHost = 'localhost:8091', |
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 couchbase = require('couchbase'), | |
async = require('async'), | |
request = require('request'), | |
url = require('url'), | |
path = require('path'), | |
_ = require('underscore'), | |
apiUrl = null, | |
_config = null; | |
var Bucket = function(apiUrl, 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
var couchbase = require('couchbase'), | |
async = require('async'), | |
couchbaseConfig = { | |
debug: process.env.COUCHBASE_DEBUG || false, | |
user: process.env.COUCHBASE_USER || '', | |
password: process.env.COUCHBASE_PASSWORD || '', | |
bucket: process.env.COUCHBASE_BUCKET || 'default' | |
}, | |
bucket = null; |
NewerOlder