Matelight im Verschwörhaus
Benötigt wird:
- Matekiste (mit möglichst sauberer Unterseite)
- Mateflaschen (leer)
- Alufolie + Tesa
- WS2811 5v LED-Kette. LEDs einzeln, in "Daumenform" (eBay)
Benötigt wird:
from PIL import Image | |
import socket | |
import random | |
#░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | |
#░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | |
#░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | |
#░░░░░░░░░░░▓▓▓▓▓▓▓▓░░▐▓▓▌░░░░░▓▓▌░▐▓▓▓▓▓▓▓▓▓▄░░░▓▓▓▓▓▓▓▓▓▓▌░░▓▓▓▓▓▓▓▓▓▓░░░░░░░░░ | |
#░░░░░░░░░░▓▓▓█░░░░░░░░▓▓▓▄░░▄▓▓▓░░▐▓▓▓░░░░▓▓▓▌░░▓▓▓░░░░░░░░░░▓▓▓░░░░▐▓▓▌░░░░░░░░ | |
#░░░░░░░░░▓▓▓▀░░░░░░░░░░█▓▓▓▓▓▓█░░░▐▓▓▓░░░░▓▓▓▌░░▓▓▓░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▌░░░░░░░░ |
sudo raspi-config
and change the hostname to matelight
. reboot./usr/local/bin
and copy the networked configuration example to /etc
git clone https://github.com/scanlime/fadecandy
cd fadecandy
sudo mv bin/fcserver-rpi /usr/local/bin
sudo cp examples/config/networked.json /etc/fadecandy.json
I hereby claim:
To claim this, I am signing this object:
BEGIN { | |
STARTTIME=systime() | |
} | |
/--/ { | |
# $1 = day | |
# $2 = time | |
gsub(/--/, "", $1); | |
gsub(/--/, "", $2); | |
DAY=$1 | |
TIME=$2 |
1. Download hubot-1.0.6.tar.gz from https://github.com/github/hubot/downloads | |
2. Extract it | |
3. Download hubot source as tar.gz ("Download as .tar.gz"-Button) from https://github.com/github/hubot/downloads | |
4. Download hubot-scripts as tar.gz from https://github.com/github/hubot-scripts/downloads | |
5. Open terminal, cd into your hubot directory from Step 2. | |
6. run: npm install /path/to/downloaded/github-hubot-v1.0.6-11-gc25ac66.tar.gz && npm install /path/to/downloaded/github-hubot-scripts-v1.0.4-0-g97b9c21.tar.gz | |
7. run hubot with bin/hubot |
_ = $_ = +[], /* 0 */ | |
$ = +!_, /* 1 */ | |
_$ = !_ + '', /* "true" */ | |
_$$ = !$ + '', /* "false" */ | |
__ = ({}) + '', /* "[object Object]" */ | |
_$_ = ($ / _) + '', /* "Infinity" */ | |
__$ = __[$ + $ + $ + $ + $]; /* "c" */ | |
$_$ = [][__$ + __[$] + _$_[$] + __$ + _$$[$] + _$[_]]; /* function concat() { [native Code] } */ | |
/* -> []["c" + ("[object Object]")[1] + ("Infinity")[1] + "c" + ("false")[1] + ("true")[0] ] */ |
require 'formula' | |
class Jpeg < Formula | |
url 'http://www.ijg.org/files/jpegsrc.v8c.tar.gz' | |
version '8c' | |
md5 'a2c10c04f396a9ce72894beb18b4e1f9' | |
homepage 'http://www.ijg.org' | |
def install | |
# ENV.universal_binary # not on lion |