I hereby claim:
- I am rduplain on github.
- I am rduplain (https://keybase.io/rduplain) on keybase.
- I have a public key ASBpT-VcyhSXJu1CXyxN0b1TgOZANozAJFVXKVeZSPaxjQo
To claim this, I am signing this object:
blueprint: | |
name: Zooz Paddle Scene Control (Z-Wave JS) | |
description: Zooz Dimmer/Switch Paddle Scene Control (ZEN21/ZEN22/ZEN27/...) | |
domain: automation | |
input: | |
switch: | |
name: Zooz Device | |
description: Paddle supporting up/down 1-5x presses. Note that scene control adds actions to run alongside default behavior (and does not replace defaults). | |
selector: | |
device: |
# Copied from blhoward2 at https://community.home-assistant.io/t/zen32-scene-controller-z-wave-js/292610/8?u=mattmattmattmatt | |
# Modified by MattMattMattMatt for clarity on button / scene associations. | |
blueprint: | |
name: ZEN32 (Z-Wave JS) | |
description: Create automations for the Zooz ZEN32 switch using the Z-Wave JS integration. | |
domain: automation | |
input: | |
zooz_switch: | |
name: Zooz Switch | |
description: List of available Zooz ZEN32 switches. |
#!/bin/sh | |
# Use grub to boot .iso files directly from /boot/iso. | |
# | |
# This file lives at /etc/grub.d/25_iso and is executable. | |
# | |
# Open .iso files to inspect internal /boot files for grub config hints. | |
# /boot is on the third partition of a gpt-partitioned USB drive. | |
ISO_PART_UUID="0a5086cd-8fdf-4ae0-a248-67411ebbbb18" # UUID of /boot `blkid`. | |
ISO_PART_NUMBER=3 |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# Detect Amazon Dash button network broadcast, toggle LIFX power based on MAC. | |
# | |
# Usage, with Amazon Dash buttons connected to LAN WiFi (see below for setup): | |
# | |
# 0. Configure `BUTTONS` with MAC to LIFX selector & `LIFX` with token. | |
# 1. Configure network firewall to block WAN out from dash MAC. | |
# 2. Install dependencies with `pip install requests scapy` on Python 3. | |
# 3. Run as root. | |
# |
Configuration management that runs over SSH, namely Ansible, benefits in having test machines available on the network. The enclosed Vagrantfiles provide multiple virtual machines to run as guests on the developer's machine. The guests appear as hosts on the LAN, providing a local ephemeral cloud.
The virtual machines here are similar, but different. One provides **Ubuntu
#!/usr/bin/env bash | |
# Refresh /etc/hosts file with unpublished IPv4 aliases. | |
# | |
# Set /etc/hosts.alias with domain/alias pairs, one pair per line: | |
# | |
# example.com server-alias | |
# example.net another | |
# | |
# https://github.com/rduplain/hosts |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.guest = :freebsd | |
config.vm.box = "freebsd/FreeBSD-11.3-RELEASE" | |
config.vm.box_version = "2019.07.05" | |
config.vm.box_check_update = false |
# qwerty.sh nginx configuration | |
# | |
# gzip is enabled, but only used by clients requesting it: | |
# | |
# curl -H 'Accept-Encoding: gzip,deflate' -sSL qwerty.sh | |
server { | |
listen 80; | |
server_name qwerty.sh www.qwerty.sh; |