Feb 9, 2012

Linux: Convert AVI to 3GP

ffmpeg -i file.avi -strict experimental -s qcif -vcodec libxvid -acodec aac -ac 2 -ar 8000 -r 25 -ab 65535 -y file.avi.3gp

Jan 24, 2012

Linux: Date calculation

Yesterday



winzter]$ date --date='1 day ago' +%Y%m%d
winzter]$ date --date='-1 day' +%Y%m%d
winzter]$ date -d "yesterday" +%Y%m%d

Jan 10, 2012

Java - JSON Tutorials

New updated JSON API for java can be found here.
https://github.com/douglascrockford/JSON-java/blob/master/

I put this a my reference coz I was use this api before and I was encounter problem on delete record on JSON Array. As googling my problem I found a method remove but not include in my library so I try to find the source again.

For next time Found problem may be it solve again by updating my API.. :)

Jan 5, 2012

AIRG Urls

http://airg.com/nam-en/UserConfig/NamEn/nam-en/vipStatus?R=40z&srvrd=SRVRD&sesID=SESID
http://airg.com/nam-en/Deck/NamEn/nam-en/learnMore?R=40P