Skip to content

Instantly share code, notes, and snippets.

@dualcnhq
dualcnhq / keybase.md
Created February 20, 2019 07:10
keybase gist

Keybase proof

I hereby claim:

  • I am dualcnhq on github.
  • I am dualcnhq (https://keybase.io/dualcnhq) on keybase.
  • I have a public key ASAWMmmiAn00kJ8RaLWuH815FPC_YSlUxeui5SXU8H_bdQo

To claim this, I am signing this object:

@dualcnhq
dualcnhq / sample api.md
Last active August 17, 2017 01:17
Sample API gist using Serverless framework

User Class

'use strict'

const axios = require('axios')
const uuid = require('uuid')
const moment = require('moment')
const dyno = require('dyno')
const pass = require('bcryptjs')
@dualcnhq
dualcnhq / setup.md
Last active January 26, 2016 03:49
Python environment setup for MacOSX

Install Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then run the following command to ensure that there aren’t any potential problems with your environment. Some warnings (if any) are informational and not necessary actionable; it’s just a good idea to at least read through and see if anything looks out of the ordinary.

brew doctor

The following command will update to the latest version of Homebrew and its formulae: