I hereby claim:
- I am bkerley on github.
- I am bryce (https://keybase.io/bryce) on keybase.
- I have a public key whose fingerprint is B9A4 E903 7664 2F7E 1AC8 83FF 9659 7A59 3C8C 6D37
To claim this, I am signing this object:
| require 'pry' | |
| module SomeRecord | |
| class Base | |
| def do_something | |
| raise self.class::NotFoundError.new | |
| end | |
| def self.inherited(subclass) | |
| subclass.const_set :NotFoundError, Class.new(SomeRecord::NotFoundError) |
| # http://store.apple.com/us/retailStore/availabilitySearch?parts.0=MGAU2LL%2FA&zip=33175 | |
| # { | |
| # "head":{"status":"200","data":{}}, | |
| # "body":{"zip":"33175","success":true,"stores":[ | |
| # {"address":{"postalCode":"33156","address":"Apple Store, Dadeland","address2":"7535 Dadeland Mall","address3":null},"state":"FL","country":"US","city":"Miami","storeNumber":"R312","storeName":"Dadeland","storeEmail":"[email protected]","storeDisplayName":"Apple Store, Dadeland","reservationUrl":"http://www.apple.com/retail/dadeland","hoursUrl":"http://www.apple.com/retail/dadeland","directionsUrl":"http://www.apple.com/retail/dadeland/","storeHours":{"storeHoursText":"Store Hours:","bopisPickupDays":"","bopisPickupHours":"","hours":[{"storeDays":"Mon-Sat","storeTimings":"10:00 AM-9:30 PM"},{"storeDays":"Sun","storeTimings":"12:00 PM-7:00 PM"}]}, | |
| # "partsAvailability":{ | |
| # "MGAU2LL/A":{"storeSelectionEnabled":false,"pickupQuote":"Currently unavailable at Apple Store, Dadeland","storeSearchEnabled":true, |
| require 'riak' | |
| require 'instrumentable' | |
| require 'pp' | |
| c = Riak::Client.new pb_port: 17017 | |
| class Riak::Client | |
| include Instrumentable | |
| instrument_method :get_object, 'get_object' |
| #!/bin/sh | |
| gcc -o idunno idunno.c |
| require 'pp' | |
| require 'openssl' | |
| crl_data = File.read './revoked.crl' | |
| pp crl_data | |
| crl = OpenSSL::X509::CRL.new crl_data | |
| pp crl.revoked |
| var fs = require('fs'); | |
| var pg = require('pg').native; | |
| global.Grailbird = {}; | |
| global.Grailbird.data = {}; | |
| var tweetFiles = fs.readdirSync("./data/js/tweets"); | |
| for (var f in tweetFiles) { | |
| eval('global.'+fs.readFileSync('./data/js/tweets/'+ tweetFiles[f])); |
| use std::mem::size_of; | |
| struct Foo { | |
| a: u32, | |
| b: u32, | |
| c: u32, | |
| d: u32 | |
| } | |
| struct Bar { |
| # protip: don't run more than one node, tests are sensitive to quorums | |
| nodes: | |
| - {host: 'localhost', pb_port: 17017} | |
| # authentication: | |
| # user: 'user' | |
| # password: 'password' | |
| # ca_file: /Users/bkerley/Documents/riak-ruby-client/spec/support/certs/ca.crt |
I hereby claim:
To claim this, I am signing this object:
| %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- | |
| %% ex: ft=erlang ts=4 sw=4 et | |
| [ | |
| %% Riak Client APIs config | |
| {riak_api, [ | |
| %% pb_backlog is the maximum length to which the queue of pending | |
| %% connections may grow. If set, it must be an integer >= 0. | |
| %% By default the value is 5. If you anticipate a huge number of | |
| %% connections being initialised *simultaneously*, set this number | |
| %% higher. |