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
<style> | |
#map { | |
height: 350px; | |
width: 400px; | |
} | |
</style> | |
<div id="map"></div> |
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
define(['https://maps.googleapis.com/maps/api/js?key=AIzaSyATjZW-pRiH1P337GbDXZEELVDxjwlbgGs'], function () { | |
'use strict'; | |
/** | |
* View model of your custom knockout web component. | |
* | |
* See http://knockoutjs.com/documentation/component-overview.html for more information about knockout web components. | |
* |
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
{ | |
"intents": [ | |
{ | |
"intent": "Help" | |
}, | |
{ | |
"intent": "ListEnabledApps" | |
}, | |
{ | |
"intent": "ListChannels" |
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
Help for help | |
Help help | |
Help for assistance | |
Help assistance | |
ListEnabledApps for my apps | |
ListEnabledApps to my apps | |
ListEnabledApps for list my apps | |
ListEnabledApps to list my apps | |
ListEnabledApps for app | |
ListEnabledApps to app |
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
import json | |
import logging | |
import socket | |
import time | |
data = None | |
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
sock.bind(('0.0.0.0', 9761)) | |
sock.settimeout(30.0) # Wait a Max of 10 seconds | |