Recently...

It’s time to start farming….

The 20 months stint as construction labor is over now for good
When I look back, I think this surely made my body accustom to work physically hard and perhaps prepared me for the physically demanding farming work
I have bought approx 7 acres of land, just 30km away from my native (umerkote, odisha, India)
The plan [...]

Thursday, April 29th, 2010

zFeeder – Making PHP 5.3 + compatible, solving ‘Function ereg_replace() is deprecated’

The latest zFeeder 1.6 uses couple PHP functions – ereg_replace and set_magic_quotes_runtime, which are deprecated in PHP starting from version 5.3. These function will no more be supported from PHP 6.0 onward.

How to solve “Deprecated: Function ereg_replace() is deprecated” problem?
Use preg_replace, which uses perl regular experssion, instead of ereg_replace.
There are two occurrences of ereg_replace [...]

Thursday, January 14th, 2010

How to multilingualize or localize URL in Gallery2 – enhancement of multilang module to create multilingual URLs, Multi-language URL for SEO with Multi Language Module

Know how to make your G2 URL multi language. The multilang module has been enhanced to implement this feature.

Wednesday, December 23rd, 2009

Fix for mergelog, fails with error “abort due to a problem” for dummy records of apache access logs

If you are getting “abort due to problem” for apache access logs for dummy records when your run mergelog (or zmergelog) then you fix the problem as follows:
1. Open mergelog.c file under src folder
2. Look for #define SCAN_OFFSET 9
3. Change it to #define SCAN_OFFSET 7
That’s all.
The problem is that the mergelog looks for [...]

Monday, December 14th, 2009

Shepherds life in mountain

On a fine morning mostly in April, he leaves his house with the herds of sheep, owned by people from his village, moves different places, with green grass for the sheeps to graze and comes back after six months, before the winter peeps up. For this he earns generally Rs. 100 per sheeps for whole six months. They generally take herds of 400/500 sheeps, by which they earn Rs.40,000-50,000 (~1000 USD) in six months.

Sunday, December 13th, 2009