cmur2 / cloudapp-cli-old Goto Github PK
View Code? Open in Web Editor NEWThis project forked from bonifaido/cloudapp-cli
(Deprecated) A powerful cli for CloudApp (tm)
This project forked from bonifaido/cloudapp-cli
(Deprecated) A powerful cli for CloudApp (tm)
maybe...
Currently everything failing is a 'bug' but might be expected
display account details and stats
Since it is a valid API return, it should be catched and printed to the user in a more friendly way.
$ cloudapp upload ~/chaosradio_express_180_passivhaeuser.mp3
/usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/1.9.1/net/protocol.rb:191:in `write': Broken pipe (Errno::EPIPE)
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/1.9.1/net/protocol.rb:191:in `write0'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/1.9.1/net/protocol.rb:167:in `block in write'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/1.9.1/net/protocol.rb:182:in `writing'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/1.9.1/net/protocol.rb:166:in `write'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/1.9.1/net/http.rb:1739:in `send_request_with_body'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/1.9.1/net/http.rb:1724:in `exec'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/1.9.1/net/http.rb:1189:in `transport_request'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/1.9.1/net/http.rb:1177:in `request'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/1.9.1/net/http.rb:1170:in `block in request'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/1.9.1/net/http.rb:627:in `start'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/1.9.1/net/http.rb:1168:in `request'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/httparty-0.8.0/lib/httparty/request.rb:73:in `perform'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/httparty-0.8.0/lib/httparty.rb:391:in `perform_request'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/httparty-0.8.0/lib/httparty.rb:359:in `post'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/cloudapp_api-0.3.1/lib/cloudapp/drop.rb:108:in `create'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/cloudapp_api-0.3.1/lib/cloudapp/client.rb:123:in `upload'
from /Users/ich/bin/cloudapp:346:in `<main>'
this would improve filtered listing by source when using multiple different clients all relying on Ruby cloudapp_api
Check whether cli sets correct and more specific than content-type as octet-stream on uploading archives, pictures or videos.
Am besten auch Ports akzeptieren á la localhost:1234
, das erleichtert mein Leben ungemein ;)
search for file names or link contents
I even not receive a 413, it immediately crashes...
$ cloudapp upload ~/Downloads/in-pjt720p.mkv
/usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/cloudapp_api-0.3.1/lib/cloudapp/multipart.rb:41:in `read': Invalid argument - /Users/ich/Downloads/in-pjt720p.mkv (Errno::EINVAL)
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/cloudapp_api-0.3.1/lib/cloudapp/multipart.rb:41:in `create_file_field'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/cloudapp_api-0.3.1/lib/cloudapp/multipart.rb:19:in `initialize'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/cloudapp_api-0.3.1/lib/cloudapp/drop.rb:108:in `new'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/cloudapp_api-0.3.1/lib/cloudapp/drop.rb:108:in `create'
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/cloudapp_api-0.3.1/lib/cloudapp/client.rb:123:in `upload'
from /Users/ich/bin/cloudapp:346:in `<main>'
maybe use whitelisting instead of blacklisting: return re.sub('[\W]+', '-', title, re.U).lower().strip('-') or some escape-algorithm
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.