Posts

Showing posts from January, 2008

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...