Please check Mishare
So this is my fork of @aashay's fork of @holman's Cloudapp Ruby Script.
Basically, this let's you use cloudapp (http://getcloudapp.com) from the command-line in UNIX systems. My contribution to the script was to let you email the link to someone.
You need ruby and gems installed to have this running.
P.S.: This is my first attempt at modifying a Ruby script, and I am just a beginner. But, it does work :P
sudo apt-get install xclip
sudo apt-get install ruby1.9.1
curl http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz --O rubygems-1.8.10.tgz
tar -xzvf rubygems-1.8.10.tgz
cd rubygems-1.8.10
sudo ruby setup.rb
sudo gem install cloudapp_api
sudo gem install mail
sudo gem install ruby-gmail
curl https://raw.github.com/hardikr/cloudapp-rb/master/cloudapp --O cloudapp
sudo cp cloudapp /usr/bin
sudo chmod a+x cloudapp
username
password
cloudapp file.txt
Upload a file and email it to john@doe.com
cloudapp file.txt john@doe.com
Huge thanks to:
@dcparker for the ruby-gmail gem.
@aaronrussel for the cloudapp_api gem.
@holman for his original cloudapp dotfile.
@aashay for his forked cloudapp script.
I'm new to this, and I think I can add my own license to the modification/contribution.
(The MIT License)
Copyright (c) 2011 Hardik Ruparel
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This is a fork of a couple of scripts. @holman's script (https://github.com/holman/dotfiles/blob/master/bin/cloudapp) is MIT Licensed.
Its fork (by @aashay) has the following license. It can be found at https://github.com/aashay/Cloudapp#readme
This software (lol, cmon now it's just a script) is provided as-is, so if it causes you any pain or chaos, don't sue me.