Skip to content

Instantly share code, notes, and snippets.

View spencermamer's full-sized avatar

Spencer Mamer spencermamer

View GitHub Profile
@spencermamer
spencermamer / inovelli_vzm31-sn.yaml
Created May 14, 2024 13:23 — forked from starbuck93/inovelli_vzm31-sn.yaml
Inovelli Blue Series 2-in-1 blueprint demo for Home Assistant
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
@spencermamer
spencermamer / 0_reuse_code.js
Created February 3, 2016 13:03
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@spencermamer
spencermamer / README.md
Last active August 29, 2015 14:17 — forked from tmcw/README.md
@spencermamer
spencermamer / README.md
Last active August 29, 2015 14:07 — forked from tmcw/README.md
@spencermamer
spencermamer / weekgram.js
Last active August 29, 2015 14:07 — forked from tmcw/weekgram.js
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);
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