Wednesday, January 30, 2013

sudo no password :: ALL = NOPASSWD: ALL

first become root
then execute visudo
then add this line:

red.cricket ALL = NOPASSWD: ALL

Wednesday, January 23, 2013

rpmbuild error: Found '...BUILDROOT ...' in installed files; aborting

If you get this error you are probably doing something funky, but sometimes you are forced to do the funky deed. So to workaround the error you need to execute rpmbuild like so:

 QA_SKIP_BUILD_ROOT=1 rpmbuild ...


Thursday, January 17, 2013

android camera turn on/off

http://www.mkyong.com/android/how-to-turn-onoff-camera-ledflashlight-in-android/

Wednesday, January 16, 2013

my stack over flow post on android webview file upload camera

http://stackoverflow.com/questions/14347203/upload-pic-from-android-phone-intent-getdata-returning-null

Thursday, January 10, 2013