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
Stinky Pete ('stinkypete.rb') for HIVE. Please have a look at the README.md file.
/*
* This script implements a Hive Ticker widget with the Scriptable API. The script is meant to be used with a widget
* configured on the Home Screen. To install, copy this script into Scriptable (available in the Apple App Store)
* and add a "small" Scriptable widget on the Home Screen. Then select this script.
*/
// === Remote Data ===
const rpc = hiveRequest('https://api.hive.blog');
const hive = await new Request('https://api.coingecko.com/api/v3/coins/hive').loadJSON();
@inertia186
inertia186 / .description.query_blog.txt
Last active November 12, 2022 19:12
Query Hive Blog
Query the entire blog of an author.
This is the Dr. Doogie bot for STEEM and GOLOS. Please have a look at the README.md file.
@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.
@inertia186
inertia186 / .description.tintoy.txt
Last active December 4, 2021 01:31
Tin Toy - A tiny Hive testnet based on tinman
Tin Toy for Hive. Please have a look at the README.md file or check it out on Docker Hub: https://hub.docker.com/r/inertia/tintoy/
Lucky Luke ('luckyluke.rb') for STEEM. Please have a look at the README.md file.
@inertia186
inertia186 / per.rb
Last active November 16, 2020 05:30
My attempt at figuring out what's special about 277777788888899? (see: https://hive.blog/math/@inertia/my-attempt-at-figuring-out-what-s-special-about-277777788888899)
def per(n, s)
# Summary of the current test by showing the numbere bing tested followed by
# the number of digits.
puts("#{n} (digits: #{n.to_s.size})")
# Increment the step.
s = s + 1
# Check if we've reached the last step.
@inertia186
inertia186 / hive-together.js
Created September 12, 2020 17:41
hive-together
// ==UserScript==
// @name hive-together
// @namespace https://gist.github.com/inertia186/484e3d55b41d47c73cff303f36d1d32c
// @updateURL https://gist.github.com/inertia186/484e3d55b41d47c73cff303f36d1d32c
// @version 0.1
// @description Quickly hive-together.
// @author inertia
// @match https://hive.blog/*
// @grant none
// @require http://code.jquery.com/jquery-3.4.0.min.js