Vi/VIM and Unix/Linux cheatsheets.

2009-10-26 1 min read Linux

I found quite a lot of good information today morning.

Some really good info on vi/vim. I liked the this one:”Also, you don’t have to use the / command as a separator. Anything typed after s will become the separator”

<a href="http://ask.slashdot.org/article.pl?sid=08/11/06/206213&from=rss" target="_blank">http://ask.slashdot.org/article.pl?sid=08/11/06/206213&from=rss

Some of the best collection of vi/vim tips: (though a lot of them do not have explanations)

<a href="http://vim.wikia.com/wiki/Best_Vim_Tips" target="_blank">http://vim.wikia.com/wiki/Best_Vim_Tips

Top 10 Best Cheat Sheets and Tutorials for Linux / UNIX Commands

Continue reading

raj77in on Google – I am the only one on the first page.

2009-10-25 1 min read Uncategorized

Guess what, I did a search on Goggle for raj77in and I am the only one on the first page (10 results), did not go to the next pages. WOW I must be impressed with myself and with Google.

Here is the link

<a href="http://www.google.co.in/#hl=en&source=hp&q=raj77in" target="_blank">http://www.google.co.in/#hl=en&source=hp&q=raj77in

Comments on how did you find the result for search of your username.<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.cloudave.com/link/what-does-the-crowd-think-of-enterprise-2-0-and-social-media">What does the Crowd think of Enterprise 2.0 and Social Media? (cloudave.com) <li class="zemanta-article-ul-li"><a href="http://www.frontofficebox.com/FOB_Knowledgebase/2009/10/24/check-your-web-site-grade/">Check Your Web Site Grade (frontofficebox.com) <div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/11134e28-c63e-4bb1-ab2f-02795a92106f/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e6.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related pretty-attribution">

Continue reading

First traceback

2009-10-25 1 min read Linux

<a href="http://www.bin-co.com/blog/2008/10/blogging-tradition-subscription-notification/trackback/">Binny V A recently quoted my blog in this posting. Since this is the first traceback to my site, so I think it was worth mentioning. Thanks Binny and I did like your idea.

rebuild rpm from installed rpm with rpmrebuild

2009-10-22 1 min read Fedora Linux

Ever happened to you that you downloaded and installed  a rpm and then deleted the package? If your answer is yes, then there is a solution.

Come to the fairyland of rpmrebuild. Create the rpm from the installed files  and give a new number if required.

sudo yum install rpmrebuild

Simplest use is to

rpmrebuild

but I personally like the one mentioned below:

rpmrebuild -R -v -P –pug-from-db

Continue reading

stop indentation on current file in vim to keep the indentation from copied text.

2009-10-22 1 min read Linux Vim Tips

I have been looking for this for quite some time. Finally found two easy ways to do it:

:setlocal noautoindent
:setlocal nocindent
:setlocal nosmartindent
:setlocal indentexpr=

Just use the above four commands when the file is already open to stop all the indentation/smart indentation/auto indentation in vim for the current file. If you want to map it then you can use shorthand notations and map it in the .vimrc file.

Continue reading

wordpress upgraded to latest 2.8.5

2009-10-22 1 min read Uncategorized

Living on the edge and updating regularly is something I hope everyone likes. So I too did the same and upgraded my wordpress to 2.8.5 as soon as I saw the upgrade notice.

Happy Diwali Wishes

2009-10-18 1 min read Uncategorized

Wish all my readers, Happy Diwali.

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/dscf7252.resized.jpg"><img class="size-full wp-image-1329" title="Diwali" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/dscf7252.resized.jpg" alt="Diwali" width="1038" height="782" />

Older posts Newer posts