![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
S3Share is a simple script to upload your files to S3 and share them with your friends and enemies.
You can install from Rubygems
$ gem install s3share
Or you can download the source and build it manually:
$ git clone https://febuiles@github.com/febuiles/s3share.git
$ cd s3share
$ gem build
$ gem install s3share --local
You'll need to set the three following ENV variables:
AMAZON_ACCESS_KEY_ID
: AWS access key.AMAZON_SECRET_ACCESS_KEY
: AWS secret access key.AMAZON_S3_DEFAULT_BUCKET
: Name of the bucket where the uploads will be held.The last variable is visible in the URL returned to the user: http://s3.amazonaws.com/{AMAZON_S3_DEFAULT_BUCKET}/some_photo.png
, so make sure you choose something pretty. This value is global for all the S3 namespace, meaning you need to find something unique between all the S3 users ("some-user-name_uploads" should do the trick). If the specified bucket doesn't exist, it will be automatically created.
You can set these variables in a ~/.amazon_keys
file:
export AMAZON_ACCESS_KEY_ID='someaccesskey'
export AMAZON_SECRET_ACCESS_KEY='fortyweirdcharacters'
export AMAZON_S3_DEFAULT_BUCKET='joesuploads'
And then include it in your ~/.bash_profile
:
# place at the bottom of your .bash_profile
if [[ -f "$HOME/.amazon_keys" ]]; then
source "$HOME/.amazon_keys";
fi
$ s3.rb [file]
An example:
$ s3.rb kezia.png
kezia.png uploaded to: http://s3.amazonaws.com/heroin-uploads/kezia.png
By default all the uploaded files will be publicly readable. Once the upload is complete the URL will be copied to your clipboard for easy access.
Got a problem? Create an issue in the Github Tracker.
Federico Builes - federico@mheroin.com - @febuiles
FAQs
Unknown package
We found that s3share demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.