Skip to content

Instantly share code, notes, and snippets.

blueprint:
name: flashing lights
description: 'Flashing lights via on off and delay and finally restore the previous
light states.
'
domain: automation
source_url: https://community.home-assistant.io/t/simple-flashing-lights-via-on-off-and-delay-restore-previous-light-states/258099
input:
activated:
@tzapu
tzapu / demo-3box-donation.md
Created January 14, 2019 22:34
Demo ethereum donation page
did:muport:QmS6oWgLt36zQ62PFkkuL5TQaeg3j61fcooMKCCUcAZ9Vg
@tzapu
tzapu / 3box-demo-instructions.md
Last active January 14, 2019 22:39
Demo instructions to verify the ownership of the White Hat Group's Ethereum address

This is part of a demo showcasing the power and flexibility of the integration between the Alethio's Ethstats block explorer and 3Box's Social Profiles

Ideally this file would contain instructions about what happened, how to verify the validity of the claims and what could people expect to happen next.

Some reference urls that could be used/posted here:

@tzapu
tzapu / gist:f47924daae9d64b65fdfaf92b64f587c
Last active September 3, 2021 20:50
connecting to a kubernets hosted kafka cluster from macOS
# you will need to alias the internal kube IPs to your loopback interface
# get pods with IPs
kubectl get pods -n kafka -o wide
# add aliases
sudo ifconfig lo0 100.101.168.109 alias
sudo ifconfig lo0 100.117.38.251 alias
sudo ifconfig lo0 100.121.158.154 alias
@tzapu
tzapu / parity-responses.log
Created December 6, 2017 05:55
trace log of parity no longer returning filtered pending transactions
This file has been truncated, but you can view the full file.
2017-12-06 05:34:58 UTC TRACE rpc Request: {"jsonrpc":"2.0","method":"eth_getFilterChanges","params":["0x0"],"id":3235237269844622367}.
0xB274E703527B34fDD4cFf3C565616Ce43264F668
@tzapu
tzapu / faucet.eth
Created July 12, 2017 08:40
rinkeby eth faucet test
0x70B70196696a04E5DbE49883425A0adEa8d2fa84
@tzapu
tzapu / docker-compose.yml
Last active September 26, 2022 05:13
docker compose file for local server, plex, transmission, sonarr, radarr, ombi, netdata, nextcloud
version: '2.1'
services:
transmission:
container_name: transmission
image: dperson/transmission
restart: unless-stopped
depends_on:
- plex
network_mode: host
environment:
@tzapu
tzapu / index.html
Created December 8, 2016 12:24
meteore-desktop-system-notifications
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Background</title>
</head>
   <body>
<script>
require('./renderer.js')
</script>