Skip to content

Instantly share code, notes, and snippets.

View brianddk's full-sized avatar

brianddk

View GitHub Profile
@brianddk
brianddk / bitcoin-qt--help
Last active August 29, 2015 14:23
Bitcoin XT command line options
Bitcoin XT version v0.10.2.0-f5e7b23 (64-bit)
Usage:
bitcoin-qt [command-line options]
Options:
-? This help message
-alertnotify=<cmd> Execute command when a relevant alert is received or we see a really long fork (%s in cmd is replaced by message)
-blocknotify=<cmd> Execute command when the best block changes (%s in cmd is replaced by block hash)
-checkblocks=<n> How many blocks to check at startup (default: 288, 0 = all)
-checklevel=<n> How thorough the block verification of -checkblocks is (0-4, default: 3)
@brianddk
brianddk / 0_Readme.md
Last active August 29, 2015 14:24
Uses Bitcoin-RPC to create CPFP to sweep an unconfirmed transaction output into another transaction with higher fees
@brianddk
brianddk / 0_Readme.md
Last active September 9, 2015 13:01
Use PyBitcoinTools to make CPFP transaction with tip to bounty

More later...

@brianddk
brianddk / 1_TxIds.txt
Last active December 7, 2020 01:27
Check which TX confirmed on their own, and which haven't
Transactions:
504658563f231e71f79312e96da2cc13e779875ac262269b1b8f9f04e527dfc9
a1faf7b6db5bb4ef4a39911ca54152df57758e128cd19fbf16178aea59e06c87
b1346f1ab63dc90cb592028e1f7283f02b54e46afb35b9145ad91ac2a55877be
e61458c302d75b8e0925d4bb0da5466c0a76d60dce506cc766b2d3f160b1d0a5
Addresses:
1BwJgbMKb7nz4GZ3uTDTbpovzznTrBbyJE
1DnJ4rzDpSG5GJsXNyXE7f17rky8wc1RLT
1Q6M9Vyuv5RyeuqpgJfCUCWrM2yrSb45BD

Keybase proof

I hereby claim:

  • I am brianddk on github.
  • I am brianddk (https://keybase.io/brianddk) on keybase.
  • I have a public key whose fingerprint is C78D 0FBF B14D BF93 F04C F907 1201 7950 3FF7 6184

To claim this, I am signing this object:

-Get a Keybase Invite
-Install GnuPG 2.1.6 (modern)
-Install Node.js
-Create a PGP profile
-- gpg --full-gen-key
-- Make strong PW
- Save https://keybase.io/docs/server_security/our_code_signing_key
- gpg --import our_code_signing_key (have to edit a cr/lf)
- npm install -g keybase-installer
- keybase version (ignore cfg file warn)
@brianddk
brianddk / decFile.sh
Last active August 29, 2015 14:28
OpenSSL encryption
#!/bin/bash
# [rights] Copyright Dan B. (brianddk) 2015 https://github.com/brianddk
# [license] Licensed under Apache 2.0 https://www.apache.org/licenses/LICENSE-2.0
# [repo] https://gist.github.com/brianddk/a22febdca28f79ad58b0
# [tips] 18MDTTiqPM8ZEo29Cig1wfGdkLNtvyorW5
#Globals
scriptName="decFile.sh"
repoURL="https://gist.github.com/brianddk/a22febdca28f79ad58b0"
scriptURL="${repoURL}/raw/${scriptName}"
@brianddk
brianddk / Readme.md
Last active September 1, 2015 03:40
Gnu Privacy Guard on OS X without Administrator

Install GnuPG on OS X without Admin privilege

The current GnuPG installer requires Admin privilege to gain access to various system level directories. The goal of the HowTo is walk through the steps to get GnuPG into user space.

Steps from OS X terminal

  1. Move to home directory
  2. cd ~
  3. Download GnuPG
  4. curl -LO http://downloads.sourceforge.net/project/gpgosx/GnuPG-2.1.7.dmg
  5. curl -LO http://downloads.sourceforge.net/project/gpgosx/GnuPG-2.1.7.dmg.sig
@brianddk
brianddk / mcpe_zip.py
Last active October 27, 2015 18:21
Zip the last MCPE savegame
#!/usr/bin/env python2
#-*-coding:utf8;-*-
#qpy:2
#qpy:kivy
from __future__ import print_function
import os
import sys
import zipfile
if 'qpyplus' in os.__file__:
@brianddk
brianddk / complex_quadradic.hp35s
Last active April 23, 2016 19:02
hp32s Algebra Programs
; [rights] Copyright Dan B. (brianddk) 2016 https://github.com/brianddk
; [license] Licensed under Apache 2.0 https://www.apache.org/licenses/LICENSE-2.0
; [repo] https://gist.github.com/brianddk/43f00476eb30716dec8481814fdae073
; [tips] 18MDTTiqPM8ZEo29Cig1wfGdkLNtvyorW5
;
; hp35s Quadradic complex root solver
; Form: Ax^2 + Bx + C = 0
; Consumes/clears:
; var 'I'
; flag 10