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
| (ns gist.globhfs | |
| (:import [cascading.tap GlobHfs])) | |
| ;; ### Bucket to Cluster | |
| ;; | |
| ;;; To get tuples back out of our directory structure on S3, we employ | |
| ;; Cascading's [GlobHFS] (http://goo.gl/1Vwdo) tap, along with an | |
| ;; interface tailored for datasets stored in the MODIS sinusoidal | |
| ;; projection. For details on the globbing syntax, see | |
| ;; [here](http://goo.gl/uIEzu). |
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 'net/http' | |
| require 'faraday' | |
| require 'em-http-request' | |
| require 'httpclient' | |
| class HttpRunner | |
| def self.run(client) | |
| case client.to_i |
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
| mepihlaj@holobrook:~ $ brew doctor | |
| Your system is raring to brew. |
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
| # Usage | |
| # | |
| # To simulate lossy 3G on local connections to and from port 3004 | |
| # ruby linksim.rb up 3004 3g_lossy | |
| # | |
| # To clear ipfw rules | |
| # ruby linksim down | |
| conf = { | |
| :"3g_lossy" => { |
OlderNewer