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
#https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-appo | |
# eval (sed -n '2p' < file.txt) | |
# will evaluate the command on a given line of a file (i.e. line 2) | |
#================================================== | |
# NOTES | |
#================================================== | |
We are going to create the following entities: |
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 sendMsgToSW(){ | |
sendMessage({ | |
command: 'helloWorld', | |
url: 'foo' | |
}).then(function(val) { | |
// If the promise resolves, just display a success message. | |
writeLog('postMessage promise returned'); | |
writeLog(val); | |
return val; | |
}).catch(console.error); |
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
{ | |
"name": "Push Testing", | |
"strategies": [ | |
{ | |
"name": "Single Serverz", | |
"description": "Single PushGo server, 2 sets of testers for peak of 200k connections.", | |
"container_sets": [ | |
{ | |
"name": "Test Cluster", | |
"instance_count": 1, |
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 loadPage(address, route, lang){ | |
page.customHeaders = {'accept-language': lang}; | |
var address = url + route; | |
var docLocator; | |
var fxaHeader; | |
if (page === 'signup'){ | |
docLocator = 'sign-up'; | |
fxaHeader = "fxa-signup-header"; | |
}else if(page === 'signin'){ |