Skip to content

Instantly share code, notes, and snippets.

View rej156's full-sized avatar

Eric Juta rej156

View GitHub Profile

Keybase proof

I hereby claim:

  • I am rej156 on github.
  • I am ericjuta (https://keybase.io/ericjuta) on keybase.
  • I have a public key ASC57yvZave82zTnt6w-PoIN5OiLIJoMJmwv9iuFKiteQQo

To claim this, I am signing this object:

import * as ccxt from 'ccxt';
import * as functions from 'firebase-functions';
const exchangeId = 'binance',
exchangeClass = ccxt[exchangeId],
exchange = new exchangeClass({
apiKey: functions.config().binance.apikey,
secret: functions.config().binance.secret,
timeout: 30000,
enableRateLimit: true
@rej156
rej156 / SketchSystems.spec
Last active September 21, 2018 13:34
Collection Created
Collection Created
Add Collection Sections*
Click Add section button -> Editing other section
Click Submit Create Collection Button -> Collection Created
Drag and drop sections IF more than one -> Sections reordered
Editing other section
Untouched other section*
Click Remove section button -> Default editing section 1
Same as Default editing section 1
Sections reordered
@rej156
rej156 / index.jsx
Created May 20, 2016 12:57
Mobx HMR ES6 stores
import React from 'react'
import { render } from 'react-dom'
import { Router, browserHistory, match } from 'react-router'
import createStore from '../shared/lib/create-store.js'
import ContextProvider from '../shared/lib/context-provider.js'
import { fetchDataOnLocationMatch } from '../shared/lib/fetch-data.js'
import Root from './Root.jsx'
import routes from '../shared/routes.jsx'
import { AppContainer } from 'react-hot-loader'
import { observable, computed, autorun } from 'mobx'
@rej156
rej156 / Badger Academy Week 9 - Auth
Last active August 29, 2015 14:08
Badger Academy Week 9 - Auth
def authenticate
@user = Token.validate request.headers['AUTH-TOKEN']
end