core dump checking script.

2010-04-11 2 min read Bash Linux Solaris

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" rel="wikipedia" href="http://en.wikipedia.org/wiki/Core_dump">core file or keep checking for the running process. So I wrote this simple script that can check for core file in the particular path and keep running until it finds one. You can hack this script to send a mail once the core is found. This is a very simple script. And this should work on solaris too..

Continue reading

bash script to change vim colorscheme based on the available themes

2010-04-11 0 min read Fedora Vim Tips
\"MacVim
Image via Wikipedia

Here&#8217;s one script that you may find useful. A little variation or wrapper for this script can make your life colorful 🙂

You can write a wrapper to this to take one of the inputs randomly and then use it in alias to start <a class="zem_slink freebase/en/vim" title="Vim (text editor)" rel="homepage" href="http://www.vim.org/">vim.

Continue reading

Blog once and educate 40,000 underprivileged children of India

2010-01-18 3 min read Uncategorized

Here&#8217;s one of the mail that I received from the IndiBlogger team.

<span style="font-size: x-small;">Dear <a class="zem_slink" title="Amit Agarwal" rel="homepage" href="http://www.labnol.org/about.html">Amit Agarwal,

<span style="font-size: x-small;">Here is a unique opportunity to reach out and impact thousands of lives through your blog. Yes, sitting at your desk and writing a <a class="zem_slink" title="blog post" rel="homepage" href="http://blog.facebook.com/blog.php?post=136782277130">blog post can help educate 40,000 young Indians all over our country!

<span style="font-size: x-small;">One of <a class="zem_slink freebase/en/india" title="India" rel="geolocation" href="http://maps.google.com/maps?ll=28.6133333333,77.2083333333&spn=10.0,10.0&q=28.6133333333,77.2083333333%20%28India%29&t=h">India’s most trusted and credible <a class="zem_slink freebase/en/non-governmental_organization" title="Non-governmental organization" rel="wikipedia" href="http://en.wikipedia.org/wiki/Non-governmental_organization">NGOs, <a class="zem_slink freebase/en/giveindia" title="GiveIndia" rel="wikipedia" href="http://en.wikipedia.org/wiki/GiveIndia">GiveIndia is taking part in a competition on <a class="zem_slink freebase/en/facebook" title="Facebook" rel="homepage" href="http://facebook.com">Facebook to win a US$1 million grant. The winner will be the NGO that gets the highest number of votes from Facebook users. The prize of $1 million will help put or keep 40,000 children across India in <a class="zem_slink freebase/en/school" title="School" rel="wikipedia" href="http://en.wikipedia.org/wiki/School">school for one year!

Continue reading
Newer posts