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
let | |
ExtractDataFromJIRA = (JiraRootUrl, Project, PathSchema) => | |
let | |
BaseUrl = JiraRootUrl & "/rest/api/2/search?jql=project=" & Project, | |
EntitiesPerPage = 200, | |
GetJson = (Url) => | |
let Options = [], | |
RawData = Web.Contents(Url, Options), | |
Json = Json.Document(RawData) |
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
machine: | |
node: | |
version: 0.12.7 | |
test: | |
override: | |
- echo "test" | |
dependencies: | |
pre: | |
- curl https://install.meteor.com/ | sh | |
- npm install -g git://github.com/Siphion/meteor-up.git#build-server-only |
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
//// TODO: Use power queue to handle throttling etc. | |
//// Use observe to monitor changes and have it create tasks for the power queue | |
//// to perform. | |
/** | |
* @public | |
* @type Object | |
*/ | |
FS.FileWorker = {}; |
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
let paypalProd = 'https://www.sandbox.paypal.com/cgi-bin/webscr'; | |
let paypalSandbox = 'https://www.paypal.com/cgi-bin/webscr'; | |
function validateIPN(data) { | |
try { | |
let url = (Meteor.settings.paypal.sandbox ? paypalSandbox : paypalProd) + | |
'?cmd=_notify-validate'; | |
return HTTP.post(url, {params: data}) === 'VERIFIED'; | |
} catch (err) { | |
log.error(err); |