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 / btc-e-no-chat.js
Last active December 15, 2015 17:49
This is a greasemonkey script that will hide the chat window on BTC-e (http://www.btc-e.com/).
// ==UserScript==
// @name btc-e-no-chat
// @namespace https://gist.github.com/inertia186/5298810
// @version 0.1
// @description Hide the chat window on BTC-e.
// @match *://btc-e.com/*
// ==/UserScript==
/**
* Don't like the vulgarities and idiocy in the BTC-e chat (aka troll box)
#!/bin/bash
## A small wrapper around the mcrcon binary.
##
## See: https://forums.bukkit.org/threads/admin-rcon-mcrcon-remote-connection-client-for-minecraft-servers.70910/
MC="/path/to/server"
RCON_EXEC="$MC/scripts/gits/mcrcon-code/mcrcon"
RCON_HOST="127.0.0.1"
RCON_PORT=25577
#!/bin/bash
export LANG="en_US.UTF-8"
MC=/Users/steve/Minecraft
# Many of these options are explaiend here:
# http://stas-blogspot.blogspot.com/2011/07/most-complete-list-of-xx-options-for.html
# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
# http://blog.ragozin.info/2011/09/hotspot-jvm-garbage-collection-options.html
## 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 " "`"
Verifying that +inertia is my blockchain ID. https://onename.com/inertia
@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
// ==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==
STEEM themed slap script.
@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.