Loading...

Blog

A Journey of a Thousand Miles Begins with a Single Step

Emoji cheat sheet

Emoji are the ideograms or smileys used in Japanese electronic messages and Web pages, the use of which is spreading outside Japan. Originally meaning pictograph, the word emoji literally means “picture” (e) + “character” (moji). Using github, dokuwiki, there are available for content editing. Some of the emoji codes are not super easy to remember, so here is a little cheat sheet.

Read more

Add JDBC driver to your classpath

If CLASSPATH exists; the driver is appended. For Windows:

SET ORACLE_JAR=C:\Data\lib\db\ojdbc6-11g.jar
SET CLASSPATH="%CLASSPATH%;%ORACLE_JAR%"
ECHO %CLASSPATH%
"C:\Data\lib\db\ojdbc6-11g.jar"

For Linux:

export ORACLE_JAR=/opt/lib/db/ojdbc6-11g.jar
export CLASSPATH="$ORACLE_JAR:$CLASSPATH"
# check setting
echo $CLASSPATH

Read more

List usb devices in VirtualBox

If you want to test which USB ports and devices is capable of, you can use the VBoxManage command.

Read more

CDI definition hell

As I had to give a training about Contexts and Dependency Injection for the Java EE Platform (CDI), I made a small graphic with Lucidchart about CDI.

Read more

Health status symbols for Monitoring

Currently I work on visualizing the health of components, nodes and web-services. Therefore respective components expose their status with a health-check. For a Restful Webservice a simple ping request (simple GET with Status-code 200) is ok. A more advanced technique would be response with a brief summary of status and version. This status I want to illustrate with an appropriate symbol.

Read more

Configure separate log messages in JBoss

To configure JBoss to log certain messages of log category (class) is a simple way. This post illustrates two ways to achieve it.

Read more

Analysing JPA DDL Generation in Hibernate

Using the JPA (Java Persistence API) 2.0 with Hibernate for a database integration test against a in-memory db like H2 or HSQLDB, is a good way to test the JPA ORM (object relational mapping). In the process, errors might occur depending on the database vendor. Following example illustrate a problem with Hibernate and HSQLDB.

Read more

Configure Logitech Wireless Presenter R400 for Ubuntu 14.04

The Logitech Wireless Presenter R400 is not working properly under Ubuntu 14.04. This post provides a solution, how to get the presenter working properly.

Read more

Change password of ssh key

Existing (private) ssh keys may have a password. If you want to alter the password, the ssh-keygen command will reassign the pass phrase to the existing private key.

Read more