Skip to content

Instantly share code, notes, and snippets.

View mchail's full-sized avatar

Steve McHail mchail

View GitHub Profile
require 'json'
Disc = Struct.new(
:plastic,
:weight,
:color,
:quantity,
)
WIDTH = 16
REKO_MODEL_ID = '16569'
@mchail
mchail / discs.json
Last active June 5, 2020 20:51
Discs
{
"locations": ["My bag"],
"discs": [
{
"mold": "Reko",
"manufacturer": "Kastaplast",
"plastic": "K3",
"numbers": "3 3 0 1",
"color": "white",
"notes": null,
@mchail
mchail / pry_me_a_river.rb
Last active July 14, 2022 18:49
ruby pry tips
# getting context – what can this thing do?
show-source
$ Sidekiq
$ Sidekiq.queues=
ls Sidekiq
cd Sidekiq
whereami
ls