
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
code_rippa
Advanced tools
CodeRippa takes your source code and turns it into a beautiful PDF file. Currently, it supports 150 languages and 15 themes, all of which are available in TextMate. More syntaxes and themes will be available soon.
Add this line to your application's Gemfile:
$ gem 'code_rippa'
And then execute:
$ bundle
Or install it yourself as:
$ gem install code_rippa
Usage: code_rippa [options] file_or_directory
-l, --list-themes List all available themes
-t, --theme THEME Selected theme
-n, --list-syntax List all available syntax
-s, --syntax SYNTAX Selected syntax
-x, --excluded-exts E1,E2,EN Exclude these extensions when processing
-h, --help Display this screen
$ code_rippa -l
active4d
all_hallows_eve
amy
moc
twilight
zenburnesque
... more themes omitted
$ code_rippa -n
actionscript
erlang
java
javascript
prolog
ruby
yaml
... more syntaxes omitted
Example:
$ code_rippa -s ruby -t zenburnesque path_to_single_file.rb
Note that the output file is saved as out.tex in the current directory where code_rippa was called from.
$ pdflatex out.tex # Saved as out.pdf
Example:
$ code_rippa -s java -t moc path_to_directory
Note that the output file is saved as out.tex in the current directory where code_rippa was called from.
Then, you'll need to run pdflatex twice. This is because LaTeX needs to generate the bookmarks.
$ pdflatex out.tex # Saved as out.pdf
$ pdflatex out.tex # Remember to run this twice!
Note: In case your system doesn't have pdflatex, you can get a LaTeX distribution.
None of this would be possible without the awesome ultraviolet and spox-ultraviolet and linguist gems. Props to lwheng for providing most of the LaTeX help.
Currently this gem is in its infancy. Any bug reports and feature requests are very welcomed.
FAQs
Unknown package
We found that code_rippa 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.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.