Skip to content

Instantly share code, notes, and snippets.

View mikegogulski's full-sized avatar

Mike Gogulski mikegogulski

View GitHub Profile
@inertia186
inertia186 / ob_loop.sh
Last active May 11, 2016 14:50
OpenBazaar Loop
OB="/home/anthony/gits/OpenBazaar-Server"
PID_FILE="/tmp/openbazaard.pid"
cd "$OB"
while :
do
date
if ! [ -f "$PID_FILE" ]; then
python openbazaard.py start -da 0.0.0.0
@colindean
colindean / generate_bitcoin_address.sh
Last active October 12, 2023 23:45
Bitcoin address generator in bash
#!/bin/bash
#
# This is free and unencumbered software released into the public domain.
#
# Requires bc, dc, openssl, xxd
#
# by grondilu from https://bitcointalk.org/index.php?topic=10970.msg156708#msg156708
base58=({1..9} {A..H} {J..N} {P..Z} {a..k} {m..z})
bitcoinregex="^[$(printf "%s" "${base58[@]}")]{34}$"