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
[ | |
{ | |
"action" : "talk", | |
"text": "Emergency announcement #2, Peter is presenting on stage, hope it's not a disaster!" | |
} | |
] |
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
var bleno = require('bleno'); | |
bleno.on('stateChange', function(state) { | |
console.log('State change: ' + state); | |
if (state === 'poweredOn') { | |
console.log('advertising') | |
bleno.startAdvertising('MyPeripheral',['12ab']); | |
} else { | |
bleno.stopAdvertising(); | |
} |
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
# Stage 1: Build | |
FROM debian:latest AS build-env | |
# Install flutter dependencies | |
RUN apt-get update | |
RUN apt-get install -y curl git wget unzip libgconf-2-4 gdb libstdc++6 libglu1-mesa fonts-droid-fallback python3 sed | |
RUN apt-get clean | |
# Clone the flutter repo | |
RUN git clone https://github.com/flutter/flutter.git /usr/local/flutter |
OlderNewer