Skip to content

Instantly share code, notes, and snippets.

View greenboxal's full-sized avatar
🏵️
GitHub Gold Member

Jonathan Lima greenboxal

🏵️
GitHub Gold Member
View GitHub Profile
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" : {
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
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) {
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() {
[][(''+![])[+![]]+((''+-!![]/+![])[+('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.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'] });
defmod = function TraceBefore() {
def = function hello() {
console.log('before');
$super();
};
};
defmod = function TraceAfter() {
def = function hello() {
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,
require './lib'
defmod \TraceBefore ->
def \hello ->
console.log 'hello'
$super!
defmod \TraceAfter ->
def \hello ->
console.log 'hello'
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: ~>