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’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

query and downgrade selected packages based on version or repository

2009-12-24 1 min read Fedora Linux

If you have worked on rpm based distro then you know how difficult it is to downgrade packages. And unluckily I upgraded some packages to fc12 and was still on FC11. Completely my mistake while doing some R&D. Anyway to downgrade I had to device some mechanism and here it is:

rpm -qa –qf ”%-30{NAME}%-20{RELEASE}\n” |grep fc12 |awk '{print $1}’|tr ’\n’ ’ ’ >downgrade

yum downgrade `cat downgrade`

Finding all numbers that are bigger than 1 in vim

2009-12-24 1 min read Fedora Linux Vim Tips

/^([2-9]d*|1d+)
If we have a csv like structure

The trick here is simple, lets look at the regex from the begining:

^ – start from the begining
() – start and end of block
[] – digits within this. So we are looking from 2 to 9 to exclude the numbers begining with 1
d – search for digits

  • – search for one or more
    | – or operation
    1 – search for numbers begining with 1
  • – containing atleast one occurence or more.<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://sparksspace.blogspot.com/2009/10/adding-leading-zeros-in-excel.html">Adding Leading Zeros in Excel (sparksspace.blogspot.com)
  • <li class="zemanta-article-ul-li"><a href="http://blog.creativethink.com/2009/11/the-best-thing-about-2010.html">The Best Thing About &#8221;2010&#8221; (creativethink.com) <li class="zemanta-article-ul-li"><a href="http://www.revenews.com/jackbusch/google-goggles-the-world-is-your-hyperlink/">Google Goggles: The World is Your Hyperlink (revenews.com)
<div class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/e022d83e-669e-4cad-894c-cdab54a1946c/" title="Reblog this post [with Zemanta]"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e34.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

Chrome – Chromium on Linux (repo)

2009-12-19 1 min read Fedora

Fedora people put up a repo for the chrome web browser and it is quite frequently updated. All you need to do to install the browser is following:

sudo vi /etc/yum.repos.d/chrome.repo

and add the following lines

name=Chromium Test Packages
baseurl=http://spot.fedorapeople.org/chromium/F$releasever/
enabled=1
gpgcheck=0

Once this is done, you can install the browser with yum as follows:

sudo yum install chromium

[[danscartoon]]

Compiz/Beryl issue on Fedora.

2009-12-15 1 min read Fedora Linux

Since quite some time I was getting the below error when I am trying to run compiz. I was busy and also was not working in Gnome so did not look at this until today.

compiz (core) – Fatal: Root visual is not a GL visual.

on doing a grep in the Xorg log files found that the error is due to the mismatch of version between kernel module and the nvidia driver. The command to check the errors in the Xorg log file is

Continue reading

gnome-shell and gnome-do on F11 Screenshots

2009-12-02 1 min read Fedora GNOME

Here are some screenshots of gnome-shell :

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_0011.jpe"><img class="size-full wp-image-1246" title="Gnome Shell" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_0011.jpe" alt="Gnome Shell" width="840" height="525" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot.png"><img class="size-full wp-image-1247" title="Gnome Shell" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot.png" alt="Gnome Shell" width="840" height="525" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-1.png"><img class="size-full wp-image-1248" title="Gnome Shell" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-1.png" alt="Gnome Shell" width="840" height="525" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-2.png"><img class="size-full wp-image-1249" title="Gnome Shell" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-2.png" alt="Gnome Shell" width="840" height="525" />

Using snmp trap receiver on Fedora (Linux)

2009-11-25 1 min read Fedora

First off install the net-snmp things:

sudo yum install net-snmp net-snmp-utils

After that it will run out of the box with the command:

sudo snmptrapd -A -d -n -Lf trap.log

Some interesting links:

<a class="fixed" href="http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmptrap" target="_blank">http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmptrap
<a class="fixed" href="http://net-snmp.sourceforge.net/wiki/index.php/TUT:Configuring_snmptrapd#Matching_SNMPv2_OIDs" target="_blank">http://net-snmp.sourceforge.net/wiki/index.php/TUT:Configuring_snmptrapd#Matching_SNMPv2_OIDs
<a class="fixed" href="http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html" target="_blank">http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html

Older posts Newer posts