This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
use IO::Socket::INET; | |
use Time::HiRes qw( gettimeofday tv_interval usleep ); | |
my $sock = new IO::Socket::INET(PeerAddr => '10.208.42.159', | |
PeerPort => 5003, | |
Proto => 'udp', Timeout => 1) or die('Error opening socket.'); | |
my $x; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pixelflut on a ESP8266 with a HD44780 on a PCF8574 'i2c lcd backpack' | |
// yeah pretty silly :) | |
// 2019-09-18 buZz NURDspace.nl | |
#include <LiquidCrystal_PCF8574.h> | |
#include <Wire.h> | |
#include <ESP8266WiFi.h> | |
#include <WiFiUdp.h> | |
#define MAXBUF 4096 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
now=$(date +%s) | |
dayago=$(( $now - 86400 )) | |
prevstate="banana"; | |
totaldischargetime=0; | |
while read -r line; do |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// esp8266 pixelflut server with a SSD1306 oled 128x64 screen | |
// only ascii PX x y RRGGBB\n supported for now, no SIZE or RRGGBBAA or binary protocol | |
#include <Wire.h> | |
#include "SSD1306Wire.h" | |
#include <ESP8266WiFi.h> | |
#include <WiFiUdp.h> | |
#define MAXBUF 4096 |