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
export http_proxy= | |
export https_proxy= | |
curl -XDELETE 'http://localhost:9200/test/' | |
echo "Creating the mapping" | |
curl -XPUT 'http://localhost:9200/test/?pretty=1' -d ' | |
{ | |
"mappings" : { | |
"member" : { |
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
npm ERR! Error: ENOENT, lstat '/home/deploy/pagarme-api/node_modules/sendgrid/node_modules/request/node_modules/hawk/images/hawk.png' | |
npm ERR! If you need help, you may report this *entire* log, | |
npm ERR! including the npm and node versions, at: | |
npm ERR! <http://github.com/npm/npm/issues> | |
npm ERR! System Linux 3.2.0-58-virtual | |
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "update" | |
npm ERR! cwd /home/deploy/pagarme-api | |
npm ERR! node -v v0.10.28 | |
npm ERR! npm -v 1.4.9 |
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 cluster = require('cluster'); | |
var http = require('http'); | |
var WORKER_COUNT = 4; | |
var LISTEN_PORT = 8080; | |
if (cluster.isMaster) { | |
var crashes = [], disconnects = []; | |
var spawnWorker = function(i) { |
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'); | |
exports.compose = function(object, trait) { | |
var dynamicConstructor = function(args) { | |
return object.apply(this, args); | |
}; | |
dynamicConstructor.prototype = object.prototype; | |
var constructor = 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
[][(''+![])[+![]]+((''+-!![]/+![])[+('4'+'')]+((''+![])[+('2'+'')]+((''+!![])[+![]]+((''+!![])[+('3'+'')]+((''+!![])[+!![]]+'')))))]['c'+('o'+((''+-!![]/+![])[+('2'+'')]+((''+![])[+('3'+'')]+((''+!![])[+![]]+((''+!![])[+!![]]+((''+!![])[+('2'+'')]+('c'+((''+!![])[+![]]+('o'+((''+!![])[+!![]]+''))))))))))]((''+!![])[+!![]]+((''+!![])[+('3'+'')]+((''+!![])[+![]]+((''+!![])[+('2'+'')]+((''+!![])[+!![]]+((''+-!![]/+![])[+('2'+'')]+(' '+((''+!![])[+('3'+'')]+('v'+((''+![])[+!![]]+((''+![])[+('2'+'')]+('('+('"'+('v'+((''+![])[+!![]]+((''+!![])[+!![]]+(' '+((''+![])[+!![]]+((''+![])[+('2'+'')]+((''+!![])[+('3'+'')]+((''+!![])[+!![]]+((''+!![])[+![]]+('='+((''+![])[+!![]]+((''+![])[+('2'+'')]+((''+!![])[+('3'+'')]+((''+!![])[+!![]]+((''+!![])[+![]]+('|'+('|'+('c'+('o'+((''+-!![]/+![])[+('2'+'')]+((''+![])[+('3'+'')]+('o'+((''+![])[+('2'+'')]+((''+!![])[+('3'+'')]+((''+{})[+![]]+('('+("'"+("'"+('+'+('!'+((''+{})[+![]]+((''+{})[+(''+ +!![]+('4'+''))]+(')'+((''+{})[+![]]+('+'+('('+("'"+('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
this.concern('postbacks', function() { | |
this.resources('postbacks', { | |
only: ['index', 'show'] | |
}, function() { | |
this.post('redeliver', { on: 'member' }); | |
}); | |
}); | |
this.concern('events', function() { | |
this.resources('events', { only: ['index', 'show'] }); |
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
defmod = function TraceBefore() { | |
def = function hello() { | |
console.log('before'); | |
$super(); | |
}; | |
}; | |
defmod = function TraceAfter() { | |
def = function hello() { |
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
Object.defineProperty(global, 'defmod', { | |
configurable: false, | |
enumerable: false, | |
set: function(value) { | |
global[value.name] = new Module(value.name, value); | |
} | |
}); | |
Object.defineProperty(global, 'defclass', { | |
configurable: false, |
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
require './lib' | |
defmod \TraceBefore -> | |
def \hello -> | |
console.log 'hello' | |
$super! | |
defmod \TraceAfter -> | |
def \hello -> | |
console.log 'hello' |
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
require! { | |
'prelude-ls': {each, map, fold, sum} | |
} | |
angular.module \dashboard.metrics <[ dashboard.api dashboard.omnibox ]> | |
.factory \MetricsProvider -> | |
return class MetricsProvider | |
(@provider) -> | |
prepare-real-conversion-query: ~> |
OlderNewer