Using in Java the Document Object Model (DOM). This post contains a snippet to create XML document object.
Using in Java the Document Object Model (DOM). This post contains a snippet to create XML document object.
An open file may be a regular file, a directory, a block special file, a character special file, an executing text reference, a library, a stream or a network file (Internet socket, NFS file or UNIX domain socket.) A specific file or all the files in a file system may be selected by path.
Linux man page
Using Linux you can monitor processes with watch. It executes a program periodically, showing the output in full screen.
Instead of using stdin, logstash also offers the generator input plugin for generating random log events. You can either use a single message or multiple messages in lines.
A collection of online grok debuggers. For instance they can be used to find grok patterns in logstash.
This post is migrated from an article of my dokuWiki.
As I cleanup my Mercurial SCM repositories, I found some snippets and gems I have used working as an abas ERP consultant. Each snippet has its purpose and keeps your system clean.