This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
GROUP1 | GROUP2 | GROUP3 | COUNT_ALL | SUM_FIELD8695 | AVG_FIELD8695 | MIN_FIELD8695 | MAX_FIELD8695 | MEDIAN_FIELD8695 | VALUEOF_FIELD8695 | ALL_VALS_FOR_DEBUG_VALUEOF | ALL_VALS_FOR_DEBUG_MEDIAN | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
36050 | 36053 | 10 | 2 | 20 | 10 | 10 | 10 | 10 | 10 | 10,10 | 10,10 | |
36050 | 36053 | NULL | 2 | 20 | 10 | 10 | 10 | 10 | 10 | 10,10 | 10,10 | |
36050 | 36054 | 20 | 1 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | |
36050 | 36054 | NULL | 1 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | |
36050 | 36056 | 30 | 1 | 30 | 30 | 30 | 30 | 30 | 30 | 30 | 30 | |
36050 | 36056 | NULL | 1 | 30 | 30 | 30 | 30 | 30 | 30 | 30 | 30 | |
36050 | 36057 | 40 | 1 | 40 | 40 | 40 | 40 | 40 | 40 | 40 | 40 | |
36050 | 36057 | NULL | 1 | 40 | 40 | 40 | 40 | 40 | 40 | 40 | 40 | |
36050 | NULL | NULL | 5 | 110 | 22 | 10 | 40 | 20 | 40 | 40,20,10,30,10 | 10,10,20,30,40 |
'use strict'; | |
/** | |
* Custom browser commands | |
*/ | |
var Commands = { | |
/** | |
* Login | |
* |
This is how I configured the deploy of my rails apps to AWS Elastic Beanstalk through CircleCI.
On Project Settings > Environment Variables add this keys:
var request = require('request'); | |
var unzip = require('unzip'); | |
var csv2 = require('csv2'); | |
request.get('http://s3.amazonaws.com/alexa-static/top-1m.csv.zip') | |
.pipe(unzip.Parse()) | |
.on('entry', function (entry) { | |
entry.pipe(csv2()).on('data', console.log); | |
}) | |
; |
var Promise = require('bluebird'); | |
var promiseWhile = function(condition, action) { | |
var resolver = Promise.defer(); | |
var loop = function() { | |
if (!condition()) return resolver.resolve(); | |
return Promise.cast(action()) | |
.then(loop) | |
.catch(resolver.reject); |
# run/start nsq with pm2 | |
pm2 start nsqlookupd | |
pm2 start nsqd -- --broadcast-address=192.168.11.9 --lookupd-tcp-address=192.168.11.9:4160 | |
pm2 start nsqadmin -- --http-address 192.168.11.9:4171 --lookupd-http-address :4161 |
computedStyle = function(el, prop) { | |
if (typeof getComputedStyle === 'function') { | |
return getComputedStyle(el)[prop]; | |
} else { | |
return el.currentStyle[prop]; | |
} | |
} |
console.reset = function () { | |
return process.stdout.write('\033c'); | |
} |