A Journey of a Thousand Miles Begins with a Single Step

Arrays vs Lists

A great article explaining the concept of arrays and lists, the advantages and field of use. From the same guy that explains other grokking algorithms very well on http://adit.io./.

Read more

Monitoring tools for the JVM

The Oracle JDK distributes two major tools for monitoring and profiling java applications or more accurately the Java Virtual Machine (JVM).

Read more

Decompress gzip files

Unzip gzip files

Read more

Creating a Border Animation Effect with SVG and CSS

A great article how to use CSS transitions on SVG.

Read more

Concurrency problem dealing with Synchronization

Concurrency in general is one of the most challenging area of programming. Check out the awesome and easy to understand explanation from Ron Swanson.

Read more

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