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 props = context.getCustomProperties(); | |
console.log("establishment: " + props["establishment"].value); | |
console.log("city: " + props["city"].value); | |
console.log("state: " + props["state"].value); | |
var user = context.getUser(); | |
console.log(user.ipAddress); | |
$.ajax({ | |
type: 'POST', |
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
<html> | |
<body> | |
<script type="text/javascript" src ="https://widget.instabot.io/jsapi/rokoInstabot.js"> | |
apiKey: "x4UqwORVpBXbysB6NpeFbeKdLYRRGVkIhKg1wYU2k1c=", | |
userName: function() { | |
//*** | |
// YOUR DEVELOPER MUST COMPLETE THIS PART | |
//*** | |
var username = <EMAIL-ADDRESS-OF-THE-USER-THAT-JUST-LOGGED-IN>; |
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
<script type="text/javascript" src ="//widget.instabot.io/jsapi/rokoInstabot.js"> | |
apiKey: "x4UqwORVpBXbysB6NpeFbeKdLYRRGVkIhKg1wYU2k1c=" | |
</script> |
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
data = { | |
:"email" => self.email, | |
:"userName" => self.email, | |
:"userPassword" => "password", | |
:"FirstName" => self.name, |
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
#!/bin/sh | |
start_time=0 | |
duration=0 | |
fps=10 | |
scale=640 | |
palette="/tmp/palette.png" | |
filters="fps=$fps,scale=$scale:-1:flags=lanczos" |
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
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Test Layout</title> | |
<style type="text/css"> | |
body, html | |
{ | |
margin: 0; padding: 0; height: 100%; overflow: hidden; | |
} | |
#content |
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
<script type="text/javascript">(function (i, s, o, u, a, m) { a = s.createElement(o); a.innerHTML = 'apiKey: "O/R97Wgd+mGzIXfpGOppwHBVhugnMnzbACwSJDOcmKc="'; tags = s.getElementsByTagName(o); m = tags[tags.length - 1]; a.async = 1; a.src = u; m ? m.parentNode.insertBefore(a, m) : s.body.appendChild(a); })(window, document, "script", "//app.instabot.io/jsapi/v2/rokoInstabot.js");</script> |
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
window.WebhookUtils = { | |
parseOrderStatus: function(ordersObj) { | |
var returnString = ""; | |
var orderNumber = ordersObj.orderNumber; | |
var orderStatus = ordersObj.orderStatus; | |
if ( (orderStatus) == "in_progress") { | |
returnString = "Your shipment " + orderNumber + " containing `shipment products` is being shipped by `carrier`. It is currently `status` and is estimated to arrive at `estimated_delivery_date"; |
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
{ | |
"success": true, | |
"data": { | |
"service": "bookly", | |
"fields": [ | |
{ | |
"name": "category", | |
"label": "Category - 1st dropdown", | |
"options": [ | |
{ |
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
window.WebhookUtils = { | |
upperCase: function (val) { | |
if (val) { | |
val = val.toUpperCase(); | |
} | |
return val; | |
}, | |
// Lowercase transformation: | |
lowerCase: function (val) { | |
if (val) { |
NewerOlder