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
/** | |
* The majority of this class is copied form the Cascalog source (1.7.0-SNAPSHOT as of 9/17/2011). | |
* This is a filter operation, where the FlowProcess object is exposed | |
*/ | |
package com.weatherbill.hadoop; | |
import cascading.operation.Filter; | |
import cascading.operation.FilterCall; | |
import cascading.flow.FlowProcess; |
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
#! /usr/bin/env ruby | |
# usage: | |
# $ das_download.rb email password [download_directory] | |
require 'mechanize' | |
# gem 'mechanize-progressbar' | |
email = ARGV[0] or raise('Please provide the email address for your account') | |
password = ARGV[1] or raise('Please provide the password for your account') | |
path = ARGV[2] || './' |