Skip to content

Instantly share code, notes, and snippets.

Avatar

Scott BonAmi sbonami

  • AbleTo, Inc.
  • Orlando, FL
View GitHub Profile
@sbonami
sbonami / index.js
Created Oct 12, 2018
Redux Interaction tracking with React Profiling & Interaction APIs
View index.js
import { createStore, combineReducers, applyMiddleware } from 'redux';
import reactProfilerMiddleware from './react-profiler-redux';
const todoApp = combineReducers(reducers)
const store = createStore(
todoApp,
// applyMiddleware() tells createStore() how to handle middleware
applyMiddleware(reactProfilerMiddleware)
)
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@sbonami
sbonami / gist:9499467
Created Mar 12, 2014
Parse/OmniAuth Integration
View gist:9499467

Required Gems:

  • parse_resource
  • omniauth_facebook
  • koala
class SessionController < ApplicationController
  def create
    user = User.from_omniauth(env["omniauth.auth"])