Skip to content

Instantly share code, notes, and snippets.

View inertia186's full-sized avatar
🏠
Working from home

Anthony Martin inertia186

🏠
Working from home
View GitHub Profile
@inertia186
inertia186 / .description.chronicle.txt
Last active July 24, 2018 22:02
This script (chronicle.rb) post with extended posting options. See: https://steemit.com/radiator/@inertia/chronicle-rb-posting-script
Chronicle ('chronicle.rb') for STEEM and GOLOS. Please have a look at the README.md file.
@inertia186
inertia186 / .description.sob.txt
Last active April 11, 2017 01:12
This script (sob.rb) allows you to automatically post and update OpenBazaar listings on the STEEM blockchain. See: https://steemit.com/radiator/@inertia/sob-rb-automatically-post-openbazaar-listings-on-steem-openbazaar
This script (sob.rb) allows you to automatically post and update OpenBazaar listings on the STEEM blockchain.
This is the Gator delegation script for STEEM. Please have a look at the README.md file.
def signature
public_key_hex = @private_key.pub
ec = Bitcoin::OpenSSL_EC
digest_hex = digest.freeze
loop do
@expiration += 1
sig = ec.sign_compact(digest_hex, @private_key.priv, public_key_hex)
next if public_key_hex != ec.recover_compact(digest_hex, sig)
@inertia186
inertia186 / .description.drphil.txt
Last active July 31, 2022 06:17
Dr. Phil (`drphil.rb`) is reimplementation of the "Winfrey" voting bot specification. The goal is to give everyone an upvote. See: https://hive.blog/radiator/@inertia/drphil-rb-voting-bot-update-fixes
This is the Dr. Phil bot for STEEM and GOLOS. Please have a look at the README.md file.
STEEM themed slap script.
// ==UserScript==
// @name steemdrp
// @namespace https://steemd.com/
// @version 0.1
// @match https://steemd.com/*
// @grant none
// @require http://code.jquery.com/jquery-latest.js
// @description Adds some derp to steemd.
// @include https://www.steemd.com/*
// ==/UserScript==
@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
Verifying that +inertia is my blockchain ID. https://onename.com/inertia
## Cleanly recovers from a crash event.
IFS=$'\n'
MC="/Users/steve/Minecraft"
LOG="$MC/logs/latest.log"
ALERT="$MC/scripts/alert-admin.sh"
error="$2"
if [ -n "$error" ]; then
path="`echo "$error" | cut -f 8 -d " "`"