Skip to content

Instantly share code, notes, and snippets.

View goooseman's full-sized avatar
🦇
This is bat country!

Alexander Gusman goooseman

🦇
This is bat country!
View GitHub Profile
@nodkz
nodkz / user.js
Created November 8, 2017 13:28
Mongoose with flow example
/* @flow */
/* eslint-disable func-names */
import { Schema } from 'mongoose';
import DB from 'schema/db';
import composeWithMongoose from 'graphql-compose-mongoose';
import composeWithRelay from 'graphql-compose-relay';
import crypto from 'crypto';
import bcrypt from 'bcrypt';
import type { $Request } from 'express';
@skwasha
skwasha / .dockercfg.template
Last active August 7, 2018 13:40
Deploying Meteor to AWS Elastic Beanstalk as a Docker image from Github via CircleCI
{
"https://index.docker.io/v1/": {
"auth": "<base64 encoded Docker username:password>",
"email": "<Docker Account Email>"
}
}