Skip to content

Instantly share code, notes, and snippets.

View dancodery's full-sized avatar
🤓

Daniel Gockel dancodery

🤓
View GitHub Profile
@dancodery
dancodery / bitcoin-burn-address-generator.py
Created September 23, 2021 21:16
This script generates bitcoin coin burning addresses with a custom bitcoin address prefix. The symbols at the end of the btc burning address are made for checksum verification.
#!/usr/bin/env python
"""bitcoin-burn-address-generator.py: This script generates bitcoin coin burning addresses with a custom bitcoin address prefix.
The symbols at the end of the burning btc address are made for checksum verification."""
__author__ = "Daniel Gockel"
__website__ = "https://www.10xrecovery.org/"
import sys
@dancodery
dancodery / bitcoin-address-validator.py
Last active September 23, 2021 21:56
This script validates Bitcoin addresses by calculating and comparing checksums as well as displaying the Bitcoin address type.
#!/usr/bin/env python
"""bitcoin-address-validator.py: This script validates Bitcoin addresses by
calculating and comparing checksums as well as displaying the Bitcoin address type."""
__author__ = "Daniel Gockel"
__website__ = "https://www.10xrecovery.org/"
from base58 import b58decode
from hashlib import sha256
@dancodery
dancodery / milliseconds_countdown.php
Created June 30, 2016 14:02
Website launch countdown in milliseconds. Counts down from a specific date in PHP and jQuery.
<div id="timer"></div>
<script>
var millis = <?php
$timestamp = strtotime('2020-07-30');// your launch date
$difference = $timestamp - time();// difference in seconds
echo ($difference * 1000); ?>;
function displaytimer(){
$('#timer').html(millis);