I hereby claim:
- I am quixoten on github.
- I am quixoten (https://keybase.io/quixoten) on keybase.
- I have a public key ASCMifCUc7vWAIOHr6HOv5kinB1paMz3sQQBLa2TyJyu8Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| module Protobuf | |
| module Rpc | |
| class LogSubscriber < ::ActiveSupport::Subscriber | |
| include ::Protobuf::Logging | |
| TIMING_FORMAT = '%s: %.1fms'.freeze | |
| RECEIVED_FORMAT = '[%s] Received %s#%s from %s'.freeze | |
| COMPLETED_FORMAT = '[%s] Completed in %.1fms (%s)'.freeze | |
| def decode_request(event) |
| require 'rubygems' | |
| require 'ffi-rzmq' | |
| NUMBER_OF_CLIENTS = 10 | |
| NUMBER_OF_SCAN_PROCESSORS = 3 | |
| def client(identity) | |
| context = ZMQ::Context.new | |
| socket = context.socket ZMQ::REQ | |
| socket.identity = identity |
| /* | |
| * 1. Copy the code below | |
| * 2. Go to a Station details page using the Chrome browser, e.g., http://www.pandora.com/station/223075254154832821 | |
| * 3. CTRL+SHIFT+J | |
| * 4. CTRL+V | |
| * 5. ENTER | |
| * | |
| * It could take a while depending on how many tracks you've thumbed up | |
| **/ |