Transfer all the google feed URLs to rss2email.

2010-05-09 1 min read Fedora Linux

Next step in restoring my settings was to get the working rules and all the blogs into rss2email. I have subscribed to more than 150 blogs. So, adding all of them manually was difficult.

For a time like this, I subscribe to all the blogs using google reader and then add them to rss2email. So I had quickly exported the google feeds list and then had to find a way to extract the URLs for the blog to the rss2email. The command to add a url is r2e add, so I wrote this one line just now to do the task for me.

Continue reading

bash script to periodically change the cursor theme.

2010-05-07 1 min read Fedora GNOME

#!/bin/bash
[[ ”$1” == ”” ]] && time=5 || time=$1
[[ ”$2” == ”” ]] && (
cd ~/.icons
cont=”y”
echo ”Select one of the icon themes”
echo ”When you like some theme just press Ctrl+c”
for i in *
do
[[ -d $i/cursors ]] && (
echo ”Now trying …. : $i”
gconftool-2 –type string -s  /desktop/gnome/peripherals/mouse/cursor_theme ”$i”
sleep $time
)
done
) || gconftool-2 –type string -s  /desktop/gnome/peripherals/mouse/cursor_theme ”$2”

Continue reading

Post your free classifieds.

2010-05-07 1 min read Linux

I have put up a free classifieds site here:

<a href="http://noah.amit-agarwal.co.in/" target="_blank">http://noah.amit-agarwal.co.in/

top - looks better and is more useful with a rc file...

2010-05-07 1 min read Fedora Learning Linux

top is a very useful command to find out who is eating up the <a class="zem_slink freebase/en/central_processing_unit" title="Central processing unit" rel="wikipedia" href="http://en.wikipedia.org/wiki/Central_processing_unit">CPU or the memory. But sometimes the plain and simple look simply would be boring so how about some fun. Copy the below code to file : ~/.toprc

RCfile for &#8221;top&#8221;
Id:a, Mode_altscr=1, Mode_irixps=0, Delay_time=5.000, Curwin=0
Def    fieldscur=mfcAbdEgHIursOpQTvyzWjKNLX
winflags=32184, sortindx=10, maxtasks=0
summclr=4, msgsclr=5, headclr=5, taskclr=4
Job    fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX
winflags=62777, sortindx=0, maxtasks=0
summclr=6, msgsclr=6, headclr=7, taskclr=6
Mem    fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX
winflags=62777, sortindx=13, maxtasks=0
summclr=5, msgsclr=5, headclr=4, taskclr=5
Usr    fieldscur=ABDECGfhijlopqrstuvyzMKNWX
winflags=62777, sortindx=4, maxtasks=0
summclr=3, msgsclr=3, headclr=2, taskclr=3

Continue reading

Prachi collage

2010-05-06 0 min read Linux
\"\"

<span style="font-size: 0.9em; margin-top: 0px;">
<a href="http://www.flickr.com/photos/raj77_in/3946748772/">Prachi

Originally uploaded by <a href="http://www.flickr.com/people/raj77_in/">raj77_in

Later in the week or early next week I will be posting how I created the collage.
<br clear="all" />

View entire process string

2010-05-06 0 min read Solaris
\"Solaris
Image via Wikipedia

$ /usr/ucb/ps -auxgww Depending on your installation, when you run ps you will only get the first 40 or so characters displayed. In order to view the entire string, use /usr/ucb/ps on <a class="zem_slink freebase/en/solaris_operating_system" title="Solaris (operating system)" rel="homepage" href="http://www.sun.com/solaris/">Solaris.

<a class="zem_slink freebase/en/uniform_resource_locator" title="Uniform Resource Locator" rel="wikipedia" href="http://en.wikipedia.org/wiki/Uniform_Resource_Locator">URL: <a href="http://feedproxy.google.com/~r/Command-line-fu/~3/3y5LUukdRu8/view-entire-process-string">http://feedproxy.google.com/~r/Command-line-fu/~3/3y5LUukdRu8/view-entire-process-string<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://domainmacher.com/snurl-com-a-secure-and-simple-url-shortener/?utm_source=rss&utm_medium=rss&utm_campaign=snurl-com-a-secure-and-simple-url-shortener">SnURL.com – A Secure And Simple URL Shortener (domainmacher.com) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/5575dd33-40cb-43f4-9de1-9a17f6372eef/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b44.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

Continue reading
Older posts Newer posts