Adding border to images.

2010-07-18 1 min read Photo

A very simple script to add border to images :
**
**

*for i in .jpg; do montage -geometry 720×576 -background black -quality 100 $i conv-$i; done


This is one line that you can run the directory containing all your images and all the files with extension of ”jpg” will be assumed to be images and the command run on them to add the border. The border is black in color and quality of the border is 100%.

Continue reading

Try a live Distro without burning on CD or running in VM

2010-07-18 2 min read Fedora Linux

I keep trying a lot of distributions and mostly I try them once and get the configurations and put them on my box :), this works best for me so that I dont have to keep re-configuring my system again and again. So, burning the disc for one time use is overhead and wastes a lot of time for me.

Why burn a disc when GRUB is there to help. So today we will try to use the installed grub run a extracted iso image. Lets go step by step:

Continue reading

Beldi – The way to go to try linux distributions.

2010-07-18 1 min read Linux

I know people in the Linux world always want to try different distributions, but problem is maintaining them and tracking them, so what is the solution?

Found a nice solution called <a href="https://belug.de/~beldi//distributions/fedora.xml">Beldi

This sofware is in the fedora yum repository so if you are running Fedora you can simply install the application by running

&#8221;<span style="color: #ff00ff;">yum install beldi&#8221;

Now the interesting part, it supports to download and autoupdate the distributions of about 16 odd distributions. What you did not find your distro in the list but want to add it, I hope one option is to write to BeLUG and ask them to add it. But better yet is to update the xml files in the <span style="color: #00ffff;">~/.beldi directory.

Continue reading

Right click menu in Gnome desktop with user entries.

2010-07-18 2 min read Fedora Linux

I, along with couple of others I think, have been looking for this for quite some time. What I wanted is that when I right click on the desktop with GNome, I should see my entries in the default menu. I did quite  some search on this but no luck. Finally today, I did it and that too in two ways.

Lets do it the Gnome way first:

Install nautilus-actions using the command

Continue reading

How To Quickly Check If You’re Running A Javascript Enabled Browser

2010-07-18 4 min read Uncategorized

<a href="http://www.makeuseof.com/tag/what-is-javascript-how-works">Javascript is an integral part of <a class="zem_slink" title="Web browser" rel="wikipedia" href="http://en.wikipedia.org/wiki/Web_browser">web browsing and a lot of websites use Javascript for <a class="zem_slink" title="Web application" rel="wikipedia" href="http://en.wikipedia.org/wiki/Web_application">web applications and functions. A question I get at AskTheAdmin.com often is how I can tell if I am using a Javascript enabled browser. I have two quick methods to tell if the browser you are using does or does not support Javascript.

Continue reading

Perl Excel to create a test plan with perl — specially very

2010-07-16 2 min read Linux

Today I came across a very interesting problem. I had to write a Test Case document that had quite a huge number of test cases. The interesting part was that the Procedure and the result remained same but the name of the frame and the fields were chaning. I felt that copy/paste and modification would be a complete waste of time, so wrote this perl script quickly. Does what is expected.

Continue reading

Play with vim colors.

2010-07-16 1 min read Vim Tips

In vim you can customize the colors of your terminal vim or the GUI version. If you wanted to play around with colors then you can simply put the file containing the colorscheme to directory &#8221;~/.vim/colors&#8221; and load it in vim with &#8221;colorscheme &#8221;.

That most of you would know. What I will add here is how easy it can be create it if you knew the right place to do it: Head over<a href="http://yukihiro.nakadaira.googlepages.com/vim-color.html" target="_blank"> here. No explanations needed. Anyway if you need help, leave a comment.

Continue reading
Older posts Newer posts