Search This Blog

Monday, November 21, 2005

replicate just the directory structure

Let's say you wanted to just copy the directory structure of /opt directory to an usb drive say (/media/usb3/opt) without copying any files between these two directories. Inorder to do this

mount the usbdrive, cd into the destination directory which in this case is /media/usb3

sudo rsync -avzp --delete-after --include "*/" --exclude "*" /opt .

As usual, do not try this without knowing what it does. Use it at your own risk.

Comments/suggestions/feedback etc., are most welcome and you can reach me at (kamaraju at gmail dot com).

Friday, November 18, 2005

wajig's bash_completion has improved

My wishlist bug against wajig has been fixed in the recent version 2.0.31 . So now bash_completion works on multiple arguments not just on the first argument. Just now updated wajig and it is working Cool!

Saturday, November 12, 2005

listening to songs with streamtuner

For those who do not know, streamtuner (apt-get install gstreamtuner) is a stream directory browser. So, what is a stream directory browser anyway? Simply put, streamtuner lets you connect/tune to various online radio stations and the stream of songs will be played through xmms. I dont know whether you can use another player but I like xmms, so it is not a problem for me.

I personally like and their website is also very good. You can request your favorite songs and they will be queued up in the line for playing. The previous/present/future song lists can be seen. The lyrics of the current song that is played is also available at a click away. Now that's kind of cool I think...

For telugu song lovers, there is also a telugu music channel available!

Thursday, November 10, 2005

this blog is now adsense friendly

Today I created an adsense account and included a 250x250 square ad into this blog. The ads currently appear in the top. However, I would like them to be placed on the side. I will work on that afterwards.
On the other hand, I doubt if Google infact has any targeted ads for the kind of content that I will be posting on this blog (debian + personal stuff + interesting news etc.,) . So I dont think this will be a great source of income or anything of that sort....

But I exactly know what I would do once I get my first check from adsense. Donate money to Debian & vim projects.

Monday, November 07, 2005

upgrade packages which have RC-bugs

Do not try this without knowing what it does. I do not take any responsibility if you have problems afterwards. Use it at your own risk.

sudo apt-get install `rc-alert | grep Package | cut -f 2 -d ' ' | tr '\n' ' '`

It checks the installed packages which have RC (release critical) bugs and tries to upgrade them to the latest versions. Combined with apt-listchanges, apt-listbugs this command provides a way to have an unstable (sid) system which does not contain any RC bugs.


Tuesday, November 01, 2005

features missing in google's blogging software

I find that the following features are missing in the current google's blogging software. If you have any suggestion on these issues, feel free to leave a comment.

1) Sometimes I want the posts/comments visible to only some chosen/trusted members. There is no way I can do this with current google's blogging software. Granted I can use email for private communication, but including this facility in blogging software would also be nice.

2) I cannot choose my favorite editor - vim (The greatest software of all times) to edit the blogs. Instead I am stuck with some st**id GUI here. There should be a facility to choose the editor (either provided by the blogging software or is installed on the user's OS).

3) The formatting features in the default editor are not adequate. AFAIK, there is no way I can include complicated stuff like tables etc., on this software. There should be some LaTeX kind of functionality built into this blogging editor so that bloggers can write stuff other than just poetry and "I did this today" notes.