This file contains hidden or 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 POST_URL = "https://api.automateo.app/api/w/<WorkflowId>"; | |
var apiKey = "<AutomateoApiKey>"; | |
function onSubmit(e) { | |
var form = FormApp.getActiveForm(); | |
var allResponses = form.getResponses(); | |
var latestResponse = allResponses[allResponses.length - 1]; | |
var response = latestResponse.getItemResponses(); | |
var email = latestResponse.getRespondentEmail(); |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Page Title</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> | |
<h1>Listen to events</h1> |
This file contains hidden or 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
[ | |
{ | |
"inputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ |
This file contains hidden or 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 when = require('when'); | |
var AWS = require('aws-sdk'); | |
var _ = require('lodash'); | |
var s3; | |
var bucket = null; | |
function getImage(url) { | |
return when.promise(function(resolve, reject) { | |
if(!bucket) { |
This file contains hidden or 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
0x00828b24A523C3De6735fdb24440c1c0387BC075 |
This file contains hidden or 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
0x37782Ee031a0B94b92bB181DD9013f7e8E42c12d |
This file contains hidden or 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
<select class="js-stationFrom"></select> | |
<select class="js-stationTo"></select> | |
<script> | |
</script> |
This file contains hidden or 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
{ | |
"bold_folder_labels": true, | |
"caret_extra_width": 1, | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
"default_encoding": "UTF-8", | |
"detect_indentation": false, | |
"draw_minimap_border": true, | |
"draw_white_space": "all", | |
"font_options": "subpixel_antialias", | |
"highlight_line": true, |
This file contains hidden or 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
exports.handler = function(event, context) { | |
// We'd get this from the Lambda event in reality | |
var sampleInput = { | |
from: 1, | |
to: 39, | |
bucketName: 'test-bucket', | |
imageSizes: [{ | |
width: 600, | |
height: 400, | |
description: 'A medium thumbnail', |
This file contains hidden or 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
exports.handler = function(event, context) { | |
var sampleInput = { | |
totalPhotos: 496, | |
imagesPerLambda: 100, | |
bucketName: 'sample-bucket', | |
imageSizes: [{ | |
width: 600, | |
height: 400, | |
description: 'A medium thumbnail', |
NewerOlder