Another nice utility for blogging from within firefox.
Scribfire is another nice utility for blogging withing firefox. Nice features and quick and easy to configure and use ..
Scribfire is another nice utility for blogging withing firefox. Nice features and quick and easy to configure and use ..
All work and no fun makes Jack dull boy. So lets do something for fun. Here is a one liner I wrote sometime back. The original idea is not mine and I don’t remeber where I got the idea from but it was some other one liner that I was browsing for some oracle query. Anyway here’s the one liner to get lot of jokes in one file.
#!/bin/bash
Continue reading
for i in `echo 000{0..9} 00{10..99} 0{100..999} {1000..1600}` ; do links -dump http://www.robsjokes.com/$i/index.html | sed ’/Random Joke/,/Next Joke/!d’ | sed ’/^$/,/^$/!d’ » ~/Rob.jokes ; echo ’%’ » ~/Rob.jokes ;echo $i; done
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$ geoip(){curl -s "http://www.geody.com/geoip.php?ip=${1}" | sed '/^IP:/!d;s/<[^>][^>]*>//g' ;}
<a href="http://www.commandlinefu.com"><img src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/header-logo.jpg" alt="commandlinefu.com" align="bottom" />
by David Winterbottom (<a href="http://codeinthehole.com">codeinthehole.com)
<a href="http://feedads.g.doubleclick.net/~a/cceHjCeJpY_mGEm7ufxOyYvznhw/0/da"><img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/cceHjCeJpY_mGEm7ufxOyYvznhw/0/di" border="0" alt="" align="bottom" />
<a href="http://feedads.g.doubleclick.net/~a/cceHjCeJpY_mGEm7ufxOyYvznhw/1/da"><img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/cceHjCeJpY_mGEm7ufxOyYvznhw/1/di" border="0" alt="" align="bottom" />
<img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~r/Command-line-fu/~4/TiutyTYxoU0" border="0" alt="" width="1" height="1" align="bottom" />
URL: <a href="http://feedproxy.google.com/~r/Command-line-fu/~3/TiutyTYxoU0/geoip-lookup">http://feedproxy.google.com/~r/Command-line-fu/~3/TiutyTYxoU0/geoip-lookup<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.killerstartups.com/Web-App-Tools/retwt-me-shortening-links-in-a-new-setting">ReTwt.me – Shortening Links In A New Setting (killerstartups.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/9044e865-5beb-432f-b243-31d6858ee7a2/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e21.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related pretty-attribution">
If you IP is 83.233.30.32 then contact me if you want to access my site in any manner. To check your IP click <a href="http://amit-agarwal.co.in/mystuff/getip_txt.php" target="_blank">here.
<a id="aptureLink_4P0PJ73NaG" style="margin: 0pt auto; padding: 0px 6px; text-align: center; display: block;" href="http://en.wikipedia.org/wiki/Log%20analysis"><img style="border: 0px none;" title="Log analysis" src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/ph/360x320_WikipediaArticle" alt="" width="360px" height="320px" />
I was trying to do some <a class="zem_slink freebase/en/log_analysis" title="Log analysis" rel="wikipedia" href="http://en.wikipedia.org/wiki/Log_analysis">log analysis and finding the events in the logs. For this the logs had the Events logged as ”|+Event name|” or with sending and receiving. So I wrote this little script to take care of my requirements.
Continue readingThis article is part of the on-going Unix Sed Tips and Tricks series. In our previous sed articles we learned — sed printing, sed deletion, sed substitute , sed file write, and sed multiple commands. In this article, let us review some interesting workarounds with the “s” substitute command in sed with several practical examples. I. […]
Read More: <a href="http://www.thegeekstuff.com/2009/10/unix-sed-tutorial-advanced-sed-substitution-examples/">Unix Sed Tutorial: Advanced Sed Substitution Examples
URL: <a href="http://feedproxy.google.com/~r/TheGeekStuff/~3/uN-cE6UOvfA/">http://feedproxy.google.com/~r/TheGeekStuff/~3/uN-cE6UOvfA/<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.slumpedoverkeyboarddead.com/2009/08/06/vim-video-tutorial/">VIM video tutorial (slumpedoverkeyboarddead.com) <li class="zemanta-article-ul-li"><a href="http://www.slumpedoverkeyboarddead.com/2009/08/22/turn-vim-or-emacs-into-and-ide-with-exuberant-ctags/">Turn Vim or Emacs Into and IDE With Exuberant-Ctags (slumpedoverkeyboarddead.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/0d68ebaf-6fc5-419a-a31c-7d31bc55ab3f/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e8.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related pretty-attribution">