This file contains hidden or 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/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 |
This file contains hidden or 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/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 |
This file contains hidden or 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
<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); |
This file contains hidden or 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
<?php namespace SS\Stock; | |
use DB, File, Cache, Input, Response; | |
class Stock { | |
public function __construct() | |
{ | |
ini_set("memory_limit", "-1"); | |
set_time_limit(0); |
This file contains hidden or 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
<?php namespace SS\Stock; | |
use DB, File, Cache; | |
class Stock { | |
public function __construct() | |
{ | |
ini_set("memory_limit", "-1"); | |
set_time_limit(0); |
This file contains hidden or 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
<?php | |
class StoringController extends BaseController { | |
public function store_streaks() | |
{ | |
$date = date('Y-m-d'); | |
$stocks = DB::table('stocks')->select('symbol')->orderBy('symbol', 'asc')->get(); |
This file contains hidden or 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/env python | |
""" | |
burn-btc: create a bitcoin burn address | |
By James C. Stroud | |
This program requries base58 (https://pypi.python.org/pypi/base58/0.2.1). | |
Call the program with a template burn address as the only argument:: |
This file contains hidden or 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
// I didn't write this function, only modified it slightly. It works well though! | |
function valid_url(str) { | |
var pattern = new RegExp('^(https?:\\/\\/)?'+ // protocol | |
'((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|'+ // domain name | |
'((\\d{1,3}\\.){3}\\d{1,3}))'+ // OR ip (v4) address | |
'(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*'+ // port and path | |
'(\\?[;&a-z\\d%_.~+=-]*)?'+ // query string | |
'(\\#[-a-z\\d_]*)?$','i'); // fragment locator |