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
| #!/bin/bash | |
| #post .js file contents to BaasBox to create plugin | |
| #usage bash postBaasBoxPlugin.sh sample.js | |
| #get fileName | |
| fileName="$1" | |
| #uncomment below line to read file contents to variable | |
| #codeContent=$(<$fileName) |
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 getParseHeader = function () { | |
| return { | |
| "X-Parse-Application-Id": "ENTER_APP_ID", | |
| "X-Parse-REST-API-Key": "ENTER_API_KEY", | |
| "Content-Type": "application/json" | |
| }; | |
| }; | |
| var getParseUrl = function (className) { | |
| return "https://api.parse.com/1/classes/" + className; |
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
| /* script: venues.fs.search */ | |
| /* This script endpoint: /plugin/venues.fs.search */ | |
| on('install',function(installEvent){ | |
| var success = Box.DB.createCollection('venues-cache-queries'); | |
| var success = Box.DB.createCollection('venues-cache-answers'); | |
| return 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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <meta http-equiv="Content-Language" content="en" /> | |
| <meta name="Author" content="Pawel Pabian, Pawel Nejczew http://implix.com" /> | |
| <title>Demonstrates how to add new contact to campaign.</title> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></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
| //this object maps GSheet column into convenient placeholders used into GDocs templates | |
| var columns_placeholder_map = { | |
| "chronological information" : "date_time", | |
| "Please, insert the company name" : "company_name", | |
| "Company director first name" : "first_name", | |
| "Company director last name" : "last name", | |
| "Price (in $)" : "price" | |
| //... | |
| //... | |
| } |
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
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
OlderNewer