Skip to content

Instantly share code, notes, and snippets.

View buzztiaan's full-sized avatar
🍑
peachy

buZz buzztiaan

🍑
peachy
View GitHub Profile
/***************************************************
Adafruit MQTT Library ESP8266 Example
Must use ESP8266 Arduino from:
https://github.com/esp8266/Arduino
Works great with Adafruit's Huzzah ESP board & Feather
----> https://www.adafruit.com/product/2471
----> https://www.adafruit.com/products/2821
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@buzztiaan
buzztiaan / twitch-doge-donationbot-v1.1.sh
Last active April 14, 2019 11:21
Dogecoin BIP32 derivative address display with incoming transaction notification (for use on Twitch)
#!/bin/bash
# bip32 derived address display thingy with transaction notification
# buZz github.com/buzztiaan
# democlip on https://www.youtube.com/watch?v=e_V9V7n2p_I
# depends on:
# - pycoin (with small patch for DOGE : https://github.com/richardkiss/pycoin/issues/332)
# - jq
@buzztiaan
buzztiaan / gist:07e5844508c9fb5334fe026518c4e030
Last active March 5, 2019 19:41
sent to segwit address by accident
say, you make a new bitcoin address and leave it in your copy paste buffer
then you remember you had to send 1M dogecoin, and paste the address by accident
OMG COINS LOST
or are they?
background of the method this uses ;
https://www.reddit.com/r/btc/comments/6z56x3/attention_benevolent_bch_miners_a_bch/
@buzztiaan
buzztiaan / cheerlights-nov2018.ino
Created November 28, 2018 03:49
Arduino ESP8266 Cheerlights animating implementation
// cheerlights attempt using that mqtt service somewhere
// buZz NURDspace
// nov 2018
// rebuilt from adafruits' mqtt_esp8266_callback example
#include <ESP8266WiFi.h>
#include "Adafruit_MQTT.h"
#include "Adafruit_MQTT_Client.h"
#include "Adafruit_NeoPixel.h"
@buzztiaan
buzztiaan / test3.stl
Created September 19, 2018 14:29
getting there
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@buzztiaan
buzztiaan / test2.stl
Created September 19, 2018 12:08
new controller test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@buzztiaan
buzztiaan / build neos.txt
Last active July 23, 2018 21:16
How to build neos on a fresh debian or alike
# how to build the new neos v3 wallet on debian 8/9 based distros
# buZz 23 july 2018 , i live on irc #neoscoin
# send your thanks to NXQGBzgQBi7pcjhYcBg5aA3ue1z2MfX4bB ;)
# tested on ;
# - debian jessie (8.x)
# - ubuntu 16.04
# - debian stretch (9.x) (needs libssl1.0-dev)
# - ubuntu 18.04 (needs libssl1.0-dev)
@buzztiaan
buzztiaan / half_font.h
Created April 12, 2018 18:10
a 4x4 pixels font
// 4x4 pixel font, horrible, unreadable :)
const int CHAR_WIDTH = 4;
const int CHAR_HEIGHT = 4;
byte halffont[95][4] = { {0,0,0,0}, //space
{0,0,0,0}, // !
{0,0,0,0}, // "
{0,0,0,0}, // #
{0,0,0,0}, // $
@buzztiaan
buzztiaan / gist:3400de7c57c98411c3339e0375c6f711
Created January 15, 2018 02:51
set all art-net channels on
#!/usr/bin/env perl
use IO::Socket::INET;
my $sig = 'Art-Net'.pack('x');
my $op = pack('v', 0x5000);
my $ver = pack('n', 14);
my $seq = pack('x');
my $phy = pack('x');