Loading...

Blog

A Journey of a Thousand Miles Begins with a Single Step

Set vim as default editor

Using so many years vi or vim (vi improved) it is coming quite annoying that nano is the default editor. I understand that new users find it easier to use nano, but for all old school guys out there, this post describes how to set the vi or vim as default editor on deb based distributions like Debian, Ubuntu, etc.

Read more

mp3agic - an id3 library for Java

mp3agic is a Java library for reading and writing id3 tags of mp3 files. Ripping your CDs and fetching cd information from MusicBrainz may not be the desired result, especially on compilations. mp3agic allows you to correct the id3 meta-data the Java way.

Read more

Display file tree

If you want to display a file structure of a folder and the tree command is not available, use sed to replace to create a tree structure based on the find output.

Read more

Using global variables in JNDI

Custom variables can be stored via JNDI over the naming subsystem in JBoss. Following example were executed for Java EE 6 and JBoss EAP 6.4.

Read more

Remove Logger in JBoss EAP 6.x, Wildfly configuration

For local testing, the logging is an essential tool. If you have to make changes to loggers, some conflicts arise. The easiest way is to remove the previous configuration. If you want to cleanup your previous logging, this article demonstrates the basic steps for a CLI script, that can be used for each test.

Read more

Generate ASCII Art

Having some text configuration or working with CLI (command line interface) ASCII Art can improve the separation of input and output. Below some ASCII art generators are listed.

Read more

Walking the file tree with Java 7 NIO 2

Non-blocking I/O (usually called NIO, and sometimes called “New I/O”) is a collection of Java programming language APIs that offer features for intensive I/O operations.

Read more

Find process id (pid) of dedicated server instance

This post demonstrates how to retrieve the pid of a dedicated JBoss application server, running parallel on a linux server with other application servers. The combination of ps, grep and awk allows a operator friendly output.

Read more

Perform Health-Check on Database Connections with logstash

This section describes how to perform health checks on database instances. logstash offers the jdbc input plugin.

Read more