
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Minimise your CSS files using by compressing and combining them into one file. Reduce HTTP requests, file size, and save bandwidth.
min_css
compresses using Rainpress,
which is a YUI like CSS compressor built in Ruby, and then merges all the CSS
into one file. You can now compress hundreds of CSS files into one file, with
one command.
gem install mini_css
Using mini_css
is simple! You can go about it two ways:
mini_css
from the command lineUsing mini_css
from the command line is too simple:
mini_css [-o output_file] file_name[ file_name2 ...]
You can compress one CSS file, or compress more than one, and mash them together as one big compressed file.
You can specify the location and name of the output file; it defaults to mini_cssified.css in the current working directory.
mini_css
as a classTo use mini_css
as a class, simply require the right files and you're away.
require 'rubygems'
require 'mini_css'
files = [] # Fill this aray with file paths.
Mini_CSS.compress(files) # mini_css will open them all, compress them, and mash them together
FAQs
Unknown package
We found that mini_css 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
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.