I hereby claim:
- I am petreboy14 on github.
- I am petreboy14 (https://keybase.io/petreboy14) on keybase.
- I have a public key ASAo4d8OTkBlsFxTvJncw91g5PjCuFnz_E7ML-gvaPI2YQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
create(params, cb) { | |
let sourcePromise = null; | |
if (params.provider === 'facebook') { | |
let options = { | |
sourceId: params.providerId, | |
source: params.provider, | |
token: params.oauth_token | |
}; | |
sourcePromise = this.methods.users.sources.getOne(options); |
var routes = { | |
'/employees': { | |
restrictTo: 'guest', | |
handler: employeesApi.employees, | |
validations: { | |
limit: expressJoi.Joi.types.Number().integer().min(1).max(25), | |
offset: expressJoi.Joi.types.Number().integer().min(0).max(25), | |
name: expressJoi.Joi.types.String().alphanum().min(2).max(25 | |
} | |
}, |
<!-- | |
|)) |)) | |
. | )) / )) .oooooooo. .ooooooooo. | |
\\ ^ ^ | / )) -sddddddddddy:::hdddddmmmmmy- | |
\\((( ))) | / )) -ddddddhhhhhh ddddddmmmmmd- | |
/ G ))) | / )) sddddhhhhhhhhhhhddddddddmmmmmms | |
|o _) ))) | / ))) odddhhhhhhhhhhhhdddddddddmmmmmo | |
- ' | ))`/ ))) -hdddhhhhhhhh dddddddmmmmh. aHR0cDovL2loci5mbS9zZTRXWj9w | |
___| ))) -ydddhhhhhhh ddddddmmmmy- bmFtZT1zb3VyY2Vycg== | |
/ __\ ))))`())) `+hdddddddd ddddddmmh/` |
{ domain: | |
{ domain: null, | |
_events: { error: [Function] }, | |
_maxListeners: 10, | |
members: [] }, | |
_events: {}, | |
_maxListeners: 10, | |
_bench: { ts: 20826463.690304 }, | |
server: | |
{ domain: null, |
routes.push({ | |
method : 'POST', | |
path : '/upload', | |
config: { | |
payload: { | |
parse: false, | |
output: 'stream', | |
maxBytes: 1073741824 | |
} | |
}, |
var concat = require('concat-stream'); | |
var Hapi = require('hapi'); | |
var multiparty = require('multiparty'); | |
var request = require('request'); | |
var server = new Hapi.server('localhost', 9000); | |
function createMedia(request, reply) { | |
var params = {}; | |
var form = new multiparty.Form(); |