Loading...

Blog

A Journey of a Thousand Miles Begins with a Single Step

Redundant conditional expression with the ternary operator

This operator (?) is also known as the ternary operator because it uses three operands. Instead of an if-then-else statement this operator can make your code more readable, when something is so simple you don’t want to waste many lines for.

Read more

Oracle DB Datatype for boolean - which to choose for Java Persistence?

If you have to deal with the Oracle DB (11g), Boolean values have no specific datatype yet. Some uses number - a SMALLINT, some uses a character - VARCHAR(1). Number or Character - which to choose? This post illustrates both approaches for the Oracle DB for Java with the major Persistence APIs JDBC and JPA.

Read more

Processes within HP NonStop

This post explains the basic concept about a process on the Tandem. It also contains a (told) custom process presentation (Aiellogram) by Dennis Aiello, a tech trainer for Tandem computers from my training on the HP premises. The main conceptional focus is how to keep a process fault tolerant.

Read more

Multiple configuration files for logstash

Structure of a config file: A Logstash config file has a separate section for each type of plugin you want to add to the event processing pipeline.

Read more

List and check alias in elasticsearch

This post gives an example how to check an alias or aliases in elasticsearch with the REST-API.

Read more

List all used IP addresses in a network

nmap - Network exploration tool and security / port scanner - allows to scan an entire network and list all used or assigned IP addresses in a private network. This post shows a little example.

Read more

Convert from CSV to JSON with logstash

logstash allows with various plugins a quick solution, to convert CSV input to JSON output.

Read more

Check optional scripts in rpm file

RPM allows optional scripts to be executed within the install and remove operation.

Read more

Correct Rpmdb

Seeing this Rpmdb checksum is invalid: dCDPT(pkg checksums) in RedHat or CentOS?

Read more