get the contents of whole site like some wiki or wikia

2014-02-24 1 min read Learning Uncategorized

For wikis and wikia, generally if you are trying to get some url mirror, then websucker.py is an excellent option. This script is in the python sources so, to get this tool,

yumdownloader --source python

Install the rpm downloaded in current directory and then go to ~/rpmbuild/SOUURCES.  You should find a Python-*.tar.xz file here, just extract with

tar xvf Python*.tar.xz

and there you go, you should find the tool in Tools/webchecker/websucker.py.

Continue reading

CR Post to Ping.fm not working – resolved.

2011-06-02 1 min read Wordpress

Last couple of months I was having a tough time getting the plugins in my wordpress to work with the ping.fm service.  This is the only service that I rely on to post my blogs. So, basically I was left with no mechanism to publish my new posts 🙁

Now thanks to this post I am able to use the plugin again and thus update my status at multiple places again.

Continue reading

find duplicate entry in a list in bash with sed

2010-06-25 1 min read Bash Fedora Learning

Here I will take an example of rss2email list, but I guess I will be able to pass on the concept.

Here is example of the output of the r2e list command:

1: http://blog.amit-agarwal.co.in/feed (default: amitag@localhost)
2: http://feeds2.feedburner.com/AllAboutLinux (default: amitag@localhost)
3: http://feeds2.feedburner.com/Command-line-fu (default: amitag@localhost)
4: http://blogs.members.freewebs.com/Members/Blogs/viewBlogRSS.jsp?userid=29731143 (default: amitag@localhost)

Target here is to get the list of all duplicate entries if any. So, first we need to remove the numbers from the begining and the email ID from the end.

Continue reading

l-exp listrs – A new look at linux blogs and sites

2010-04-07 0 min read Uncategorized
\"View\"\"More\"Tags\"\"Comments\"\"Share\"\"Send\"\"Favorite\"\"Twitter\"\"Facebook\"

<a href="http://www.flickr.com/photos/73645804@N00/466188059"><img id="kwiclick-temp-0" title="gigantic apple final cut studio software sign …" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/466188059_ca5f73a0a9_m.jpg" alt="gigantic apple final cut studio software sign …" />

<dd class="wp-caption-dd zemanta-img-attribution">Image by <a href="http://www.flickr.com/photos/73645804@N00/466188059">woodleywonderworks via Flickr

Continue reading

Short Information about loaded kernel modules

2010-01-24 2 min read Linux

There are couple of ways you can find the information on the <a class="zem_slink" title="Loadable kernel module" rel="wikipedia" href="http://en.wikipedia.org/wiki/Loadable_kernel_module">loadable kernel modules. All these would always involve calling <a class="zem_slink" title="Lsmod" rel="wikipedia" href="http://en.wikipedia.org/wiki/Lsmod">lsmod to get the loaded kernel modules and then calling modinfo to get the info on the loaded modules. I will show you with examples:

$ lsmod
Module                  Size  Used by
cdc_acm                19616  0
vfat                    8744  9
fat                    41836  1 vfat

Continue reading

Simple rss to email service for your feeds on Linux with your/ISP server.

2010-01-01 2 min read Fedora Linux

I like couple of blogs and feeds but the problem is that I keep forgetting to run the rss reader and would rather like to have the rss article&#8217;s emailed to me at regular intervals so that I can read them when I want to without having to make sure that I am at my desktop at home computer or remembering to start the rss client. That sounds simple and do-able so lets try to do that.

Continue reading