A Journey of a Thousand Miles Begins with a Single Step

Delete lines in vi

vi or vim (vi improved) has powerful ways to delete line. This post gives some examples.

Read more

Backup and restore Kibana 4 objects

This post explains the backup of Kibana 4.1 objects and how to restore them.

Read more

Using variables in the CLI script

JBoss can use variables (passed as parameters) in the CLI script. This post describes the details behind it. If the parameter is not passed, it can used the given default.

Read more

Build single module from multi module pom

If case you want to test or build only a project (sub module) you have several options since Maven 2.1

Read more

Using nested checklist in AsciiDoc

This post gives an example how to write nested checklists in asciidoc.

Read more

Change ownership of log files

I configured awstats to use the logs of proftpd to analyze the traffic (uploads and downloads). To process the log file, the log analyzer needs file permission to read the log file. Changing the permission for others for read is a quick solution, but also regarding security a bad solution. To solve this, I put the analyzer to a group that has permission to process the log file.

Read more