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 / red_series_blueprint.yaml
Last active November 27, 2023 05:35
Notification Blueprint Inovelli
mode: parallel
variables:
# Set to true to create a "persistent_notification" with debugging information.
debug: '{{ iif(enable_debug is defined, enable_debug, false) }}'
entity_list: "{{ entity_id|default('switch.dining_room_lights') }}"
level: "{{ level|default(40)|int(default=0) }}"
duration: '{{ duration|default("Indefinitely")|title }}'
effect: '{{ effect|default("Blink")|title }}'
@spencermamer
spencermamer / # r - 2018-07-17_22-53-18.txt
Created July 18, 2018 03:54
r on macOS 10.14 - Homebrew build logs
Homebrew build logs for r on macOS 10.14
Build date: 2018-07-17 22:53:18
@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
Verifying I am +spencermamer on my passcard. https://onename.com/spencermamer
@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
### Keybase proof
I hereby claim:
* I am spencermamer on github.
* I am spencermamer (https://keybase.io/spencermamer) on keybase.
* I have a public key whose fingerprint is D555 64C7 B6F8 8825 D6AD A46D 4AA1 9FED 4B30 2DD0
To claim this, I am signing this object: