bguthrie / crane Goto Github PK
View Code? Open in Web Editor NEWheavy lifting in clojure
heavy lifting in clojure
core libs for s3, ec2, ssh. build upon the core is remote repl and cluster capabilities. in a couple cases, we use an erlang convention of the ! syntax representing "reomote" (on another process) execution. the first argument to ! in erlang is the pid, wheras in our api, it is an open ssh session or socket. there is no ! operator or fn, we just use the ! suffix convention to communicate remote execution. remote shell execution. (sh! session "tar -xzf repl.tar.gz") remote repl evaluation. eval! (eval! socket (execute (workflow some-cascading-workflow))) TODO: add examples for usages. TODO: the persistent shell session using jsch ChannelShell is shaky at best, although exec works fine. eval! may be simpler if we could use LineNumberingPushbackReader see comment in remote_repl.clj stuff to poll and pull info from hadoop tracker url into repl == Usage: crane.ec2 (ns crane.demo (:use crane.ec2)) (def my-ec2 (ec2 {:key "somekey" :secretkey "somesecret/key"})) (def basic-fedora "ami-3c47a355") (run-instances my-ec2 {:instance-type (instance-types :m1.small) :image basic-fedora :instances 1 :key-name "gsg-keypair" :group "default"})
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.