This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'pry' | |
| require 'rubillow' | |
| Rubillow.configure do |config| | |
| config.zwsid = ENV["ZILLOW_KEY"] | |
| end | |
| hoods = Rubillow::Neighborhood.region_children({ :state => 'IN', :city => 'South Bend', :childtype => 'neighborhood' }) | |
| # Hash method -- not using | |
| #hood_region_ids = Hash.new |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # I bumped into some problems installing Drake ( https://github.com/Factual/drake ) on OSX, so here's what I did: | |
| # 1. Follow the installation instructions here up through "Run Drake from the uberjar": | |
| # https://github.com/Factual/drake/blob/251a22b27b5ded1fff522f39f06d3e06c77daf74/README.md | |
| # (This is the specific README version I used.) | |
| # 2. Move the 'drake' directory to Applications: | |
| mv drake/ ~/Applications/ | |
| # 3. Install Drip ( https://github.com/flatland/drip ) for speedier load time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| =begin | |
| Every day I use Ruby I see more and more why people become evangelists. | |
| Take today: I was toying with evaluating different approaches to match two | |
| data sources (API results and a giant local database), and I realized, | |
| "wait! this is a job for yield!" | |
| So I wrote a pleasant little module with a function that: | |
| - Takes a block which attempts to match an API object to rows in the |
NewerOlder