Posts by Category

Android

Java String Util Class

10 minute read

Unfortunately, Java does not include a proper String manipulation class in its Java SE SDK. I really do not understand why… However, we see so many implement...

Java Calculate Orthodox Easter Date

1 minute read

Today I wondered if there is an algorithm to calculate the date of Orthodox Easter. After some searching in the web I found the algorithm and converted it to...

Android pre-populated Database

5 minute read

Today I am going to show you how to create an android application which comes with a pre-populated database. The database file has to be stored in assets dir...

Android get SQLite Library Version

less than 1 minute read

```java /** * get the version of the SQLite Library that is installed in the android * system * * @return version , for example 3.5.2 */ public ...

Apache

Solr fix corrupted index using Lucene

4 minute read

A few days ago, a Solr server in our SolrCloud installation stopped unexpectedly. After examining solr.log file I spotted that it could not start again becau...

Application Server

Databases

Windows 7 64bit ODBC Data sources

less than 1 minute read

Today I was trying to create and ODBC Data Source to a database using 32 bit database drivers. When I accessed ODBC Data Sources (32bit) from Control Panel, ...

SQL Server Select Table information

less than 1 minute read

Today I am going to show you how do we obtain schema information in SQL Server 2005/2008. If you want to select all table names from a specific schema you ne...

SQL Server Truncate All Table Data

1 minute read

Today I want to truncate ( delete all table data) in a large SQL Server database instance. Plain delete statements are not going to work as there is a big nu...

Android pre-populated Database

5 minute read

Today I am going to show you how to create an android application which comes with a pre-populated database. The database file has to be stored in assets dir...

Android get SQLite Library Version

less than 1 minute read

```java /** * get the version of the SQLite Library that is installed in the android * system * * @return version , for example 3.5.2 */ public ...

Test1

less than 1 minute read

Welcome to WordPress.com. After you read this, you should delete and write your own post, with a new title above. Or hit Add New on the left (of the admin da...

Debian

Docker

Eclipse

Elasticsearch

Git

Gitlab

Go

Golang

HAProxy

HTTP

HaProxy

JBoss

Java

Solr fix corrupted index using Lucene

4 minute read

A few days ago, a Solr server in our SolrCloud installation stopped unexpectedly. After examining solr.log file I spotted that it could not start again becau...

Java send smtp mail using Gmail

2 minute read

Today I wanted to make a mail notification mechanism for a project of mine. After some web searching I stumbled upon a mkyong.com tutorial where he uses SMTP...

Java String Util Class

10 minute read

Unfortunately, Java does not include a proper String manipulation class in its Java SE SDK. I really do not understand why… However, we see so many implement...

Java Calculate Orthodox Easter Date

1 minute read

Today I wondered if there is an algorithm to calculate the date of Orthodox Easter. After some searching in the web I found the algorithm and converted it to...

Java get file size and download using HTTP

4 minute read

Today I wanted to download a file using Http protocol but before that determine its size. First aff all I open an Http connection and get file size using Con...

Object ArrayList Sort

less than 1 minute read

Let’s say we have a simple class called Person public class Person{ public String name; public int age; public Person(String name, int age) { this.nam...

Linux

Solr fix corrupted index using Lucene

4 minute read

A few days ago, a Solr server in our SolrCloud installation stopped unexpectedly. After examining solr.log file I spotted that it could not start again becau...

Linux get hard disk statistics using Python

1 minute read

Today I wanted to collect disk usage information and send them to a remote server script. I used df command to collect disk usage information and Python to s...

Perl UTF-8 and Regular Expressions

less than 1 minute read

Today I wanted to explore Perl’s Unicode and regular expression capabilities, so I wrote down this simple script. It is quite amazing how simply Perl handles...

Test1

less than 1 minute read

Welcome to WordPress.com. After you read this, you should delete and write your own post, with a new title above. Or hit Add New on the left (of the admin da...

Logstash

Lucene

Solr fix corrupted index using Lucene

4 minute read

A few days ago, a Solr server in our SolrCloud installation stopped unexpectedly. After examining solr.log file I spotted that it could not start again becau...

Mint

Networking

Java send smtp mail using Gmail

2 minute read

Today I wanted to make a mail notification mechanism for a project of mine. After some web searching I stumbled upon a mkyong.com tutorial where he uses SMTP...

Nginx

PHP

PowerBuilder

PowerBuilder 10 Get and Set System Language

1 minute read

Today I wanted to retrieve the selected system language from PowerBuilder 10. To accomplish that I had to do some search in the web. After a long period I fo...

Python

Linux get hard disk statistics using Python

1 minute read

Today I wanted to collect disk usage information and send them to a remote server script. I used df command to collect disk usage information and Python to s...

Raspberry Pi

Raspbian

Rsyslog

SQLite

Server

Solr

Solr fix corrupted index using Lucene

4 minute read

A few days ago, a Solr server in our SolrCloud installation stopped unexpectedly. After examining solr.log file I spotted that it could not start again becau...

Source control

Spring

Sql Server

Windows 7 64bit ODBC Data sources

less than 1 minute read

Today I was trying to create and ODBC Data Source to a database using 32 bit database drivers. When I accessed ODBC Data Sources (32bit) from Control Panel, ...

SQL Server Select Table information

less than 1 minute read

Today I am going to show you how do we obtain schema information in SQL Server 2005/2008. If you want to select all table names from a specific schema you ne...

SQL Server Truncate All Table Data

1 minute read

Today I want to truncate ( delete all table data) in a large SQL Server database instance. Plain delete statements are not going to work as there is a big nu...

Text editor

Ubuntu

Linux get hard disk statistics using Python

1 minute read

Today I wanted to collect disk usage information and send them to a remote server script. I used df command to collect disk usage information and Python to s...

Virtualisation

Windows

Solr fix corrupted index using Lucene

4 minute read

A few days ago, a Solr server in our SolrCloud installation stopped unexpectedly. After examining solr.log file I spotted that it could not start again becau...

mysql

smtp

Java send smtp mail using Gmail

2 minute read

Today I wanted to make a mail notification mechanism for a project of mine. After some web searching I stumbled upon a mkyong.com tutorial where he uses SMTP...

vmware