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
Item{19} | |
author (Map){6} | |
adminLevel (Number): 2 | |
fName (String): John | |
id (String): e22e1f3b-e248-4a81-b243-9c6a60c8d377 | |
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
swagger: '2.0' | |
info: | |
title: Paris Comments API | |
description: Provide virtual classroom feature for online education | |
version: "1.0.0" | |
# the domain of the service | |
host: api.jumpcut.com | |
# array of all schemes that your API supports | |
schemes: | |
- https |
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/bash | |
echo "-- New Migration" > "`dirname $0`/../src/main/resources/db/migrations/V`date +%s`__$1.sql" |
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
mutation createHtmlTag { | |
createHtmlTag( | |
data: { | |
title: "SPACETIME" | |
selector: "head" | |
isGlobal: false | |
position: PREPEND_TO | |
html: "<script\n src=\"https://unpkg.com/spacetime@5.9.1/builds/spacetime.min.js\"\n ></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
mutation createHtmlTag{ | |
createHtmlTag(data: { | |
title: "JQUERY" | |
isGlobal: true | |
selector: "head" | |
position: PREPEND_TO | |
html: "<script\n src=\"https://code.jquery.com/jquery-1.11.2.min.js\"\n crossorigin=\"anonymous\"></script>" | |
}) { | |
htmlTagId | |
} |
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
function getElementByTagAndText(tag, text) { | |
var xPath = "//" + tag + "[contains(text(), '" + text + "')]"; | |
return document.evaluate(xPath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
} | |
function getDate(timewaitValue) { | |
if (!timewaitValue || !spacetime) { | |
return 'soon'; | |
} |
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
function fixCFHeaders() { | |
var $head = document.getElementsByTagName('head')[0]; | |
var $firstMeta = document.getElementsByTagName('meta')[0]; | |
var $node = document.createElement('meta'); | |
$node.setAttribute('property', 'fb:app_id'); | |
$node.setAttribute('content', '1688345434786806'); | |
$head.insertBefore($node, $firstMeta); | |
} |
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
# mutation createHtmlTag{ | |
# createHtmlTag(data: { | |
# title: "FB_OPTIONS" | |
# isGlobal: false | |
# position: PREPEND_TO | |
# selector: "head" | |
# html: "<script>$(document).ready(function setFBCommentOptions() {\n $fbCommentSection = document.querySelector('.fb-comments');\n\n $fbCommentSection.setAttribute('data-order-by', 'reverse_time');\n $fbCommentSection.setAttribute('data-width', '100%');\n\n // Forcing fb comments iframe to have 100% width because facebook just won't fix\n // their own bug https: //developers.facebook.com/support/bugs/256568534516879/#_=_\n $fbCommentsWidthStyleTag = '<style>.fb-comments iframe {width: 100% !important;}</style>';\n $('head').append($fbCommentsWidthStyleTag);\n});</script>" | |
# }) { | |
# htmlTagId | |
# } |
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
(function startCountdown() { | |
var funnelAccess = window.__TSUNAMI__.funnelAccess; | |
var currentStep = funnelAccess.find(function(access) { | |
if (access.isCurrentStep) { | |
return true; | |
} | |
return false; | |
}); |
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
(function vaCTADelayScript() { | |
var funnelAccess = window.__TSUNAMI__.funnelAccess; | |
var currentStep = funnelAccess.find(function(access) { | |
if (access.isCurrentStep) { | |
return true; | |
} | |
return false; | |
}); |
OlderNewer