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
/* | |
* Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
* Licensed under the Apache License, Version 2.0 (the "License"). | |
* You may not use this file except in compliance with the License. | |
* A copy of the License is located at | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* or in the "license" file accompanying this file. This file is distributed | |
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | |
* express or implied. See the License for the specific language governing |
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
/* | |
* Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
* Licensed under the Apache License, Version 2.0 (the "License"). | |
* You may not use this file except in compliance with the License. | |
* A copy of the License is located at | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* or in the "license" file accompanying this file. This file is distributed | |
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | |
* express or implied. See the License for the specific language governing |
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
/* | |
* Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
* Licensed under the Apache License, Version 2.0 (the "License"). | |
* You may not use this file except in compliance with the License. | |
* A copy of the License is located at | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* or in the "license" file accompanying this file. This file is distributed | |
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | |
* express or implied. See the License for the specific language governing |
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
/* global Module */ | |
/* Magic Mirror | |
* Module: Calendar | |
* | |
* By Michael Teeuw http://michaelteeuw.nl | |
* MIT Licensed. | |
*/ | |
Module.register("calendar", { |
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 | |
UPDATE_SCRIPT="do_update.sh" | |
ENV="${RASA_HOME}/.env" | |
TMP_PLAYBOOK="/tmp/playbook.yml" | |
TMP_COMPOSE="/tmp/compose.yml" | |
rm ${TMP_PLAYBOOK} | |
rm ${TMP_COMPOSE} | |
wget -qO ${TMP_PLAYBOOK} https://storage.googleapis.com/rasa-x-releases/stable/rasa_x_playbook.yml | |
wget -O ${TMP_COMPOSE} https://storage.googleapis.com/rasa-x-releases/stable/docker-compose.ce.yml | |
echo \#\!/bin/bash > ${UPDATE_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
from rasa_nlu.featurizers import Featurizer | |
import tensorflow_hub as hub | |
import tensorflow as tf | |
import logging | |
logger = logging.getLogger(__name__) | |
class UniversalSentenceEncoderFeaturizer(Featurizer): | |
"""Appends a universal sentence encoding to the message's text_features.""" |
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
# Update the Raspberry Pi | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get dist-upgrade -y | |
# Install initial build dependencies | |
# Provides | |
# Enables pip3.6 to access pypi | |
sudo apt-get install libbz2-dev libssl-dev -y |
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
FROM debian:buster | |
RUN echo `date` | |
RUN apt-get update -qq && \ | |
apt-get install -y --no-install-recommends \ | |
libbz2-dev \ | |
libssl-dev \ | |
xz-utils \ | |
wget \ |
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
# endpoints.yml | |
# action_endpoint: | |
# url: "http://app:5055/webhook" | |
version: "3.4" | |
services: | |
duckling: | |
restart: always | |
image: "rasa/duckling:latest" | |
ports: |
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://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | |
https://mirror1.malwaredomains.com/files/justdomains | |
http://sysctl.org/cameleon/hosts | |
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt | |
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt | |
https://hosts-file.net/ad_servers.txt | |
https://hosts-file.net/grm.txt | |
https://reddestdream.github.io/Projects/MinimalHosts/etc/MinimalHostsBlocker/minimalhosts | |
https://raw.githubusercontent.com/StevenBlack/hosts/master/data/KADhosts/hosts | |
https://raw.githubusercontent.com/StevenBlack/hosts/master/data/add.Spam/hosts |