Bash
A hacky one-liner shell command to dump all JMX beans from a Jolokia endpoint using curl
, python -m json.tool
, and other shell utilities.
Posted on 2014-10-08
A quick guide on how to execute shell commands from Groovy, including how to handle commands with pipes.
Posted on 2014-09-19
A shell one-liner that uses awk
to remove lines matching a specific pattern from all files within a directory structure.
Posted on 2013-03-14
A Python script that simplifies accessing JMX beans via the Jolokia HTTP bridge, allowing you to easily read and write JMX attributes from the command line.
Posted on 2013-01-15
A post that debunks the myth that saving a JPEG multiple times at 100% quality does not degrade the image, with a script to demonstrate the quality loss.
Posted on 2013-01-02
A description of a problem with the Tanuki Software Java Service Wrapper where the $HOME
environment variable is not correctly set when the service is started as root but runs as a different user, and a solution provided by the Tanuki support team.
Posted on 2012-12-21
A one-line command using ImageMagick’’s convert
to easily create a PDF file from a series of images.
Posted on 2012-07-01