by

Gaji....

Gaji itu hanya ilusi.
Yang penting bahagia.
Bahagia itu saat ilusi jadi kenyataan

Semoga kata2 saya diatas dapat menjadi renungan bagi anda yang menanti gajian. Salam.


...more

by

Summoning My Old LG Optimus L3

My mother has been using this LG Optimus L3 for about 2 years. By the time this post written, it's obsolete, especially the storage was unacceptable, only few hundreds MB's available for systems app and other installation, and the other 1 GB storage was partitioned as secondary.

I bought her a new phone to replace her old LG, and she look happy :)

And i decided to keep the LG as my secondary phone.
So, after googling, reading, testing and comparing for some amount of time, i manage to root it and found the best solution for the storage issue.


...more

by

Ubuntu 12.04 FFmpeg and libmp3lame

For you guys who still using the old Ubuntu 12.04 and requires the latest ffmpeg and libmp3lame on their system, there's no other way until this post is written, you have to compile it manually:

Note: i prefer to install it in /opt/ dirs
Use your own preference

...more

by

Ubuntu Trick: Out Of Memory When Compiling Source

This shit happens when i tried to compile Phalcon in my Ubuntu server:


...
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
..

Those lines means that my Ubuntu server/desktop demand more GB of RAM to compile. If it happens to you too, here's a trick that i wanna share with you.


...more

by

Lord Tanamo's "Mother's Choice" Lyrics

Found this classic stuff on youtube:

And it gets me curious about the lyrics

This is what i can interpret so far

If your mother and your wife were drowning
I want to know which one you would be saving
If your mother and your wife were drowning
I want to know which one you would be saving
As for Me, I'm holding onto my mother
And my wife you still have to ask to Lord Tanamo


...more

by

Multiple JDK in Mac OSX 10.10 Yosemite

It is very common for developers to setup multiple JRE environment. Some developers prefer using VM to install another version of JDK and keeping the default version in their local, but i prefer to install multiple JRE in my local machine. Here's how i do it on my Mac.


...more

by

Run Some Shell Task in Background

I just found a very useful technique to let your shell do something and you just can leave right away, grab your shoes and go outside.

nohup [ANY SHELL COMMAND] &
For example:
nohup scp user@hostname:~/filename.txt /local/directory &

This will make the output written to nohup.out, instead of directly displaying it in the console. And you can leave it and do another awesome stuff.


...more

by

How To Remove Empty Field Value From Solr

This is the correct query to delete index from solr which have an empty title value. Example in XML format:

<delete><query>-title: [* TO *]</query></delete>

In CURL

curl http://example.com:8983/solr/collection1/update?wt=json \
    -d "stream.body=<delete><query>-name: [* TO *]</query></delete>"


...more