Posts

How to run sugar on ubuntu- the easy way

Are you finding yourself lazy to go through the installing, git-pull update procedure for your ubuntu system to work on the olpc sugar interface? There's an easier way to do it $sudo apt-get install sugar-emulator sugar-activities This should do it. If you still want to do it the old way... go for it http://wiki.laptop.org/go/Sugar_with_sugar-jhbuild\ :)

todos

Hey, it's been 19 days since new year and I haven't made all the resolutions yet so I decided to make them now. I don't make resolutions often but keeping them here might actually force myself to stick to them 0. Improve grades I admit they are really really important, it just can't be over stated. So, it obviously goes on the first. 1. Learn regular expressions From experience, I know that learning regular expressions is he only way to be able to use them. You find their uses only later after you know some of them. I just need to learn them. 2. Get better at social stuffs It doesn't mean getting drunk every so often in a frat. I learnt that last semester altho I didn't do that. It's just meeting new people, getting away from all the programming works for sometimes and maybe even socialize with fellow programmers every so often. 3. Become a better writer, write often to blogs I'm not committing myself to a certain time scale but it's a good skill...

Busybox on Android

As good as android is, it does lack some of the rather interesting linux tools that could be of a great use like busybox. Its good to have a command line interface to play around often to get information that click around in gui which makes things a bit too slow sometimes. While I did try to compile the busybox binary and loading onto the phone, that didn't quite work. So I got one from here. http://benno.id.au/android/busybox Then I copied the binary into the tools folder after running the emulator with ./emulator, I ran the ./adb push busybox /data/busybox/busybox I logged into the shell with ./adb shell # cd /data/busybox (you might need to set permissions here if you downloaded the file) # ./busybox --install remember to export the path export PATH=/data/busybox:$PATH voila! got my busybox applets!!

How to make your window Full Screen in gnome?

Image
I have often had this problem of getting quite seriously distracted while coding and I always like to use as much screen real state to work on but then again, there are other applications that need it too and it can be a lot of distraction with gmail messages popping up and all sorts of nasty stuff happening. One option is to just go into some other desktop manager but I kind of like solving the problems at hand and gnome does provide me with some really good features that I've become used to. I started wondering if I could make eclipse full screen so that I can just focus on the code and hopefully nothing else. Then I came across this useful link http://www.enigmacurry.com/2007/02/17/gnome-kiosk-mode-make-any-app-fullscreen supposed to be a rant about the feature gnome lacked but updated to add this instruction. There is a nice feature that lets users set keybindings. Here are the steps: 1. Open gconf-editor using the trusty old Alt-F2 combination Now go to /apps/metacity/window...

Checking integrity of cdrom drives

I had this problem for a while, so I wanted to take a look at it... how do i check the integrity of the drive. I did this... to find that it was quite okay... the same can be done with md5sum but sha1sum is better sometimes $ sha1sum KNOPPIX_V5.1.1CD-2007-01-04-EN.iso | grep cdc0e9181d9dd2f2fc71aa9c59391001c46afa3e cdc0e9181d9dd2f2fc71aa9c59391001c46afa3e *KNOPPIX_V5.1.1CD-2007-01-04-EN.iso but then again, after burning the cd, I wasn't too sure if it had data integrity. So, I had to check if it was working I tried md5sum on /dev/cdrom but that was taking a lot of time. Then I saw a description on http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Checking_the_integrity_of_a_LiveCD_or_LiveDVD The process goes like this: $ isoinfo -d -i /dev/cdrom CD-ROM is in ISO 9660 format System id: LINUX Volume id: KNOPPIX Volume set id: Publisher id: KNOPPER.NET Data preparer id: www.knopper.net Application id: KNOPPIX LIVE LINUX CD Copyright File id: Abstract File id: Bibliographic File...

Releasing my theme

After getting some requests for showing the code, I'm giving this three column theme... further instructions arriving in future posts... :D first of all, back up ur file by downloading the template at the Edit HTML tab.. then upload this file http://prasannagautam.googlepages.com/template-35346556.xml

Can Newton's 2nd Law be Violated on Earth?

from PhysOrg.com Astrophysicists have found evidence that a corrected version of Newton’s 2nd Law (which deals with the acceleration of mass) works well on the grand scale of the universe. These modifications to Newtonian physics are known as “modified Newtonian dynamics (MOND). “Newton offers a foundation for classical mechanics in the relationship of force, mass and accelerations,” Alex Ignatiev explains to PhysOrg.com . “These are always true, except in special cases.” [ ... ]