Wednesday, February 2, 2011

/dev/random



So Again its really long time since my last post.


Amazing this time is  this guy whose blog forced me to write this post.Okay enough praising.


Did we talked about commandlineflu?Nope ! I think I forgot .It's been one of the longest pending post idea .So start tricking other Users by 


Here ends my random post generator.
bash: ./saurabh: command not found

Wednesday, December 22, 2010

The Fun Part



So it isn't new but .. sounds great 
so lets go ahead ..

Here’s where it gets fun: many of these devices use hard-coded SSL keys that are baked into the firmware. That means that if Alice and Bob are both using the same router with the same firmware version, then both of their routers have the same SSL keys. All Eve needs to do in order to decrypt their traffic is to download the firmware from the vendor’s Web site and extract the SSL private key from the firmware image.



Friday, October 29, 2010

Running Android Native Code in your Android app





Just came over a post asking for Android's Logging Best Practices that took me to android log collector. Delving more deeper into log collector's code I got the below code to executes the specified command and its arguments in a separate native process.

All you need is just below code
String myStringArray[]= {"logcat","-d"};
Process process = Runtime.getRuntime().exec(myStringArray);
Setup the permissions for the required operation & you r done!Enjoy

But keep in mind Use Native Methods Judiciously & do check jon oberheide's Android Hax
And thanks to android-log-colllector team for the code.


Though the post describes a way of dropping a shell command from an app , check this for more ways to run shell commands from your app.
And also this  & I have heard MarketEnabler source offers a nice ShellInterface class.
So go get your app runnning!
See ya there at ./a.in

Friday, October 22, 2010

Stacks OverFlowing..



profile for Saurabh at Stack Overflow, Q&A for professional and enthusiast programmers

See ya there at ./a.in

Saturday, July 31, 2010

We live in a beautiful world :):):)

We live in a beautiful world, 

Yeah we do, yeah we do, 

We live in a beautiful world,


:):):)
:):):):):):)
:):):):):):):):):)
:):):):):):):):):):):):)

Monday, March 22, 2010

Issue with mkinitrd when compilin 2.6.32 kernel in Fedora





I installed Fedora 12 on my System recently, downloaded the latest kernel 2.6.32. Compiled the kernel in the standard procedure. On the last step, after make modules_install make install - ends up in following an error message:
sh /usr/src/linux-2.6.32.8/arch/x86/boot/install.sh 2.6.32.8 arch/x86/boot/bzImage System.map "\boot" /sbin/new-kernel-pkg: line 277: /sbin/mkinitrd: No such file or directory mkinitrd failed

Googled a lot and finally got the solution by anonymous here.
here is the solution for all those ppl who got struck in a similar situation.
Open /sbin/new-kernel-pkg in vim and go to line 277. Right before      
"[ -n "$verbose" ] ..." add
tool="/sbin/dracut -f $initrdfile $version" (this line is just copy and pasted from a few lines up)
 100rabh: )

See ya there at ./a.in

Saturday, February 27, 2010

Open Sourcing the smart(phone) world : )

Nokia announced a partnership with Intel.the two companies are merging their odd, half-finished, Linux-based OSs into one crazy little package called... MeeGo.
The formula goes like this
maemo + moblin=MeeGo:)
The MeeGo software platform will be hosted by the Linux Foundation as a fully open source project, encouraging community participation in line with the best practices of the open source development model. Intel and Nokia invite the respective members of Maemo.org and Moblin.org to join the combined community at MeeGo.com, as well as encouraging wider participation from the communications, computing and related industries. Developers can begin writing applications for MeeGo in Qt immediately. The first release of MeeGo is targeted for the second quarter of this year.

Well ,it has opened challenge for Google's Android.MeeGo will be a "software platform that will support multiple hardware architectures across the broadest range of device segments, including pocketable mobile computers, netbooks, tablets, mediaphones, connected TVs and in-vehicle infotainment systems."
With these open source smartOSs hitting the market high (with samsung Bada,AAVA's first open hanset etc etc) they are clearly Open Sourcing the smart(phone) world : )
& Lets not forget to mention Symbian being open source & its poster saying we are now open source.

See ya there at ./a.in