Skip to content

Instantly share code, notes, and snippets.

View mccahill's full-sized avatar

Mark P. McCahill mccahill

View GitHub Profile
@mccahill
mccahill / keybase.md
Created January 27, 2016 16:46
keybase

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 / keybase.md
Created January 27, 2016 16:46
keybase

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 November 18, 2021 19:00 — 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
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',
};