I hereby claim:
- I am dob on github.
- I am dob (https://keybase.io/dob) on keybase.
- I have a public key ASCFd8bnC0YRkStJkCdhdwNCEyQX3czehuIfLNtC7g_hsAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| mutumbo:~ dob$ brew doctor | |
| Your system is ready to brew. | |
| mutumbo:~ dob$ brew --config | |
| HOMEBREW_VERSION: 0.9.4 | |
| ORIGIN: https://github.com/mxcl/homebrew | |
| HEAD: 3003a4776cc5d9e1ee3d7d404f31e12bb1c1986f | |
| HOMEBREW_PREFIX: /usr/local | |
| HOMEBREW_CELLAR: /usr/local/Cellar | |
| CPU: quad-core 64-bit ivybridge | |
| OS X: 10.8.4-x86_64 |
| { | |
| "payout":{ | |
| "value":0.25, | |
| "type":"CPC", | |
| "description":"default CPC payout" | |
| }, | |
| "type":"deal", | |
| "status":"active", | |
| "image_url":"http://s3.amazonaws.com/prestigedevelopment/beta/offer_photos/4e5fa0336897a70001000503.jpg?1314889780", | |
| "place":{ |
| { | |
| "payout":{ | |
| "value":0.0, | |
| "type":"CPC", | |
| "description":"default CPC payout" | |
| }, | |
| "type":"deal", | |
| "status":"active", | |
| "image_url":"http://s3.amazonaws.com/prestigedevelopment/beta/advert_photos/4e5fa0336897a70001000503.jpg?1314889780", | |
| "place":{ |
| { | |
| "payout":{ | |
| "value":0.0, | |
| "type":"CPC", | |
| "description":"default CPC payout" | |
| }, | |
| "type":"deal", | |
| "status":"active", | |
| "image_url":"http://s3.amazonaws.com/prestigedevelopment/beta/advert_photos/4e5fa0336897a70001000503.jpg?1314889780", | |
| "place":{ |
| { | |
| "display_name":"Bayard's Ale House", | |
| "perma_link":"http://hyperpublic.com/places/4dd5390de800dd013a000001/profile", | |
| "phone_number":"+1 212 989 0313", | |
| "tags":[ | |
| "Food", | |
| "Brewery", | |
| "Nightlife spots", | |
| "Pubs", | |
| "Bars & pubs", |
| { | |
| "perma_link":"http://hyperpublic.com/places/4dd5390de800dd013a000001/profile", | |
| "phone_number":"+1 212 989 0313", | |
| "tags":[ | |
| "Food", | |
| "Brewery", | |
| "Nightlife spots", | |
| "Pubs", | |
| "Bars & pubs", | |
| "Bars", |
| { | |
| "perma_link":"http://hyperpublic.com/places/4dd5390de800dd013a000001/profile", | |
| "phone_number":"+1 212 989 0313", | |
| "tags":[ | |
| "Food", | |
| "Brewery", | |
| "Nightlife spots", | |
| "Pubs", | |
| "Bars & pubs", | |
| "Bars", |
| class CopyPlaceJob | |
| @queue = :general | |
| def self.perform(id) | |
| old_place = ::Place.find(id) | |
| mongo_user = MongoHP::User.first(:conditions => {:old_id => old_place.user_id}) | |
| if mongo_user | |
| place = mongo_user.hp_objects.create(:old_id => old_place.id, | |
| :object_type => "Place", | |
| :display_name => old_place.name, |
| module MongoHP | |
| class HPObject | |
| include Mongoid::Document | |
| include Mongoid::Timestamps | |
| store_in :hp_objects | |
| field :object_type, :type => String | |
| field :tags, :type => Array | |
| ... |