Loading...

Blog

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 analyse the traffic (uploads and downloads). To process the log file, the log analyser 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 analyser to a group that has permission to process the log file.

Read more

List and kill process on Windows Server

Well I’m forced to work with a Windows Server. For specific reasons, if you have an application that hangs up, you have the need to force an end to the process. This post shows the essential commands to kill a process on Windows Server with the command line.

Read more

Update to a specific tag with git

Git has the ability to tag specific points in history as being important. Typically people use this functionality to mark release points (v1.0, and so on). Following example demonstrated how to switch to a specific tag with git.

Read more

Pretty print an XML document in Java

If you want to have a pretty printed output of a XML tree, following snippet may be of interest to you.

Read more