by . Tagged with: ruby (17) .
How to configure Ruby to trust self-signed certificates.
YAML library to pretty-print YAML files from the command-line.
How to take a pretty-printed JSON string and replace it with a minifed JSON string using Ruby.
How to recursively convert a Ruby Hash's keys to a String / Symbol.
How to use Ruby to merge two hashes with nested arrays of hashes, with the second hash overriding values from the first.
How to parse a Cucumber JSON report to display the failed scenarios and their causes.
How to rewrite multiple JSON files inline on the Command Line.
How to use Ruby's standard library to decode URLs with a handy one-liner.
Kernel.jj to pretty print Ruby objects as JSON objects.
How to easily introspect and pretty print a signed JWT (JWS) or an encrypted JWT (JWE) on the command line using Ruby's standard library, or using the ruby-jwt external library.
Using Ruby's JSON module to pretty print JSON objects from the command line.
A look at the new features coming in the new Chef 14 release, as well as what to watch out for when upgrading.
An example of how to create a helper gem for common Rake task, using the real-world example of Chef cookbooks.
Rspec code to verify that a Ruby Class Method is called from another method, without needing to mock anything.
Coerce YAML to JSON and vice versa, from the comfort of your Gem-studded command line.