Skip to content

Instantly share code, notes, and snippets.

View ivy's full-sized avatar

Ivy Evans ivy

View GitHub Profile
@ivy
ivy / example.txt
Created June 29, 2022 23:22
Generates the table for the Automatic Job Retry section of the Sidekiq wiki. See https://github.com/mperham/sidekiq/wiki/Error-Handling/#automatic-job-retry
# | Next retry backoff | Total waiting time
-------------------------------------------
1 | 0d 0h 0m 20s | 0d 0h 0m 20s
2 | 0d 0h 0m 26s | 0d 0h 0m 46s
3 | 0d 0h 0m 46s | 0d 0h 1m 32s
4 | 0d 0h 1m 56s | 0d 0h 3m 28s
5 | 0d 0h 4m 56s | 0d 0h 8m 24s
6 | 0d 0h 11m 10s | 0d 0h 19m 34s
7 | 0d 0h 22m 26s | 0d 0h 42m 0s
8 | 0d 0h 40m 56s | 0d 1h 22m 56s
@ivy
ivy / chasepdf2csv
Last active March 22, 2024 20:47
Convert Chase credit card statements from PDF to CSV. Useful for importing old transactions into QuickBooks Online/Self-Employed.
#!/usr/bin/env ruby
# chasepdf2csv -- Convert Chase credit card statements from PDF to CSV. Written
# to easily import older statements into QuickBooks Online/Self-Employed. Chase
# unfortunately only offers statements up to 6 months in the past, making it a
# huge chore to synchronize past transactions.
#
# How to Use
# ----------
# This script requires Ruby >2.0.0 and pdftotext. Copy this script somewhere and
# make it executable. Run it like any other command.
@ivy
ivy / API.txt
Created July 3, 2017 19:21
Claymore JSON-RPC API documentation (from Claymore v9.6)
EthMan uses raw TCP/IP connections (not HTTP) for remote management and statistics. Optionally, "psw" field is added to requests is the password for remote management is set for miner.
The following commands are available (JSON format):
----------------
REQUEST:
{"id":0,"jsonrpc":"2.0","method":"miner_getstat1"}
RESPONSE:
{"result": ["9.3 - ETH", "21", "182724;51;0", "30502;30457;30297;30481;30479;30505", "0;0;0", "off;off;off;off;off;off", "53;71;57;67;61;72;55;70;59;71;61;70", "eth-eu1.nanopool.org:9999", "0;0;0;0"]}
@ivy
ivy / keybase.md
Created July 2, 2017 00:04
Keybase verification for my GitHub profile

Keybase proof

I hereby claim:

  • I am ivy on github.
  • I am ivyevans (https://keybase.io/ivyevans) on keybase.
  • I have a public key ASBJNz4S0DpBov_YyM1kOrgxFEe97LirGRIKaV33bUqZKwo

To claim this, I am signing this object:

@ivy
ivy / response.xml
Last active June 14, 2017 22:41
Buzz *anyone* in at the gate instead of living under a false sense of security that the pizza man won't be able to get in…
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Play digits="9" loop="5"></Play>
</Response>