Skip to content

Instantly share code, notes, and snippets.

Avatar

Colin Armstrong seeARMS

View GitHub Profile
View Hacker News monitoring
{
"schema_version": 1,
"name": "News - Hacker News",
"description": "Monitor Hacker News for relevant discussion keywords you're interested in.",
"source_url": false,
"guid": "3fe5a3bf0684c6bd4c8bc731b62e7093",
"tag_fg_color": "#ffffff",
"tag_bg_color": "#5bc0de",
"icon": "gear",
"exported_at": "2020-02-23T05:55:49Z",
View gist:c618d6afdbc670cb78ee
Verifying that +armstrong is my blockchain ID. https://onename.com/armstrong
View exponential_backoff.rb
# Exponential backoff using Ruby lambdas
#
# Continuously retry sending a request at exponentially increasing
# values, with a top at 1 second
num_retries = 5
exp_backoff = ->(i) { [1, (0.5 * (2.0**(i/2.0) - 1.0))].min }
# stores the delays
View keybase.md

Keybase proof

I hereby claim:

  • I am seeARMS on github.
  • I am colinarms (https://keybase.io/colinarms) on keybase.
  • I have a public key whose fingerprint is C4FD 386E A03E D823 4612 22FA 9B01 0991 CB63 48DC

To claim this, I am signing this object: