This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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": "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; | |
var Base64 = {}; | |
;(function (exports) { | |
'use strict'; | |
var Arr = (typeof Uint8Array !== 'undefined') | |
? Uint8Array | |
: Array |