Skip to content

Instantly share code, notes, and snippets.

Mark P. McCahill mccahill

  • Duke University
  • Durham, NC
Block or report user

Report or block mccahill

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mccahill
mccahill / config.js
Last active Aug 4, 2019 — 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',
};
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:

You can’t perform that action at this time.