remove/replace text/path in config file.

2010-06-25 1 min read Bash

Lot of times I end up changing a particular text in config file to some other text. And when I have to do it for multiple files, all files having the text in multiple places, I end up opening the files in vim and then doing a globlal replace. But this is not efficient so I cam up with some one liners to do this for me. For removing any occurance of text in all files in the directory :

Continue reading

2010-06-25 4 min read Linux

Note: I am using this and definately this is a big improvement over the previous versions. Here is the blog from gnome blog:

After more than a year of heavy development, <a class="zem_slink freebase/en/networkmanager" title="NetworkManager" rel="homepage" href="http://www.gnome.org/projects/NetworkManager">NetworkManager 0.8 was unleashed on the world a few weeks ago.  While we obviously couldn’t make everyone happy just yet, this release includes a ton of great stuff.  Much of it is under the hood, so while it won’t dazzle you in a blinding flash of light, it should still make your head explode.

Continue reading

need help on deciding the ISP to host my website.

2010-06-25 1 min read Uncategorized

My <a class="zem_slink freebase/en/internet_hosting_service" title="Internet hosting service" rel="wikipedia" href="http://en.wikipedia.org/wiki/Internet_hosting_service">hosting services account is expiring next month and I am evaluating to see if I should stick with the current <a class="zem_slink freebase/en/internet_service_provider" title="Internet service provider" rel="wikipedia" href="http://en.wikipedia.org/wiki/Internet_service_provider">ISP (<a href="http://znetindia.com">http://znetindia.com or <a href="http://zneti.com">http://zneti.com). I am quite happy with the current service but miss the <a class="zem_slink freebase/en/shell_account" title="Shell account" rel="wikipedia" href="http://en.wikipedia.org/wiki/Shell_account">shell account service. Since there is no shell account so I cannot do much on the <a class="zem_slink freebase/en/server" title="Server (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Server_%28computing%29">server..

Continue reading

bash script to change the vim colorscheme from the list of locally available schemes

2010-06-24 0 min read Bash Fedora Learning Linux Vim Tips
\"MacVim
Image via Wikipedia

Today I was just wondering how good it would be to have a script to change the <a class="zem_slink freebase/en/vim" title="Vim (text editor)" rel="homepage" href="http://www.vim.org/">vim colorscheme from the <a class="zem_slink freebase/en/cmd_exe" title="Command Prompt" rel="wikipedia" href="http://en.wikipedia.org/wiki/Command_Prompt">command prompt. The plan for the script was simply to print the list of available schemes and then let the user select the actions from there on. So, here is the result:

Continue reading

5 Ways to Print Folder and Directory Contents in Windows

2010-06-24 6 min read Linux

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category

<a HREF="http://feedproxy.google.com/~r/Makeuseof/~3/zKIpFnJgTKg/">5 Ways to Print Folder and Directory Contents in Windows

<img SRC="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/TNail1.png" ALIGN="bottom" ALT="" BORDER="0"/>It’s one of those simple tasks that suddenly come upon us and we have no idea how to go about it. I had a whole fat folder filled with ebooks and someone casually asked me to send over a list. A list… that sounds really simple.

Did I forget to mention that the ebook folder was really filled with a lot of titles? It must have had almost 120 ebooks. I almost started manually typing the names when I figured that there must be a less laborious way to print out the directory contents.

Continue reading
Older posts Newer posts