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
IMAGE_NAME = "bento/ubuntu-16.04" | |
N = 2 | |
Vagrant.configure("2") do |config| | |
config.ssh.insert_key = false | |
config.vm.provider "virtualbox" do |v| | |
v.memory = 1024 | |
v.cpus = 2 | |
end |
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
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: dashboard-ingress | |
namespace: kube-system | |
annotations: | |
kubernetes.io/ingress.class: "nginx" | |
nginx.org/ssl-services: kubernetes-dashboard | |
nginx.ingress.kubernetes.io/rewrite-target: /$2 | |
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" |
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
'use strict'; | |
const Alexa = require('alexa-sdk'); | |
const APP_ID = process.env.ALEXA_APP_ID; | |
const awsIot = require('aws-iot-device-sdk'); | |
const device = awsIot.device({ | |
keyPath: <YourPrivateKeyPath>, | |
certPath: <YourCertificatePath>, | |
caPath: <YourRootCACertificatePath>, | |
clientId: <YourUniqueClientIdentifier>, | |
host: <YourCustomEndpoint> |
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
exports.execs = { | |
'tv-on': 'sudo irsend SEND_ONCE TV KEY_PLAY', | |
'tv-input-change': 'sudo irsend SEND_ONCE TV KEY_SELECT', | |
'tv-channel-down': 'sudo irsend SEND_ONCE TV KEY_CHANNELDOWN', | |
'tv-channel-up': 'sudo irsend SEND_ONCE TV KEY_CHANNELUP', | |
'tv-volume-down': 'sudo irsend SEND_ONCE TV KEY_VOLUMEDOWN', | |
'tv-volume-up': 'sudo irsend SEND_ONCE TV KEY_VOLUMEUP', | |
'tv-up': 'sudo irsend SEND_ONCE TV KEY_UP', | |
'tv-down': 'sudo irsend SEND_ONCE TV KEY_DOWN', | |
'tv-left': 'sudo irsend SEND_ONCE TV KEY_LEFT', |
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
"use strict"; | |
Object.defineProperty(exports, "__esModule", { value: true }); | |
const express = require("express"); | |
const ejs = require("ejs"); | |
const favicon = require("serve-favicon"); | |
const path = require("path"); | |
const routes_1 = require("./routes"); | |
const root = __dirname + '/'; | |
const app = express(); | |
app.use(favicon(path.join(__dirname, 'favicon.ico'))); |