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
console.log('hello-console') |
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
(function() { | |
var timer = 0; | |
var screenViewport = window.innerHeight; | |
var documentHeight = document.documentElement.scrollHeight; | |
var scrollPositions = { | |
0: 0, | |
25: parseInt((documentHeight / 100) * 25, 10), | |
50: parseInt((documentHeight / 100) * 50, 10), | |
75: parseInt((documentHeight / 100) * 75, 10), | |
100: parseInt(documentHeight - (screenViewport / 2), 10) |
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
--- | |
- name: Create container | |
hosts: localhost | |
gather_facts: yes | |
tasks: | |
- name: Create Drupal container | |
register: new_container | |
docker_container: | |
privileged: yes | |
state: started |
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 https = require('https'); | |
var parse = require("url").parse; | |
exports.handler = async (data) => { | |
const chatURL = process.env.CHAT_URL | |
if (!chatURL){ | |
return { | |
statusCode: 400, | |
body: JSON.stringify('missing google chat webhook'), |
OlderNewer