Skip to content

Instantly share code, notes, and snippets.

View frausto's full-sized avatar

Nolan Frausto frausto

  • AdaptedMind
  • San Francisco
View GitHub Profile
@frausto
frausto / unit.js
Created June 4, 2014 22:44
Rails karma configuration
// Karma configuration
// Generated on Tue Mar 11 2014 10:47:56 GMT-0400 (EDT)
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '../../..',
@frausto
frausto / linkedin.js.coffee
Last active January 26, 2017 17:02
Linkedin Oauth: Exchanging JSAPI token for a REST token using Ruby/Rails and the linkedin gem
$.getScript("https://platform.linkedin.com/in.js?async=true", ->
IN.init({
api_key: <<API Key>>,
authorize: true,
credentials_cookie: true
})
)
linkedinImport = ->