I hereby claim:
- I am gergelyke on github.
- I am gergelyke (https://keybase.io/gergelyke) on keybase.
- I have a public key ASBuTobbsUl8Z0Wjws_opsTzFRb2095pxd4x9y1n4gT7IQo
To claim this, I am signing this object:
const en = { | |
translations: { | |
meta: { | |
name: 'English' | |
}, | |
header: { | |
title: '1-1 Question Ideas' | |
}, | |
howto: { | |
title: 'How I use this app?', |
const transformName = Symbol('private:transformName'); | |
class Apple { | |
constructor () { | |
console.log('i am created') | |
} | |
[transformName] (name) { | |
return name.split('').reverse().join(''); | |
} |
I hereby claim:
To claim this, I am signing this object:
var arraySize = 10000 | |
var a = [] | |
var sumTime = 0 | |
function setup () { | |
for (var i = 0; i < arraySize; i+=1) { | |
a.push(i) | |
} | |
} |
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
# Runtime data | |
pids | |
*.pid | |
*.seed |
const heapdump = require('heapdump') | |
const app = require('koa')() | |
const router = require('koa-router')() | |
const log = []; | |
router.get('/', function *(next) { | |
log.push(this.headers) | |
this.body = { | |
status: 'finding a leak' |
function sendAlert (property, value) { | |
console.log('Sending alert... %s : %s', property, value); | |
var payload = { | |
apiKey: '', | |
message: '' | |
}; | |
var options = { | |
host: 'api.opsgenie.com', |
function userModel (options) { | |
var db; | |
if (!options.db) { | |
throw new Error('Options.db is required'); | |
} | |
db = options.db; | |
return { |
var url = require('url'); | |
var config = module.exports = {}; | |
var redisToGoConfig; | |
config.server = { | |
host: '0.0.0.0', | |
port: process.env.PORT || 3000 | |
}; | |
// look, a comment in the config file! |
var Car = require('model/Car'); |