This is a script made to work nodejs. It requires node-canvas. It uses data from minute-agent
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
blueprint: | |
name: Z2M - Inovelli 2-in-1 switch + dimmer Scene Controls | |
description: | | |
For Inovelli Blue Series 2-in-1 switch + dimmer, model VZM31-SN | |
Allows setting a few different actions such as 2,3,4,5 clicking the up/down and config buttons. | |
domain: automation | |
input: | |
switch: | |
name: Switch |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This is a script made to work nodejs. It requires node-canvas. It uses data from minute-agent
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
var Canvas = require('canvas'), | |
fs = require('fs'); | |
var c = new Canvas(1000, 400); | |
var ctx = c.getContext('2d'); | |
var w = 1000; | |
ctx.fillStyle = '#fff'; | |
ctx.fillRect(0, 0, 1000, 400); |
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
rm -rf ~/.gem* | |
gem install bundler | |
PATH=$PATH:/usr/lib/ruby/gems/1.8/bin | |
cd ~ | |
git clone git://github.com/chiliproject/chiliproject.git | |
cd chiliproject | |
git checkout stable |