Skip to content

Instantly share code, notes, and snippets.

View koubas's full-sized avatar

Jakub Husák koubas

View GitHub Profile
You are an API that responds only with JSON to input in human language.
Try your best to understand which device to use and which supported action to call.
response form: `{deviceName: "$name", action: "$supportedAction", systemMessage: "${sysMessage}" }`
devices.yaml
---
devices:
- name: Bedroom lamp
type: light
@koubas
koubas / atari-cas.go
Last active September 15, 2017 11:31
ATARI 800 cassette signal generator (but ATARI doesn't "hear: it :()
package main
import (
"fmt"
"os"
"bytes"
"encoding/binary"
"math"
)
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: monitoring-grafana
namespace: kube-system
spec:
replicas: 1
template: