###Getting Files in Parallel from GNIP
require 'parallel'
require 'json'
require 'open-uri'
results = JSON.parse(File.read("/big_data/sandy/vuln_neighborhood_contextual/gnip_results.json"))
results["urlList"].count
#!/bin/bash | |
#Ensure SSL verification on Git is disabled: | |
git config --global http.sslVerify false | |
echo "Building Protobuf 2.6.0" | |
ldconfig | |
cd /home/osmhistory/protobuf-2.6.0 | |
./autogen.sh | |
./configure |
--- | |
###Project Information | |
title: 'Whitehouse Mapathon' | |
###Where the data live | |
baseurl: '../' | |
www: '/usr/share/nginx/html/mapathon' | |
--- | |
#May 21 Whitehouse Mapathon |
require 'json' | |
require 'open-uri' | |
require 'fileutils' | |
class RevisionGetter | |
attr_reader :write_directory, :revisions | |
def initialize(args) | |
@write_directory = args[:write_dir] || "google_drive_download" |
###Getting Files in Parallel from GNIP
require 'parallel'
require 'json'
require 'open-uri'
results = JSON.parse(File.read("/big_data/sandy/vuln_neighborhood_contextual/gnip_results.json"))
results["urlList"].count