Skip to content

Instantly share code, notes, and snippets.

@richardlarocque
richardlarocque / push_rabbitmq_v2
Created June 3, 2016 16:30
RabbitMQ delayed exchange test script
#!/usr/bin/env ruby
# Based on the script posted at to https://groups.google.com/forum/#!topic/rabbitmq-users/XgjY7UtLkfs
#
# Usage: ./push_rammitmq [DELAY_MS] [MESSAGE_COUNT]
require 'bunny'
bunny = Bunny.new("amqp://localhost:5672/", vhost: "/", recover_from_connection_close: true)
bunny.start
@richardlarocque
richardlarocque / keybase.md
Created May 25, 2014 03:09
Keybase declaration

Keybase proof

I hereby claim:

  • I am richardlarocque on github.
  • I am richardlarocque (https://keybase.io/richardlarocque) on keybase.
  • I have a public key whose fingerprint is 4D56 E231 2174 09B0 5118 A531 ACBE 41D0 D36B 3978

To claim this, I am signing this object: