Skip to content

Instantly share code, notes, and snippets.

View buzztiaan's full-sized avatar
🍑
peachy

buZz buzztiaan

🍑
peachy
View GitHub Profile
# BetaFlight/SPRACINGF3EVO 3.0.1 Oct 18 2016 / 10:36:44 (48b7b4f)
# dump
# version
# BetaFlight/SPRACINGF3EVO 3.0.1 Oct 18 2016 / 10:36:44 (48b7b4f)
# name
name -
Verifying my Blockstack ID is secured with the address 1Kk6P24bgW1WzxaQby3a7ifeJy6JE48wCF https://explorer.blockstack.org/address/1Kk6P24bgW1WzxaQby3a7ifeJy6JE48wCF
@buzztiaan
buzztiaan / gist:941e8df18a7d4b13dd4c92f51aa65581
Created July 6, 2017 14:07
copy latest 2 files from all subdirs
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
SET HENK=
SET TRUUS=
SET ROOT=%1
SET ROOT=%ROOT:~1%
SET ROOT=%ROOT:~0,-1%
#!/usr/bin/env python
from bitcoinrpc import authproxy
import pprint
import sys
import datetime
import pandas as pd
import ast
@buzztiaan
buzztiaan / gist:fce50252924c38df1e066d39df935165
Last active February 11, 2018 02:28
some bitcoin handy things
# import all privkeys
cat FILEWITHALLPRIVKEYS | xargs -I {} ./bitcoin-cli importprivkey {} "" false
# find all addresses in wallet
./bgold-cli listaddressgroupings | grep \"G | cut -b 8- | cut -b -34 > addresses
# import addresses you have (dno why this was needed)
cat addresses | xargs -I {} ./bgold-cli importaddress {} "" false
# greg's 'throw blocks around' oneliner
@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');
@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 / 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 / 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 / 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.