Performing Optical Character Recognition in Java

Overview There are several engines to perform optical character recognition (OCR) in Java. This stackoverflow question is precisely regarding to that. Personally, I’ve tested Abby and Tesseract. Although I found Abby has better result, but I don’t think it worth the price tag. So I’ve chosen to go with Tesseract. Java bindings for Tesseract There […]

Posted on June 8th, 2015 under JavaTags: , , ,  • 1 Comment

Add multiple secondary IP addresses on CentOS

Adding a single secondary IP on CentOS is fairly straight forward. Adding a single secondary IP Assuming that you want the secondary IP on your first ethernet card (eth0), create a file /etc/sysconfig/network-scripts/ifcfg-eth0:1 with the following content: user@laptop:~$ cat /etc/sysconfig/network-scripts/ifcfg-eth0:1 DEVICE=eth0:1 ONBOOT=yes BOOTPROTO=static IPADDR= Optionally, you can also set NM_CONTROLLED to yes if you’d like […]

Posted on August 26th, 2014 under Linux, System Admin • No Comments

How to grant create database for non-root users

Introduction So here’s a recent requirement that I’ve just encountered. I have a shared MySQL database I have several users that I want them to be able to create new databases However, I don’t want them to see each other’s databases And just to be absolutely clear, I obviously don’t want to give them all […]

Posted on June 6th, 2014 under Database, MySQL • 1 Comment

Configuring Postfix + Spamasassin + Amavis as front-end Mail Transport Agent (MTA) to MS Exchange 2010

Introduction The last time my client uses Windows Small Business Server, I had them bought Trend Micro Client Server Messaging Security for Small and Medium Business. It was quite costly; around $1200 for 15 users includes 2 years maintenance. It made sense then, because his settings makes it easy to manage and maintain and virus […]

Posted on April 15th, 2013 under Linux, System Admin, Windows • 5 Comments

Brain teaser: splitting revenue fairly.

While this brain teaser can be applied to more than programming, I think it’s a very nice one to sharpen our problem-solving solution required to do a good programming. There were 2 people, A and B. They joined together to have a meal. Person A brought 3 loafs of bread. Person B brought 5 loafs […]

Posted on October 30th, 2010 under General / Algorithm • No Comments

Page 1 of 1112345...10...Last »