This file contains 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
# libcec compile tutorial: http://nyxi.eu/blog/2013/04/15/raspbian-libcec/ | |
# switch off TV | |
echo "tx 10 36" | cec-client -s | |
# switch on TV | |
echo "on 0" | cec-client -s | |
# or | |
echo "tx F0 36" | cec-client -s |
This file contains 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
[{"id":"89afb086.76505","type":"http in","name":"","url":"/presence","method":"get","x":118,"y":513,"z":"79c218da.863de8","wires":[["22302f8f.ddcfd"]]},{"id":"22302f8f.ddcfd","type":"function","name":"Inject state","func":"msg.presence = context.global.state\nreturn msg;","outputs":1,"x":336,"y":512,"z":"79c218da.863de8","wires":[["167cd70a.e98329"]]},{"id":"167cd70a.e98329","type":"template","name":"Build template","template":"<h3>Presence: {{presence}}!</h3>","x":541,"y":512,"z":"79c218da.863de8","wires":[["cd28a3e8.32d76"]]},{"id":"cd28a3e8.32d76","type":"http response","name":"","x":720,"y":512,"z":"79c218da.863de8","wires":[]}] |
This file contains 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
bin/elasticsearch | |
bin/plugin install mobz/elasticsearch-head // Broken in ES 2.0 | |
bin/kibana -dev | |
http://localhost:9200/ | |
http://localhost:9200/_plugin/head/ |