Skip to content

Instantly share code, notes, and snippets.

POST http://zapiertest.cloudapp.net/Zapier/Default.aspx?action=Subscribe&api_key=:censored:6:ef61f704bd:&MobitID=7980
Content-Length: 200
Accept-Encoding: gzip, deflate
Accept: application/json
User-Agent: Zapier
Connection: keep-alive
Content-Type: application/json; charset=utf-8
{"subscription_url": "https://zapier.com/hooks/standard/bcd500e3b49b4b7d92c00b509a1cd85a/", "target_url": "https://zapier.com/hooks/standard/bcd500e3b49b4b7d92c00b509a1cd85a/", "event": "New_Contact"}
@jdeal
jdeal / gist:143265e2444a86ac5cb5
Created October 3, 2015 02:41
autopilot timeouts
POST https://api2.autopilothq.com/v1/contact
Content-Type: application/json; charset=utf-8
Accept: application/json
Autopilotapikey: :censored:32:e6a7aa1b42:
{"contact": {"_autopilot_list": "contactlist_F4B15592-48E7-436C-8F62-EAE99E2E45BD", "LastName": "Ferguson", "Email": "patferguson32@gmail.com", "FirstName": "Pat", "custom": {"string--Product--Purchased": "[u'30DAYOCT']"}}}
0
@jdeal
jdeal / gist:66c5d6612734a87ddadb
Last active August 29, 2015 14:24
stupid app
{
"general": {
"title": "RandomApp",
"description": "gives back random data",
"image_url": null,
"test_trigger_key": "thing",
"auth_type": "Unknown Auth",
"auth_mapping": {},
"subscribe_url": "",
"unsubscribe_url": ""
@jdeal
jdeal / random-commit.sh
Last active August 29, 2015 14:13
random commit
# Run this script in a github backed git repo to open a random commit.
# Get a random branch from the most recent 5 branches.
random_branch=`git for-each-ref --sort=-committerdate refs/heads/ | head -n 5 | perl -MList::Util=shuffle -e '@branches = shuffle(<STDIN>); $line = @branches[0]; $line =~ m/refs\/heads\/(.+)/; print $1;'`
# Get a random commit from the most recent 50 commits on that branch.
random_commit=`git log --pretty=format:%H -n 50 $random_branch | perl -MList::Util=shuffle -e '@commits = shuffle(<STDIN>); $commit = @commits[0]; print $commit;'`
# Get the repo.
repo=`git config --get remote.origin.url | perl -e '$url = <STDIN>; $url =~ m/:(.+)\.git$/; print $1;'`
# Spit out some info.
echo "$repo : $random_branch : $random_commit"
var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
var Base64 = {};
;(function (exports) {
'use strict';
var Arr = (typeof Uint8Array !== 'undefined')
? Uint8Array
: Array