Skip to content

Instantly share code, notes, and snippets.

blueprint:
name: Zooz ZEN76 Remote scene control with hold support.
description: |
Use the Zooz ZEN76 remote to trigger Scenes and control devices based on varying scenes.
This Blueprint is currently configured for the zwaveJS platform.
domain: automation
input:
myString = 'This is a test!'
myOtherString = 'This is another test'
print('This is a test!' == 'This is a test!')
print(myString == 'This is a test!')
print('myString' == myString)
print(myString == myOtherString)
print('This is another test' == 'This is another test')
print('This is another test' == myOtherString)
blueprint:
name: Zooz ZEN34 Remote scene control
description: |
Use the Zooz ZEN34 remote to trigger Scenes and control devices based on varying scenes.
This Blueprint is currently configured for the zwaveJS platform.
domain: automation
input:
[tag]
sort = -version:refname
[credential]
helper = manager
[alias]
versions = tag --sort=v:refname
glog = log --pretty --graph --oneline
[user]
name = Zachary Shuford
email = zshuford@gmail.com
@Pharylon
Pharylon / tsrc.json
Created December 30, 2019 14:42
Typescript React Snippet
{
// Place your snippets for typescriptreact here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
@Pharylon
Pharylon / gist:7844378
Created December 7, 2013 16:03
Binary Clock
CON
_clkmode=xtal1+pll16x
_xinfreq=5_000_000 '5Mhz Crystal
CLK_FREQ = ((_clkmode-xtal1)>>6)*_xinfreq
MS_001 = CLK_FREQ / 1_000
HPin = 27
MPin = 26
SPin = 16
@Pharylon
Pharylon / BadgeSnake.spin
Last active December 18, 2015 20:49
Snake for Hackerspace Badges
CON
_clkmode=xtal1+pll16x 'Run at 16x5 = 80mhz!
_xinfreq=5_000_000 'We are using a 5Mhz Crystal
GameSpeedMultiplier = 5
StartingPixels = 4
XBounds = 7
YBounds = 6
S2Pin = 17
S3Pin = 18
CON
_xinfreq=5_000_000 'We are using a 5Mhz Crystal
_clkmode=xtal1+pll8x 'Run at 16x5 = 80mhz!
S2Pin = 17
S3Pin = 18
S4Pin = 19
VAR
byte outArray[100]
byte message[4000] 'If your message is 10 characters, each character is 8x7 (56)bytes so 56*10=560 bytes.
CON
_xinfreq=5_000_000 'We are using a 5Mhz Crystal
_clkmode=xtal1+pll8x 'Run at 16x5 = 80mhz!
S2Pin = 17
S3Pin = 18
S4Pin = 19
VAR
byte outArray[100]
byte message[4000] 'If your message is 10 characters, each character is 8x7 (56)bytes so 56*10=560 bytes.
@Pharylon
Pharylon / gist:4502183
Last active December 10, 2015 22:28
FizzBuzz
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)