Skip to content

Instantly share code, notes, and snippets.

View sylvainblot's full-sized avatar
🏠
Working from home

Sylvain sylvainblot

🏠
Working from home
View GitHub Profile
@sylvainblot
sylvainblot / FiberOpticLamp.ino
Created November 10, 2016 12:52 — forked from AdySan/FiberOpticLamp.ino
Philips Hue Clone using ESP8266
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
#include <PubSubClient.h>
#include <Adafruit_NeoPixel.h>
#define PIN D8
Adafruit_NeoPixel strip = Adafruit_NeoPixel(6, PIN, NEO_GRB + NEO_KHZ800);
@sylvainblot
sylvainblot / gist:c9113a684124649b15022e870ab39972
Created October 22, 2016 09:40
alexa-avs-sample-app auto start script
pulseaudio --kill
pulseaudio --start
cd samples/companionService
nohup npm start&
cd ../javaclient
killall Xvfb
nohup Xvfb :1 -screen 0 800x600x16&
@sylvainblot
sylvainblot / bakeqtpi.bash
Last active August 29, 2015 14:26 — forked from keyz182/bakeqtpi.bash
Script to "Bake" the QT5 libraries for the Pi
#!/bin/bash
#This script will download, set up, compile QT5, and set up the SDCard image ready to use.
#Pass -h to use https for git
OPT=~/opt
CC=$OPT/gcc-4.7-linaro-rpi-gnueabihf
CCT=$OPT/cross-compile-tools
MOUNT=/mnt/rasp-pi-rootfs
QTBASE=$OPT/qt5