amit agarwal
Using ssmtp to send mail using gmail.
2011/02/19
First install the package ssmtp using the command: […] <td> <div class="text codecolorer"> sudo yum install ssmtp </div> </td> </tr> Open the …
Remove some path from the PATH variable temporarily.
2010/09/04
How many times has it happened to you that you are working on some linux platform (like Fedora/Ubuntu/CentOS etc) and suddenly you see that you need to remove some path from the PATH variable so that …
Pictures from my new camera :)
2010/08/31
As promised here are few pics from my DSLR.<div class="kwiclick-action-container visible" style="left: 0px ! important; top: 1px ! important;"><img …
Linux command to repeat a string n times - Super User
2010/07/20
I was working on something and needed to output the string n times. I have required this even to print a line with ’-’ or ’=’ but this time I badly wanted it in …
bash script to change the vim colorscheme from the list of locally available schemes
2010/06/24
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" …
Stats for blog.amit-agarwal.co.in
2010/06/09
Last couple of weeks/months has been a very good time for my blog. The subscribers have increased, the visits have increased. My blog is visited more and more from the search results. My alexa ranking …
colors in bash – script to display all the possible colors.
2010/06/06
If you wanted to have colors in the bash output (including the colors in PS1-4), don’t you keep wondering how the color code would look on the terminal. So, I wrote this small script to show …
let a cow tell you your fortune
2010/06/03
let a cow tell you your fortune […] <td> <div class="text codecolorer"> $ fortune | <a class="zem_slink freebase/en/cowsay" title="Cowsay" …
Checking the links to your site (from affiliates) using cron and bash script.
2010/05/27
If you have some affiliate links and are concerned about their presence then you can setup <a class="zem_slink freebase/guid/9202a8c04000641f80000000045c9c5b" title="Cron" …
vim - get mappings from the help tex files available with the scripts.
2010/05/27
Here is a simple script that will show all the vim mappings from the tex file (help file that comes with the vim scripts). This will prove to be very useful in usin gthe mappings 🙂 […] …
Script to download all the related videos from youtube with youtube-dl
2010/05/17
Lets cut the long discussion <a class="zem_slink freebase/en/short_subject" title="Short film" rel="wikipedia" …
core dump checking script.
2010/04/11
I was testing a program which crashing every now and then. It is very difficult in such scenarios to keep looking for the <a class="zem_slink" title="Core dump" …