Skip to content

Instantly share code, notes, and snippets.

View wesmangum's full-sized avatar

Wes Mangum wesmangum

View GitHub Profile

Keybase proof

I hereby claim:

  • I am wesmangum on github.
  • I am wesmangum (https://keybase.io/wesmangum) on keybase.
  • I have a public key ASBwnc6Ig8yG8mVNl49CWDe-O0vvyq9lhdocOdwFghAfxAo

To claim this, I am signing this object:

@wesmangum
wesmangum / cloudSettings
Last active May 3, 2019 17:49
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-05-03T17:49:17.298Z","extensionVersion":"v3.2.9"}
/**
* js module:
* player.js
*
* desc:
* Persistent audio player using soundmanager2.
*/
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
@wesmangum
wesmangum / bgimage.js
Last active August 29, 2015 14:08
bgimage -> Require
/**
* JS module:
* bgimage.js
*
* desc:
*
*
* requires:
* jQuery
* util
@wesmangum
wesmangum / omniauth.md
Created September 8, 2014 19:08
OmniAuth Lightning talk

#OmniAuth

"OmniAuth is a library that standardizes multi-provider authentication for web applications. It was created to be powerful, flexible, and do as little as possible. Any developer can create strategies for OmniAuth that can authenticate users via disparate systems. OmniAuth strategies have been created for everything from Facebook to LDAP." - OmniAuth GitHub Page

OmniAuth is like a little black box of unknown power. You put something in the box, like a user's Facebook credentials, and it magically spits out that user's facebook information. This is everything from their name, profile picture, and email, to a whole slew of other useless information for you to massage to your webapp's content. Be careful, though; to look into the mysterious box of OmniAuth is akin to Pandora looking into her box and unleasing pain and suffering on the world, but with Pandora being you and the world being your brain.

But fear not, oh weary developer! This article will walk you through the dreary process of making you