![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.
I like to show several pictures in some of my blog posts as a gallery of sorts, with square thumbnails that link to the web-sized images.
I found a nifty one-line bash command that uses ImageMagick to automate part of this process:
#!/bin/bash
set -xv
: ${THUMBSIZE:=200}
: ${THUMBNAIL:=${THUMBSIZE}x${THUMBSIZE}}
mkdir -p thumbs
mogrify -format gif -path thumbs -thumbnail ${THUMBNAIL}^ -gravity center -extent ${THUMBNAIL} *.jpg
which creates small-ish .gif thumbnails in a thumbs/
subdirectory.
In addition, I want to create web-scale .jpgs in a web/
subdirectory
(mid-quality 1024 pixels wide).
$ gem install make_gallery
For up-to-the-minute usage information, you should run make_gallery help
.
$ make_gallery (thumbs | web) [--source DIR] [--target DIR] [--size SIZE] [--format FORMAT] [--force] [--verbose] [--debug] [--dry-run]
./thumbs/
or ./web/
)After checking out the repo, run bin/setup
to install
dependencies. Then, run bin/console
for an interactive prompt that
will allow you to experiment. Run bundle exec make_gallery
to use
the code located in this directory, ignoring other installed copies of
this gem.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in
version.rb
, and then run bundle exec rake release
to create a git
tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Review the Guidelines for any information on how to contribute to this tool.
Make sure to also read the Code of Conduct if you wish to contribute.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)"fork in, branch it, commit it, push it." -- daft punking our way through open source!
FAQs
Unknown package
We found that make_gallery 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.