Skip to content

Instantly share code, notes, and snippets.

View ghidinelli's full-sized avatar

Brian ghidinelli

View GitHub Profile
@jonmaim
jonmaim / oauth_node_example.js
Created March 21, 2017 10:53
OAuth 1.0 3-legged server side flow (motorsportreg example)
'use strict';
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
var localtunnel = require('localtunnel');
var request = require('request');
var qs = require('querystring');
var url = require('url');
var http = require('http');
@tonybrady
tonybrady / hs_to_pt.js
Created September 18, 2012 15:26
Create Pivotal Tracker ticket from Help Scout conversation (bookmarklet)
// Install:
// Add your own Pivotal Tracker API token and project ID into the code below
// Optionally (if you've added Help Scout as an external integration) fill in the integration ID - you can see this in the URL
// when you edit the Help Scout integration in Pivotal.
// Then copy the code into a new bookmark
// To use:
// When you are viewing a Help Scout conversation select the text you want to appear as the Pivotal Tracker story (optional - if you
// don't do this the story will be "See https://secure.helpscout.net/conversation/1234/1"). Then click the bookmarklet and a new
// story will be created in Pivotal. The response from Pivotal will be shown in a small window in the top right of the Help Scout page.