Skip to content

Instantly share code, notes, and snippets.

Mark P. McCahill mccahill

  • Duke University
  • Durham, NC
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am mccahill on github.
  • I am markpmccahill (https://keybase.io/markpmccahill) on keybase.
  • I have a public key whose fingerprint is 7CDC 7233 74A7 29FF 3E3F 07DC AB1A DC18 4347 7E9F

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am mccahill on github.
  • I am markpmccahill (https://keybase.io/markpmccahill) on keybase.
  • I have a public key whose fingerprint is 7CDC 7233 74A7 29FF 3E3F 07DC AB1A DC18 4347 7E9F

To claim this, I am signing this object:

@mccahill
mccahill / config.js
Last active May 12, 2016 — forked from jeffrafter/server.js
Example of a node OAuth (Twitter) and OAuth2 (Google Calendar) client that works with the version 3 Express framework. This assumes you have a config.js file holding the keys and secrets
View config.js
module.exports = {
'HOSTPATH': 'http://your.host.here',
'PORT': 80,
'EXPRESS_SESSION_SECRET': '123456',
'TWITTER_CONSUMER_KEY': 'your-consumer-key-here',
'TWITTER_CONSUMER_SECRET': 'your-secret-here',
'GOOGLE_APP_ID': 'your-app-id-here',
'GOOGLE_CONSUMER_SECRET': 'your-consumer-secret-here',
};
You can’t perform that action at this time.