<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Fedora on Amit Agarwal Linux Blog</title>
    <link>/categories/fedora/</link>
    <description>Recent content in Fedora on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sat, 02 Apr 2022 00:00:00 +0530</lastBuildDate>
    
	<atom:link href="/categories/fedora/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Creating and using ackrc</title>
      <link>/2022/04/02/Creating-and-using-ackrc/</link>
      <pubDate>Sat, 02 Apr 2022 00:00:00 +0530</pubDate>
      
      <guid>/2022/04/02/Creating-and-using-ackrc/</guid>
      <description>&lt;p&gt;&lt;strong&gt;ack&lt;/strong&gt; is a fantastic replacement for grep and probably much more than grep. Here is what the dnf info has to say about ack&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;6
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Name         : ack
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Architecture : noarch
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Summary      : Grep-like text finder
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;URL          : http://beyondgrep.com/
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;License      : Artistic 2.0
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Description  : Ack is designed as a replacement for grep.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;And their websites says -&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Designed for programmers with large heterogeneous trees of source code, ack is written in portable Perl 5 and takes advantage of the power of Perl&amp;rsquo;s regular expressions.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>mussh-run-commands-on-multiple-hosts</title>
      <link>/2022/03/06/mussh-run-commands-on-multiple-hosts/</link>
      <pubDate>Sun, 06 Mar 2022 00:00:00 +0530</pubDate>
      
      <guid>/2022/03/06/mussh-run-commands-on-multiple-hosts/</guid>
      <description>&lt;p&gt;&lt;strong&gt;mussh&lt;/strong&gt; allows you to run command/commands on multiple hosts
at the same time. If you have farm of server setup with passwordless
ssh or with same password (which is generally the case), then using
mussh you can either check all the servers for some output or fix
something or maybe update all the packages. How cool is that :)&lt;/p&gt;
&lt;p&gt;Here is description of this package from &lt;em&gt;dnf&lt;/em&gt; repo&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Name         : mussh
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Version      : 1.0
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Release      : 18.fc35
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Architecture : noarch
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Size         : 20 k
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Source       : mussh-1.0-18.fc35.src.rpm
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Repository   : fedora
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Summary      : Multihost SSH wrapper
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;URL          : http://www.sourceforge.net/projects/mussh
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;License      : GPL+
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Description  : Mussh is a shell script that allows you to execute a command or
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;             : script over ssh on multiple hosts with one command. When possible
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;             : mussh will use ssh-agent and RSA/DSA keys to minimize the need to
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;             : enter your password more than once.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>terminal.sexy – make your teminal sexy</title>
      <link>/2019/07/22/terminal-sexy-make-your-teminal-sexy/</link>
      <pubDate>Mon, 22 Jul 2019 00:55:11 +0000</pubDate>
      
      <guid>/2019/07/22/terminal-sexy-make-your-teminal-sexy/</guid>
      <description>&lt;p&gt;terminal.sexy is a nice webpage that allows you to select the colors for your terminal and then you can export it in various formats.&lt;/p&gt;
&lt;p&gt;Main site : &lt;a href=&#34;http://terminal.sexy&#34;&gt;http://terminal.sexy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and for the source code: &lt;a href=&#34;https://github.com/stayradiated/terminal.sexy&#34;&gt;Github URL&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Check your session type – wayland or X11</title>
      <link>/2019/07/15/check-your-session-type-wayland-or-x11/</link>
      <pubDate>Mon, 15 Jul 2019 00:51:43 +0000</pubDate>
      
      <guid>/2019/07/15/check-your-session-type-wayland-or-x11/</guid>
      <description>&lt;p&gt;With both wayland and X11 in mainstream, its pretty easy to forget if you are running in Wayland or in X11. To check this here are the commands:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;loginctl list-sessions
# The above command will show you all the sessions. Note the session number for your session

loginctl show-session &amp;lt;session number&amp;gt; -p Type&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>Running dnsmasq with NetworkManager in Fedora</title>
      <link>/2019/06/10/running-dnsmasq-with-networkmanager-in-fedora/</link>
      <pubDate>Mon, 10 Jun 2019 01:00:04 +0000</pubDate>
      
      <guid>/2019/06/10/running-dnsmasq-with-networkmanager-in-fedora/</guid>
      <description>&lt;p&gt;Here is a good link to do this:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://fedoramagazine.org/using-the-networkmanagers-dnsmasq-plugin/&#34;&gt;https://fedoramagazine.org/using-the-networkmanagers-dnsmasq-plugin/&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Fedora – dnsmasq with NetworkManager</title>
      <link>/2019/04/29/fedora-dnsmasq-with-networkmanager/</link>
      <pubDate>Mon, 29 Apr 2019 00:59:03 +0000</pubDate>
      
      <guid>/2019/04/29/fedora-dnsmasq-with-networkmanager/</guid>
      <description>&lt;p&gt;I have been thinking of writing about this for long time but someone else did and it is nice write-up so here is the link – &lt;a href=&#34;https://fedoramagazine.org/using-the-networkmanagers-dnsmasq-plugin/&#34;&gt;https://fedoramagazine.org/using-the-networkmanagers-dnsmasq-plugin/&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Gnome with i3 on Fedora 29</title>
      <link>/2019/02/25/gnome-with-i3-on-fedora-29/</link>
      <pubDate>Mon, 25 Feb 2019 00:56:15 +0000</pubDate>
      
      <guid>/2019/02/25/gnome-with-i3-on-fedora-29/</guid>
      <description>&lt;p&gt;I have been thinking of doing this for long time, finally I managed to get this working. Here is what you need to do to get i3 with all other gnome services running.&lt;/p&gt;
&lt;p&gt;First we will create 2 files, this is actually all you need. In these ones, I copied the original gnome files and just change gnome-shell to i3 to replace my window manager.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;11:15:43=&amp;gt;[&lt;del&gt;]&amp;gt; cat /usr/share/gnome-session/sessions/gnome-i3.session&lt;br&gt;
[GNOME Session]&lt;br&gt;
Name=GNOME + i3&lt;br&gt;
# RequiredComponents=gnome-flashback-init;gnome-flashback;i3;gnome-settings-daemon;&lt;br&gt;
RequiredComponents=i3;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Clipboard;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Mouse;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;&lt;br&gt;
11:15:47=&amp;gt;[&lt;/del&gt;]&amp;gt; cat /usr/share/xsessions/gnome-i3.desktop&lt;br&gt;
[Desktop Entry]&lt;br&gt;
Name=GNOME i3&lt;br&gt;
Comment=This session logs you into GNOME + i3&lt;br&gt;
Exec=env GNOME_SHELL_SESSION_MODE=gnome-i3 gnome-session –session gnome-i3&lt;br&gt;
TryExec=gnome-session&lt;br&gt;
Type=Application&lt;br&gt;
DesktopNames=GNOME-Classic;GNOME;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash function for rpm whatprovides</title>
      <link>/2018/12/31/bash-function-for-rpm-whatprovides/</link>
      <pubDate>Mon, 31 Dec 2018 01:00:38 +0000</pubDate>
      
      <guid>/2018/12/31/bash-function-for-rpm-whatprovides/</guid>
      <description>&lt;p&gt;Sometimes some simple one-liner function can save you a lot of time, like-&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;wps ()
{
    rpm -q --whatprovides $(which $1 )
}   # ----------  end of function wps  ----------

&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>rats – source code analysis</title>
      <link>/2018/09/17/interesting-packages-install/</link>
      <pubDate>Mon, 17 Sep 2018 01:00:57 +0000</pubDate>
      
      <guid>/2018/09/17/interesting-packages-install/</guid>
      <description>&lt;p&gt;I stublemed across this recently so thought of sharing this for you 🙂&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo yum install rats&lt;/pre&gt;
&lt;p&gt;And some details about rats&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;RATS(Rough Auditing Tool for Security) scans through code, finding potentially
&lt;/blockquote&gt;
&lt;p&gt;dangerous function calls. The goal of this tool is not to definitively find
bugs (yet). The current goal is to provide a reasonable starting point for
performing manual security audits.
The initial vulnerability database is taken directly from things that could be
easily found when starting with the forthcoming book, &amp;ldquo;Building Secure
Software&amp;rdquo; by Viega and McGraw.&lt;/pre&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>systemctl enable  and start service</title>
      <link>/2018/09/10/systemctl-enable-sshdservice/</link>
      <pubDate>Mon, 10 Sep 2018 01:04:04 +0000</pubDate>
      
      <guid>/2018/09/10/systemctl-enable-sshdservice/</guid>
      <description>&lt;p&gt;Most of the times when I want to enable the service, I find myself enabling it immediately or it is vice versa. So, the commands I used to use were:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;systemctl enable sshd.service
systemctl start sshd.service&lt;/pre&gt;
&lt;p&gt;But recently I learned that I do not need the 2 commands and this can be done in single command like below&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      &amp;amp;nbsp;
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;systemctl enable --now sshd.service&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>recoll – Desktop search tool</title>
      <link>/2018/07/02/recoll-desktop-search-tool/</link>
      <pubDate>Mon, 02 Jul 2018 00:59:33 +0000</pubDate>
      
      <guid>/2018/07/02/recoll-desktop-search-tool/</guid>
      <description>&lt;pre class=&#34;brush:plain&#34;&gt;Name         : recoll
Version      : 1.23.7
Release      : 2.fc28
Arch         : x86_64
Size         : 2.1 M
Source       : recoll-1.23.7-2.fc28.src.rpm
Repo         : fedora
Summary      : Desktop full text search tool with Qt GUI
URL          : http://www.lesbonscomptes.com/recoll/
License      : GPLv2+
Description  : Recoll is a personal full text search package for Linux, FreeBSD and
             : other Unix systems. It is based on a very strong back end (Xapian), for
             : which it provides an easy to use, feature-rich, easy administration
             : interface.

&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>sigil – ebook editor</title>
      <link>/2018/06/18/sigil-ebook-editor/</link>
      <pubDate>Mon, 18 Jun 2018 00:54:47 +0000</pubDate>
      
      <guid>/2018/06/18/sigil-ebook-editor/</guid>
      <description>&lt;p&gt;sigil is WYSIWYG ebook editor, here are more details.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;blockquote&gt;
&lt;pre class=&#34;brush:plain&#34;&gt;Name         : sigil
&lt;/blockquote&gt;
&lt;p&gt;Version      : 0.9.9
Release      : 2.fc28
Arch         : x86_64
Size         : 3.6 M
Source       : sigil-0.9.9-2.fc28.src.rpm
Repo         : fedora
Summary      : WYSIWYG ebook editor
URL          : &lt;a href=&#34;https://sigil-ebook.com/&#34;&gt;https://sigil-ebook.com/&lt;/a&gt;
License      : GPLv3+
Description  : Sigil is a multi-platform WYSIWYG ebook editor. It is designed to edit books
: in ePub format.
:
: Now what does it have to offer&amp;hellip;
:
:     * Full Unicode support: everything you see in Sigil is in UTF-16
:     * Full EPUB spec support
:     * WYSIWYG editing
:     * Multiple Views: Book View, Code View and Split View
:     * Metadata editor with full support for all possible metadata entries with
:       full descriptions for each
:     * Table Of Contents editor
:     * Multi-level TOC support
:     * Book View fully supports the display of any XHTML document possible under
:       the OPS spec
:     * SVG support
:     * Basic XPGT support
:     * Advanced automatic conversion of all imported documents to Unicode
:     * Currently imports TXT, HTML and EPUB files; more will be added with time
:     * Embedded HTML Tidy; all imported documents are thoroughly cleaned;
:       changing views cleans the document so no matter how much you screw up
:       your code, it will fix it (usually)
&lt;/pre&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>ranger – try terminal file manager</title>
      <link>/2018/06/11/ranger-terminal-file-manager/</link>
      <pubDate>Mon, 11 Jun 2018 01:00:06 +0000</pubDate>
      
      <guid>/2018/06/11/ranger-terminal-file-manager/</guid>
      <description>&lt;p&gt;ranger is a terminal file manager, just install and run and have some fun.&lt;/p&gt;
&lt;p&gt;Tip: You might want to try it on uxrvt terminal and in Photos folder once.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Name : ranger&lt;/dt&gt;
&lt;dt&gt;Version : 1.7.2&lt;/dt&gt;
&lt;dt&gt;Release : 8.fc28&lt;/dt&gt;
&lt;dt&gt;Arch : noarch&lt;/dt&gt;
&lt;dt&gt;Size : 1.2 M&lt;/dt&gt;
&lt;dt&gt;Source : ranger-1.7.2-8.fc28.src.rpm&lt;/dt&gt;
&lt;dt&gt;Repo : @System&lt;/dt&gt;
&lt;dt&gt;From repo : fedora&lt;/dt&gt;
&lt;dt&gt;Summary : A flexible console file manager&lt;/dt&gt;
&lt;dt&gt;URL : &lt;a href=&#34;http://savannah.nongnu.org/projects/ranger/&#34;&gt;http://savannah.nongnu.org/projects/ranger/&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;License : GPLv3+&lt;/dt&gt;
&lt;dt&gt;Description : Ranger is a free console file manager that gives you greater flexibility and a&lt;/dt&gt;
&lt;dd&gt;good overview of your files without having to leave your *nix console. It&lt;/dd&gt;
&lt;dd&gt;visualizes the directory tree in two dimensions: the directory hierarchy on&lt;/dd&gt;
&lt;dd&gt;one, lists of files on the other, with a preview to the right so you know where&lt;/dd&gt;
&lt;dd&gt;you’ll be going.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;</description>
    </item>
    
    <item>
      <title>glances – new way to look at contention</title>
      <link>/2018/06/04/glances-contention/</link>
      <pubDate>Mon, 04 Jun 2018 01:00:39 +0000</pubDate>
      
      <guid>/2018/06/04/glances-contention/</guid>
      <description>&lt;p&gt;glances is like top/htop but little different. It shows you sort based on contention (smartly and automatically) unless you change that and hence if you just want to check what is biggest bottleneck in system, then head over to glances quickly. Here is quick description from dnf info command&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Name : glances&lt;/dt&gt;
&lt;dt&gt;Version : 2.11.1&lt;/dt&gt;
&lt;dt&gt;Release : 2.fc28&lt;/dt&gt;
&lt;dt&gt;Arch : noarch&lt;/dt&gt;
&lt;dt&gt;Size : 3.2 M&lt;/dt&gt;
&lt;dt&gt;Source : glances-2.11.1-2.fc28.src.rpm&lt;/dt&gt;
&lt;dt&gt;Repo : @System&lt;/dt&gt;
&lt;dt&gt;From repo : fedora&lt;/dt&gt;
&lt;dt&gt;Summary : CLI curses based monitoring tool&lt;/dt&gt;
&lt;dt&gt;URL : &lt;a href=&#34;https://github.com/nicolargo/glances&#34;&gt;https://github.com/nicolargo/glances&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;License : GPLv3&lt;/dt&gt;
&lt;dt&gt;Description : Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD.&lt;/dt&gt;
&lt;dd&gt;&lt;/dd&gt;
&lt;dd&gt;Glances uses the PsUtil library to get information from your system.&lt;/dd&gt;
&lt;dd&gt;&lt;/dd&gt;
&lt;dd&gt;It is developed in Python.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;</description>
    </item>
    
    <item>
      <title>vagrant box to libvirtd (QEMU) VM</title>
      <link>/2018/03/26/vagrant-box-libvirtd-qemu-vm/</link>
      <pubDate>Mon, 26 Mar 2018 01:00:35 +0000</pubDate>
      
      <guid>/2018/03/26/vagrant-box-libvirtd-qemu-vm/</guid>
      <description>&lt;p&gt;Like ova images, you can use box images as well with Qemu. After all, both have the disk images, so here is the script to do that. Just put the script somewhere in your path and run with ova or box image name :&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;#!/bin/bash - 
#===============================================================================
#
#          FILE: ova2vm.sh
# 
#         USAGE: ./ova2vm.sh 
# 
#   DESCRIPTION: 
# 
#       OPTIONS: ---
#  REQUIREMENTS: ---
#          BUGS: ---
#         NOTES: ---
#        AUTHOR: Amit Agarwal (aka),
#  ORGANIZATION: Mobileum
#       CREATED: 12/28/2017 13:59
# Last modified: Sun Mar 11, 2018  12:01PM
#      REVISION:  ---
#===============================================================================

set -o nounset                              # Treat unset variables as an error
dest=&#39;/mnt/Backup/VM&#39;
ORIG=${PWD}

if [[ $# == 0 ]]
then
    echo &#34;You need to provide ova/vmdk filename&#34;
    exit
fi
if [[ $1 == *ova || $1 == *box ]]
then
    tmp=$(mktemp -d /tmp/amitXXXXXXX)
    cd  $tmp
    tar xvf $ORIG/$1
    file=$(echo $PWD/*vmdk)
else
    file=$1
    echo &#34;Not a OVA file&#34;
fi
dfile=&#34;$dest/$(basename $file)&#34;

read -p &#34;Enter the name for VM :: &#34; vmname
qemu-img convert $file $dfile -p -c -O qcow2
virt-install --disk $dfile --ram 512 \
    --virt-type kvm --vcpus 1 --name &#34;$vmname&#34; --import
&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>Send history of current host to some other host over ssh</title>
      <link>/2018/02/26/send-history-current-host-host-ssh/</link>
      <pubDate>Mon, 26 Feb 2018 00:44:11 +0000</pubDate>
      
      <guid>/2018/02/26/send-history-current-host-host-ssh/</guid>
      <description>&lt;p&gt;Sometimes I want to save the history of current host on another host. This is to ensure that I can use copy/paste on other host to run the commands. To this, I found a simple solution –&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;history| ssh &amp;lt;user&amp;gt;@&amp;lt;host&amp;gt; &#39;cat - &amp;gt; /tmp/history&#39;&lt;/pre&gt;
&lt;p&gt;And on the new host, you can find the history in file “/tmp/history”, cool :). Now I can quick edit this file to create this as shell script as well if required. How cool is that.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>asciinema – video for your terminal session</title>
      <link>/2017/10/16/asciinema-video-terminal-session/</link>
      <pubDate>Mon, 16 Oct 2017 01:04:39 +0000</pubDate>
      
      <guid>/2017/10/16/asciinema-video-terminal-session/</guid>
      <description>&lt;p&gt;Info about asciinema:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Name         : asciinema&lt;/dt&gt;
&lt;dt&gt;Version      : 1.4.0&lt;/dt&gt;
&lt;dt&gt;Release      : 1.fc26&lt;/dt&gt;
&lt;dt&gt;Arch         : noarch&lt;/dt&gt;
&lt;dt&gt;Size         : 144 k&lt;/dt&gt;
&lt;dt&gt;Source       : asciinema-1.4.0-1.fc26.src.rpm&lt;/dt&gt;
&lt;dt&gt;Repo         : @System&lt;/dt&gt;
&lt;dt&gt;From repo    : fedora&lt;/dt&gt;
&lt;dt&gt;Summary      : Command line client (terminal recorder) for asciinema.org service&lt;/dt&gt;
&lt;dt&gt;URL          : &lt;a href=&#34;http://asciinema.org&#34;&gt;http://asciinema.org&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;License      : GPLv3&lt;/dt&gt;
&lt;dt&gt;Description  : Asciinema is a free and open source solution for recording the terminal sessions&lt;/dt&gt;
&lt;dd&gt;and sharing them on the web.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt;To install, you can do:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>remind – set and manager reminders the easy way</title>
      <link>/2017/10/09/remind-set-manager-reminders-easy/</link>
      <pubDate>Mon, 09 Oct 2017 01:10:28 +0000</pubDate>
      
      <guid>/2017/10/09/remind-set-manager-reminders-easy/</guid>
      <description>&lt;p&gt;remind – is a calendar and alarm program. Its simple to use from CLI. To install:&lt;/p&gt;
&lt;pre class=&#34;brush:sh&#34;&gt;dnf install remind
&lt;/pre&gt;
&lt;p&gt;and some details about it:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Name : remind&lt;/dt&gt;
&lt;dt&gt;Version : 03.01.15&lt;/dt&gt;
&lt;dt&gt;Release : 3.fc26&lt;/dt&gt;
&lt;dt&gt;Arch : x86_64&lt;/dt&gt;
&lt;dt&gt;Size : 440 k&lt;/dt&gt;
&lt;dt&gt;Source : remind-03.01.15-3.fc26.src.rpm&lt;/dt&gt;
&lt;dt&gt;Repo : @System&lt;/dt&gt;
&lt;dt&gt;From repo : fedora&lt;/dt&gt;
&lt;dt&gt;Summary : A sophisticated calendar and alarm program&lt;/dt&gt;
&lt;dt&gt;URL : &lt;a href=&#34;http://www.roaringpenguin.com/en/penguin/openSourceProducts/remind&#34;&gt;http://www.roaringpenguin.com/en/penguin/openSourceProducts/remind&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;License : GPLv2&lt;/dt&gt;
&lt;dt&gt;Description : Remind is a sophisticated calendar and alarm program. It includes the following&lt;/dt&gt;
&lt;dd&gt;features:&lt;/dd&gt;
&lt;dd&gt;&lt;ul&gt;
&lt;li&gt;A sophisticated scripting language&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dd&gt;&lt;ul&gt;
&lt;li&gt;Plain-text, PostScript and HTML output&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dd&gt;&lt;ul&gt;
&lt;li&gt;Timed reminders and pop-up alarms&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;</description>
    </item>
    
    <item>
      <title>Fedora – change from one edition to some other</title>
      <link>/2017/03/27/fedora-change-edition/</link>
      <pubDate>Mon, 27 Mar 2017 01:11:22 +0000</pubDate>
      
      <guid>/2017/03/27/fedora-change-edition/</guid>
      <description>&lt;p&gt;You will need to install convert-to-edition, description&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Name        : convert-to-edition&lt;br&gt;
Arch        : noarch&lt;br&gt;
Epoch       : 0&lt;br&gt;
Version     : 25&lt;br&gt;
Release     : 1&lt;br&gt;
Size        : 9.7 k&lt;br&gt;
Repo        : fedora&lt;br&gt;
Summary     : Script for converting between Fedora Editions&lt;br&gt;
URL         : &lt;a href=&#34;https://pagure.io/fedora-release&#34;&gt;https://pagure.io/fedora-release&lt;/a&gt;&lt;br&gt;
License     : MIT&lt;br&gt;
Description : Provides a script to convert the running system between Fedora Editions&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;So, all you need to do to convert from one edition to another is :&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;convert-to-edition -e &amp;lt;edition&amp;gt;&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>flatpak – get latest libreoffice</title>
      <link>/2017/03/20/flatpak-latest-libreoffice/</link>
      <pubDate>Mon, 20 Mar 2017 01:03:17 +0000</pubDate>
      
      <guid>/2017/03/20/flatpak-latest-libreoffice/</guid>
      <description>&lt;p&gt;flatpak is tool similar to 0install. You can find more details &lt;a href=&#34;http://flatpak.org/&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;# Get the gnome-sdk gpg keys
wget https://sdk.gnome.org/keys/gnome-sdk.gpg
# Add the keys to trusted keys
flatpak remote-add --user --gpg-import=gnome-sdk.gpg gnome https://sdk.gnome.org/repo/

# Install pre-requisite gnome
flatpak install --user gnome org.gnome.Platform 3.20

# Download the flatpak file and install it. Or you can follow the next step.
wget &#39;http://download.documentfoundation.org/libreoffice/flatpak/latest/LibreOffice.flatpak&#39;
flatpak install --user --bundle LibreOffice.flatpak

# Install flatpak without downloading
flatpak install --user gnome org.gnome.Platform.Locale 3.20

# Run you brand new shiny latest libreoffice
flatpak run org.libreoffice.LibreOffice

# At a later date, when you want to update libreoffice.
flatpak update --user org.libreoffice.LibreOffice
&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>systemd – start service when you enable it</title>
      <link>/2017/03/13/systemd-start-service-enable/</link>
      <pubDate>Mon, 13 Mar 2017 00:57:24 +0000</pubDate>
      
      <guid>/2017/03/13/systemd-start-service-enable/</guid>
      <description>&lt;p&gt;More often than not for any service, I end up doing :&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;systemctl enable &amp;lt;service&amp;gt;
systemctl start &amp;lt;service&amp;gt;&lt;/pre&gt;
&lt;p&gt;But there is shorcut to this. In systemctl command when you enable the service, you can use “&lt;strong&gt;–now&lt;/strong&gt;” to start the service as follows:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;systemctl enable --now &amp;lt;service&amp;gt;&lt;/pre&gt;
&lt;p&gt;quite a timesaver 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Kernel dropped packet analysis</title>
      <link>/2017/02/27/kernel-dropped-packet-analysis/</link>
      <pubDate>Mon, 27 Feb 2017 00:30:26 +0000</pubDate>
      
      <guid>/2017/02/27/kernel-dropped-packet-analysis/</guid>
      <description>&lt;p&gt;Found a simple method to check for all the packets dropped by &lt;a class=&#34;zem_slink&#34; title=&#34;Kernel (operating system)&#34; href=&#34;http://en.wikipedia.org/wiki/Kernel_%28operating_system%29&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;kernel&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;First you need to install dropwatch with&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;dnf install dropwatch&lt;/pre&gt;
&lt;p&gt;and details of the package&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Name        : dropwatch&lt;/dt&gt;
&lt;dt&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Arch Linux&#34; href=&#34;http://www.archlinux.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Arch&lt;/a&gt;        : x86_64&lt;/dt&gt;
&lt;dt&gt;Epoch       : 0&lt;/dt&gt;
&lt;dt&gt;Version     : 1.4&lt;/dt&gt;
&lt;dt&gt;Release     : 13.fc24&lt;/dt&gt;
&lt;dt&gt;Size        : 27 k&lt;/dt&gt;
&lt;dt&gt;Repo        : fedora&lt;/dt&gt;
&lt;dt&gt;Summary     : Kernel dropped packet monitor&lt;/dt&gt;
&lt;dt&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Uniform Resource Locator&#34; href=&#34;http://en.wikipedia.org/wiki/Uniform_Resource_Locator&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;URL&lt;/a&gt;         : &lt;a href=&#34;http://fedorahosted.org/dropwatch&#34;&gt;http://fedorahosted.org/dropwatch&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;License     : GPLv2+&lt;/dt&gt;
&lt;dt&gt;Description : dropwatch is an utility to interface to the kernel to monitor for dropped&lt;/dt&gt;
&lt;dd&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Network packet&#34; href=&#34;http://en.wikipedia.org/wiki/Network_packet&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;network packets&lt;/a&gt;.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>journalctl command to see kernel messages</title>
      <link>/2017/01/30/journalctl-command-kernel-messages/</link>
      <pubDate>Mon, 30 Jan 2017 01:19:12 +0000</pubDate>
      
      <guid>/2017/01/30/journalctl-command-kernel-messages/</guid>
      <description>&lt;p&gt;Sometimes, there are just too many messages in journalctl output and it becomes a mystery game to search for the messages you are looking for. But luckily you do not need to use grep to find the right message. Here is example of what I had to do when I was looking for kernel messages.&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;journalctl _TRANSPORT=kernel
# To see all the fields, you can use the verbose mode
journalctl _TRANSPORT=kernel -o verbose

# And the filter on priority if needed to get the messages you need
journalctl _TRANSPORT=kernel PRIORITY=4

# and follow
journalctl _TRANSPORT=kernel PRIORITY=4 -f -l&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>ansible with docker dynamic inventory</title>
      <link>/2017/01/09/ansible-docker-dynamic-inventory/</link>
      <pubDate>Mon, 09 Jan 2017 00:50:55 +0000</pubDate>
      
      <guid>/2017/01/09/ansible-docker-dynamic-inventory/</guid>
      <description>&lt;p&gt;So, I have a few dockers. Every now and then I want to run some command on all of them. Doing ‘docker exec’ is tiresome. I found this neat solution with ansible that I thought I should share with you.&lt;/p&gt;
&lt;p&gt;To get started, you need to have the “docker.py” script. This script will be used as python script inventory for ansible. So, use the following command and get the script:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>power saving on laptop</title>
      <link>/2016/09/22/power-saving-laptop/</link>
      <pubDate>Thu, 22 Sep 2016 00:54:15 +0000</pubDate>
      
      <guid>/2016/09/22/power-saving-laptop/</guid>
      <description>&lt;p&gt;One of the easiest way to make sure that you can have a decent battery life is&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo yum install tlp smartmontools
sudo systemctl enable tlp
sudo systemctl start tlp&lt;/pre&gt;
&lt;p&gt;And after this you can check the status like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;sudo tlp stat&lt;/strong&gt;&lt;br&gt;
— TLP 0.9 ——————————————–&lt;/p&gt;
&lt;p&gt;+++ Configured Settings: /etc/default/tlp&lt;br&gt;
TLP_ENABLE=1&lt;br&gt;
TLP_DEFAULT_MODE=AC&lt;br&gt;
DISK_IDLE_SECS_ON_AC=0&lt;br&gt;
DISK_IDLE_SECS_ON_BAT=2&lt;br&gt;
MAX_LOST_WORK_SECS_ON_AC=15&lt;br&gt;
MAX_LOST_WORK_SECS_ON_BAT=60&lt;br&gt;
SCHED_POWERSAVE_ON_AC=0&lt;br&gt;
SCHED_POWERSAVE_ON_BAT=1&lt;br&gt;
NMI_WATCHDOG=0&lt;br&gt;
ENERGY_PERF_POLICY_ON_AC=performance&lt;br&gt;
ENERGY_PERF_POLICY_ON_BAT=powersave&lt;br&gt;
DISK_DEVICES=”sda sdb”&lt;br&gt;
DISK_APM_LEVEL_ON_AC=”254 254″&lt;br&gt;
DISK_APM_LEVEL_ON_BAT=”128 128″&lt;br&gt;
SATA_LINKPWR_ON_AC=max_performance&lt;br&gt;
SATA_LINKPWR_ON_BAT=min_power&lt;br&gt;
AHCI_RUNTIME_PM_TIMEOUT=15&lt;br&gt;
PCIE_ASPM_ON_AC=performance&lt;br&gt;
PCIE_ASPM_ON_BAT=powersave&lt;br&gt;
RADEON_POWER_PROFILE_ON_AC=high&lt;br&gt;
RADEON_POWER_PROFILE_ON_BAT=low&lt;br&gt;
RADEON_DPM_STATE_ON_AC=performance&lt;br&gt;
RADEON_DPM_STATE_ON_BAT=battery&lt;br&gt;
RADEON_DPM_PERF_LEVEL_ON_AC=auto&lt;br&gt;
RADEON_DPM_PERF_LEVEL_ON_BAT=auto&lt;br&gt;
WIFI_PWR_ON_AC=off&lt;br&gt;
WIFI_PWR_ON_BAT=on&lt;br&gt;
WOL_DISABLE=Y&lt;br&gt;
SOUND_POWER_SAVE_ON_AC=0&lt;br&gt;
SOUND_POWER_SAVE_ON_BAT=1&lt;br&gt;
SOUND_POWER_SAVE_CONTROLLER=Y&lt;br&gt;
BAY_POWEROFF_ON_BAT=0&lt;br&gt;
BAY_DEVICE=”sr0″&lt;br&gt;
RUNTIME_PM_ON_AC=on&lt;br&gt;
RUNTIME_PM_ON_BAT=auto&lt;br&gt;
RUNTIME_PM_ALL=1&lt;br&gt;
RUNTIME_PM_DRIVER_BLACKLIST=”radeon nouveau”&lt;br&gt;
USB_AUTOSUSPEND=1&lt;br&gt;
USB_BLACKLIST_WWAN=1&lt;br&gt;
RESTORE_DEVICE_STATE_ON_STARTUP=0&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>enki editor – amazing for md and rst files</title>
      <link>/2016/09/12/enki-editor-amazing-md-rst-files/</link>
      <pubDate>Mon, 12 Sep 2016 01:15:31 +0000</pubDate>
      
      <guid>/2016/09/12/enki-editor-amazing-md-rst-files/</guid>
      <description>&lt;p&gt;First, you need to install enki. YOu can do so with&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo yum install enki&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;And then you can use the editor as usual. The first thing that you will notice is the navigator window. And here is screenshot for you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;figure id=&#34;attachment_4845&#34; aria-describedby=&#34;caption-attachment-4845&#34; style=&#34;width: 300px&#34; class=&#34;wp-caption aligncenter&#34;&gt;&lt;img class=&#34;size-medium wp-image-4845&#34; src=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2016/09/enki.jpg?resize=300%2C169&#34; alt=&#34;Enki Editor&#34; width=&#34;300&#34; height=&#34;169&#34; srcset=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2016/09/enki.jpg?resize=300%2C169 300w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2016/09/enki.jpg?resize=768%2C432 768w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2016/09/enki.jpg?resize=1024%2C576 1024w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2016/09/enki.jpg?w=1920 1920w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2016/09/enki.jpg?w=1376 1376w&#34; sizes=&#34;(max-width: 300px) 100vw, 300px&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;figcaption id=&#34;caption-attachment-4845&#34; class=&#34;wp-caption-text&#34;&gt;Enki Editor main window&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;As you can see if you make a typo or mistake then you will immediately be warned with RED color.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>xsos – a tool for sysadmins and support</title>
      <link>/2016/08/24/xsos-tool-sysadmins-support/</link>
      <pubDate>Wed, 24 Aug 2016 00:31:24 +0000</pubDate>
      
      <guid>/2016/08/24/xsos-tool-sysadmins-support/</guid>
      <description>&lt;p&gt;Here is a very nice article that you may find useful&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://access.redhat.com/discussions/469323&#34;&gt;https://access.redhat.com/discussions/469323&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>sysreporter on Fedora – basic system report in email</title>
      <link>/2016/07/18/sysreporter-fedora-basic-system-report-email/</link>
      <pubDate>Mon, 18 Jul 2016 00:41:17 +0000</pubDate>
      
      <guid>/2016/07/18/sysreporter-fedora-basic-system-report-email/</guid>
      <description>&lt;p&gt;From the packages github page:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h1 id=&#34;1user-content-sysreporteranchorsysreporter&#34;&gt;&lt;a href=&#34;https://github.com/onesimus-systems/sysreporter#sysreporter&#34;&gt;&lt;/a&gt;{#user-content-sysreporter.anchor}SysReporter&lt;/h1&gt;
&lt;p&gt;SysReporter (System Reporter) is a bash script that runs and aggregates a set of reports about its host system. The report can then be emailed to the &lt;a class=&#34;zem_slink&#34; title=&#34;System administrator&#34; href=&#34;http://en.wikipedia.org/wiki/System_administrator&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;system administrator&lt;/a&gt; on a daily, hourly, minutely basis.&lt;/p&gt;
&lt;p&gt;and from dnf info&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Name        : sysreporter&lt;br&gt;
Arch        : noarch&lt;br&gt;
Epoch       : 0&lt;br&gt;
Version     : 3.0.4&lt;br&gt;
Release     : 1.fc24&lt;br&gt;
Size        : 17 k&lt;br&gt;
Repo        : @System&lt;br&gt;
From repo   : updates&lt;br&gt;
Summary     : Basic system reporter with emailing&lt;br&gt;
URL         : &lt;a href=&#34;https://github.com/onesimus-systems/sysreporter&#34;&gt;https://github.com/onesimus-systems/sysreporter&lt;/a&gt;&lt;br&gt;
License     : MIT&lt;br&gt;
Description : Basic system reporter with emailing&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>firewalld – enable logging</title>
      <link>/2016/05/16/firewalld-enable-logging/</link>
      <pubDate>Mon, 16 May 2016 01:06:06 +0000</pubDate>
      
      <guid>/2016/05/16/firewalld-enable-logging/</guid>
      <description>&lt;p&gt;firewalld by default does not allow packets that are dropped. In some cases, you need to find out if some packet is being dropped or not. For doing so you may want to enable logging of dropped packets with the following command:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo firewall-cmd  --set-log-denied=all&lt;/pre&gt;
&lt;p&gt;This will enable logging all the packets and help you figure out if firewalld is dropping the packet.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>speed up journalctl</title>
      <link>/2016/04/25/speed-journalctl/</link>
      <pubDate>Mon, 25 Apr 2016 00:40:56 +0000</pubDate>
      
      <guid>/2016/04/25/speed-journalctl/</guid>
      <description>&lt;p&gt;Sometime back I noticed that whenever I run my favourite command, viz.&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;journalctl -xn -f -l&lt;/pre&gt;
&lt;p&gt;it was taking more time than usual. So, I thought to dig more into it and finally found that the following command:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo journalctl --disk-usage&lt;/pre&gt;
&lt;p&gt;showed that journalctl was using some huge space in tune of about 4GB. So, the solution was simple, vaccum the journal entries and the command to do so is :&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo journalctl --vacuum-size 90M&lt;/pre&gt;
&lt;p&gt;Checking journalctl size after that confirms the size is reduced and after that indeed the above journal command takes no time 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Most simple and fast lightweight container with Fedora systemd</title>
      <link>/2016/04/15/simple-fast-lightweight-container-fedora-systemd/</link>
      <pubDate>Fri, 15 Apr 2016 01:05:32 +0000</pubDate>
      
      <guid>/2016/04/15/simple-fast-lightweight-container-fedora-systemd/</guid>
      <description>&lt;p&gt;If you need to have a quick bash shell in sandbox with not network as well, then the most simple command I could find so far is:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo virt-sandbox -c lxc:/// /bin/bash&lt;/pre&gt;
&lt;p&gt;For this you will need to have libvirt-sandbox installed which you can do with the following command:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo yum install libvirt-sandbox&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>virsh – show ip address of all running VMs</title>
      <link>/2016/02/01/virsh-show-ip-address-running-vms/</link>
      <pubDate>Mon, 01 Feb 2016 00:52:31 +0000</pubDate>
      
      <guid>/2016/02/01/virsh-show-ip-address-running-vms/</guid>
      <description>&lt;p&gt;If you are using the libvirt and associated tools, then you must be aware about virt-manager. However this being a GUI tools, it is not possible to always use this. “virsh” is a good option for this.&lt;/p&gt;
&lt;p&gt;To start with, if you need to know all the VMs all the running VMs, then you can use (to only view the names):&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;virsh list --name&lt;/pre&gt;
&lt;p&gt;Extending this to make it more useful is the case if you need to know the IP address for the running VMs. Here is a simple code that you can put in alias or function that can be used to get the IP address of the running VM’s.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Disk usage by file type</title>
      <link>/2015/11/30/disk-usage-file-type/</link>
      <pubDate>Mon, 30 Nov 2015 00:51:20 +0000</pubDate>
      
      <guid>/2015/11/30/disk-usage-file-type/</guid>
      <description>&lt;p&gt;Trying to find the total usage for each of the file types by extension, then here is a quick bash function for you :&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;disk_usage_type () 
{ 
    find . -name &#39;*&#39;$1 -ls | awk &#39;
    BEGIN{
        a[0]=&#34;Bytes&#34;;
        a[1]=&#34;KB&#34;;
        a[2]=&#34;MB&#34;;
        a[3]=&#34;GB&#34;;
    }
    {sum+=$7; files++;}
    END{
    print &#34;Total sum is ::\t&#34; sum;
    print &#34;Total files  ::\t&#34; files;
        while (sum &amp;gt; 1024) {
            sum=sum/1024;
            count++;
            };
        print sum&#34; &#34;a[count];
    }&#39;
}
&lt;/pre&gt;
&lt;p&gt;Just define the function in one of your bash startup files. After that to use the function pass in the extension for which you would like to find the total size. Output should be something like below:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Text file based presentation tool – pinpoint</title>
      <link>/2015/10/05/text-file-based-presentation-tool-pinpoint/</link>
      <pubDate>Mon, 05 Oct 2015 00:33:50 +0000</pubDate>
      
      <guid>/2015/10/05/text-file-based-presentation-tool-pinpoint/</guid>
      <description>&lt;p&gt;Pinpoint description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Name        : pinpoint&lt;/dt&gt;
&lt;dt&gt;Summary     : A tool for making hackers do excellent presentations&lt;/dt&gt;
&lt;dt&gt;URL         : &lt;a href=&#34;https://live.gnome.org/Pinpoint&#34;&gt;https://live.gnome.org/Pinpoint&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;License     : LGPLv2+&lt;/dt&gt;
&lt;dt&gt;Description : Pinpoint a simple presentation tool that hopes to avoid audience death&lt;/dt&gt;
&lt;dd&gt;by bullet point and instead encourage presentations containing&lt;/dd&gt;
&lt;dd&gt;beautiful images and small amounts of concise text in slides.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt;Pinpoint is a presentation tool. The source file for the presentation is text file and thus very easy to manage. You can see an example with :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Executing commands on multiple hosts</title>
      <link>/2015/09/21/executing-commands-multiple-hosts/</link>
      <pubDate>Mon, 21 Sep 2015 00:33:38 +0000</pubDate>
      
      <guid>/2015/09/21/executing-commands-multiple-hosts/</guid>
      <description>&lt;p&gt;If you have to execute the same command in multiple hosts, then you can use mussh:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Description : Mussh is a &lt;a class=&#34;zem_slink&#34; title=&#34;Shell script&#34; href=&#34;http://en.wikipedia.org/wiki/Shell_script&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;shell script&lt;/a&gt; that allows you to execute a command or script&lt;/dt&gt;
&lt;dd&gt;over ssh on multiple hosts with one command. When possible mussh will use&lt;/dd&gt;
&lt;dd&gt;ssh-agent and RSA/DSA keys to minimize the need to enter your password&lt;/dd&gt;
&lt;dd&gt;more than once.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt;First install mussh with the following command&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;dnf install mussh&lt;/pre&gt;
&lt;p&gt;Now to run this for multiple hosts, you can run like this&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Network Manager post-up script (dispatcher script)</title>
      <link>/2015/09/07/network-manager-post-up-script-dispatcher-script/</link>
      <pubDate>Mon, 07 Sep 2015 01:30:48 +0000</pubDate>
      
      <guid>/2015/09/07/network-manager-post-up-script-dispatcher-script/</guid>
      <description>&lt;p&gt;Network manager is supposed to be much better than network, how so?&lt;/p&gt;
&lt;p&gt;it supports dnsmasq for one…&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://blog.amit-agarwal.co.in/2013/01/28/dnsmasq-network-manager/&#34;&gt;Dnsmasq with netowrkmanager&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://blog.amit-agarwal.co.in/2015/08/27/dnsmasq-local-resolution-networkmanager/&#34; target=&#34;_blank&#34;&gt;Local name resolution&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also &lt;a class=&#34;zem_slink&#34; title=&#34;NetworkManager&#34; href=&#34;http://projects.gnome.org/NetworkManager/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Network Manager&lt;/a&gt; supports dispatcher scripts. How can that help? For one, I used to send interface up emails. To do so, all I had to do was put the following script in “/etc/NetworkManager/dispatcher.d”&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;#!/bin/sh

cd /etc/sysconfig/network-scripts
. ./network-functions

[ -f ../network ] &amp;&amp; . ../network

# Notify programs that have requested notification
IF=$1
STATUS=$2

cat&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>dnsmasq local name resolution with NetworkManager</title>
      <link>/2015/08/27/dnsmasq-local-resolution-networkmanager/</link>
      <pubDate>Thu, 27 Aug 2015 01:15:06 +0000</pubDate>
      
      <guid>/2015/08/27/dnsmasq-local-resolution-networkmanager/</guid>
      <description>&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;NetworkManager&#34; href=&#34;http://projects.gnome.org/NetworkManager/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Network Manager&lt;/a&gt; suports starting dnsmasq which helps you have a local cache for &lt;a class=&#34;zem_slink&#34; title=&#34;Domain Name System&#34; href=&#34;http://en.wikipedia.org/wiki/Domain_Name_System&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;DNS&lt;/a&gt; thus getting faster resolution for the DNS queries.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://blog.amit-agarwal.co.in/2013/01/28/dnsmasq-network-manager/&#34;&gt;Dnsmasq with netowrkmanager&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So, one thing that I have been thinking about is having a local &lt;a class=&#34;zem_slink&#34; title=&#34;Name resolution&#34; href=&#34;http://en.wikipedia.org/wiki/Name_resolution&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;name resolution&lt;/a&gt; for the VMs. So, I wanted something like this to work:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;vm1 =&amp;gt; 172.17.42,1&lt;/p&gt;
&lt;p&gt;vm2 =&amp;gt; 172.17.42,2&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;and so on …&lt;/p&gt;
&lt;p&gt;To achieve this and &lt;a class=&#34;zem_slink&#34; title=&#34;Reverse DNS lookup&#34; href=&#34;http://en.wikipedia.org/wiki/Reverse_DNS_lookup&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;reverse dns&lt;/a&gt; to work, we will add the entries in file “&lt;strong&gt;/etc/NetworkManager/dnsmasq.d/hostnames&lt;/strong&gt;“. Just one more problem, adding so many entries manually? So, to help you with that, I created this small script:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>ShellCheck – check basic POSIX shell script errors</title>
      <link>/2015/08/03/shellcheck-check-basic-posix-shell-script-errors/</link>
      <pubDate>Mon, 03 Aug 2015 01:15:16 +0000</pubDate>
      
      <guid>/2015/08/03/shellcheck-check-basic-posix-shell-script-errors/</guid>
      <description>&lt;p&gt;Here is description of the tool:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Description : The goals of ShellCheck are:&lt;/dt&gt;
&lt;dd&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;ul&gt;
&lt;li&gt;To point out and clarify typical beginner’s syntax issues,&lt;br&gt;
:   that causes a shell to give cryptic error messages.&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dd&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;ul&gt;
&lt;li&gt;To point out and clarify typical intermediate level semantic&lt;br&gt;
:   problems, that causes a shell to behave strangely and&lt;br&gt;
:   counter-intuitively.&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dd&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;ul&gt;
&lt;li&gt;To point out subtle caveats, corner cases and pitfalls, that may&lt;br&gt;
:   cause an advanced user’s otherwise working script to fail under&lt;br&gt;
:   future circumstances.&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt;To install&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>evvsubst – substitute variables in text in shell</title>
      <link>/2015/07/09/evvsubst-substitute-variables-text-shell/</link>
      <pubDate>Thu, 09 Jul 2015 00:45:47 +0000</pubDate>
      
      <guid>/2015/07/09/evvsubst-substitute-variables-text-shell/</guid>
      <description>&lt;p&gt;First you need to install gettext, which by the way might be already installed, however you can install with&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;dnf install gettext&lt;/pre&gt;
&lt;p&gt;Details of the package:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Name        : gettext&lt;/dt&gt;
&lt;dt&gt;Arch        : x86_64&lt;/dt&gt;
&lt;dt&gt;Epoch       : 0&lt;/dt&gt;
&lt;dt&gt;Version     : 0.19.4&lt;/dt&gt;
&lt;dt&gt;Release     : 4.fc22&lt;/dt&gt;
&lt;dt&gt;Size        : 4.6 M&lt;/dt&gt;
&lt;dt&gt;Repo        : @System&lt;/dt&gt;
&lt;dt&gt;Summary     : GNU libraries and utilities for producing multi-lingual messages&lt;/dt&gt;
&lt;dt&gt;URL         : &lt;a href=&#34;http://www.gnu.org/software/gettext/&#34;&gt;http://www.gnu.org/software/gettext/&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;License     : GPLv3+ and LGPLv2+&lt;/dt&gt;
&lt;dt&gt;Description : The GNU gettext package provides a set of tools and documentation for&lt;/dt&gt;
&lt;dd&gt;producing multi-lingual messages in programs. Tools include a set of&lt;/dd&gt;
&lt;dd&gt;conventions about how programs should be written to support message&lt;/dd&gt;
&lt;dd&gt;catalogs, a directory and file naming organization for the message&lt;/dd&gt;
&lt;dd&gt;catalogs, a runtime library which supports the retrieval of translated&lt;/dd&gt;
&lt;dd&gt;messages, and stand-alone programs for handling the translatable and&lt;/dd&gt;
&lt;dd&gt;the already translated strings. Gettext provides an easy to use&lt;/dd&gt;
&lt;dd&gt;library and tools for creating, using, and modifying natural language&lt;/dd&gt;
&lt;dd&gt;catalogs and is a powerful and simple method for internationalizing&lt;/dd&gt;
&lt;dd&gt;programs.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt;Usage examples:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Easily monitor and archive your system log reports.</title>
      <link>/2015/06/29/easily-monitor-archive-system-log-reports/</link>
      <pubDate>Mon, 29 Jun 2015 01:15:56 +0000</pubDate>
      
      <guid>/2015/06/29/easily-monitor-archive-system-log-reports/</guid>
      <description>&lt;p&gt;If you want to monitor your server logs and also like them to be emailed then just &lt;a href=&#34;http://blog.amit-agarwal.co.in/2010/06/02/logwatch-for-linux-systems/&#34; target=&#34;_blank&#34;&gt;Logwatch&lt;/a&gt; may not be sufficient. It sends you a mail but does not archive them, so head over to epylog&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Name        : epylog&lt;/dt&gt;
&lt;dt&gt;Arch        : noarch&lt;/dt&gt;
&lt;dt&gt;Epoch       : 0&lt;/dt&gt;
&lt;dt&gt;Version     : 1.0.7&lt;/dt&gt;
&lt;dt&gt;Release     : 9.fc22&lt;/dt&gt;
&lt;dt&gt;Size        : 151 k&lt;/dt&gt;
&lt;dt&gt;Repo        : fedora&lt;/dt&gt;
&lt;dt&gt;Summary     : New logs analyzer and parser&lt;/dt&gt;
&lt;dt&gt;URL         : &lt;a href=&#34;https://fedorahosted.org/epylog/&#34;&gt;https://fedorahosted.org/epylog/&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;License     : GPLv2+&lt;/dt&gt;
&lt;dt&gt;Description : Epylog is a new log notifier and parser which runs periodically out of&lt;/dt&gt;
&lt;dd&gt;cron, looks at your logs, processes the entries in order to present&lt;/dd&gt;
&lt;dd&gt;them in a more comprehensive format, and then provides you with the&lt;/dd&gt;
&lt;dd&gt;output. It is written specifically with large network clusters in mind&lt;/dd&gt;
&lt;dd&gt;where a lot of machines (around 50 and upwards) log to the same&lt;/dd&gt;
&lt;dd&gt;loghost using syslog or syslog-ng.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt;To install :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>tlp – optimize and maximize your battery power.</title>
      <link>/2015/06/22/tlp-optimize-maximize-battery-power-2/</link>
      <pubDate>Mon, 22 Jun 2015 00:51:39 +0000</pubDate>
      
      <guid>/2015/06/22/tlp-optimize-maximize-battery-power-2/</guid>
      <description>&lt;p&gt;So, you are having issues with battery life on linux. Then head over to tlp project.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;TLP brings you the benefits of advanced power management for Linux&lt;br&gt;
without the need to understand every technical detail. TLP comes&lt;br&gt;
with a default configuration already optimized for battery life.&lt;br&gt;
Also an optional install of the smartmontools package enables hard&lt;br&gt;
disk SMART data in tlp-stat (smartctl).&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Install with following command&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;dnf install tlp
#or
yum install tlp&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>retext – Editor for restructured text</title>
      <link>/2015/05/15/retext-editor-restructured-text/</link>
      <pubDate>Fri, 15 May 2015 01:04:50 +0000</pubDate>
      
      <guid>/2015/05/15/retext-editor-restructured-text/</guid>
      <description>&lt;p&gt;restructured text is a simple text editor for markdown/restructured text which can show preview as well. So, here is some details on same :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Name        : retext&lt;br&gt;
Arch        : noarch&lt;br&gt;
Epoch       : 0&lt;br&gt;
Version     : 5.0.1&lt;br&gt;
Release     : 7.fc22&lt;br&gt;
Size        : 412 k&lt;br&gt;
Repo        : @System&lt;br&gt;
Summary     : Text editor for Markdown and reStructuredText&lt;br&gt;
URL         : &lt;a href=&#34;http://sourceforge.net/p/retext/home/ReText&#34;&gt;http://sourceforge.net/p/retext/home/ReText&lt;/a&gt;&lt;br&gt;
License     : GPLv3+&lt;br&gt;
Description : ReText is a simple but powerful text editor for Markdown and reStructuredText.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>tracer – trace outdated files on your system</title>
      <link>/2015/04/30/tracer-trace-outdated-files-system/</link>
      <pubDate>Thu, 30 Apr 2015 14:17:43 +0000</pubDate>
      
      <guid>/2015/04/30/tracer-trace-outdated-files-system/</guid>
      <description>&lt;p&gt;Tracer finds outdated running applications in your system.&lt;/p&gt;
&lt;p&gt;Home page : &lt;a href=&#34;http://tracer-package.com/&#34;&gt;Tracer Home page.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;To install :&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo dnf install tracer&lt;/pre&gt;
&lt;p&gt;Once you have done that, after every dns update/upgrade you would see a list of process’s that need to be restarted. If you want to find manually, then just :&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo tracer&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>PID File for squid in Fedora – 21 ( Fedora.next)</title>
      <link>/2015/03/24/pid-file-squid-fedora-21-fedora-next/</link>
      <pubDate>Tue, 24 Mar 2015 00:44:05 +0000</pubDate>
      
      <guid>/2015/03/24/pid-file-squid-fedora-21-fedora-next/</guid>
      <description>&lt;p&gt;So, the other day, I wanted to have squid store its pid in the regular ‘var/run’ directory. Good simple enough – just add the following to “&lt;strong&gt;/etc/squid/squid.conf&lt;/strong&gt;” :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;pid_filename /var/run/squid/squid.pid&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;and create the /var/run/squid directory. Simple, hold on not so fast. Reboot and psssst.. ‘/var/run/squid’ is gone. Finally found that /var/run is handled by systemd-tmpfiles and thus you need to do this as well:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;cat &amp;lt;&amp;gt;/lib/tmpfiles.d/squid.conf
d /run/squid 700 squid squid
EOF&lt;/pre&gt;
&lt;p&gt;So, basically you need to tell tmpfiles to create the squid directory as well.. How complicated things are becoming 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Fedora/Ubuntu issue with assigned IP by dhcp server.</title>
      <link>/2015/03/13/fedoraubuntu-issue-assigned-ip-dhcp-server/</link>
      <pubDate>Fri, 13 Mar 2015 00:40:51 +0000</pubDate>
      
      <guid>/2015/03/13/fedoraubuntu-issue-assigned-ip-dhcp-server/</guid>
      <description>&lt;p&gt;In the recent versions of Fedora/Ubuntu, I found that if the DHCP server assigns a reserved address, the address is not applied to the system. Finally I found that adding the below in /etc/dhcp/dhclient.conf, would fix the issue.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;send dh-client-identifier = hardware;&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    
    <item>
      <title>speedtest cli</title>
      <link>/2015/01/30/speedtest-cli/</link>
      <pubDate>Fri, 30 Jan 2015 01:01:47 +0000</pubDate>
      
      <guid>/2015/01/30/speedtest-cli/</guid>
      <description>&lt;p&gt;To test your speed you can use speetest-cli. Here is the description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Command line interface for testing internet bandwidth using speedtest.net&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;and to install and test:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo yum install speedtest-cli

#Run
speedtest-cli&lt;/pre&gt;
&lt;p&gt;The output is like below:&lt;/p&gt;
&lt;figure id=&#34;attachment_4531&#34; aria-describedby=&#34;caption-attachment-4531&#34; style=&#34;width: 269px&#34; class=&#34;wp-caption aligncenter&#34;&gt;[&lt;img class=&#34;size-full wp-image-4531&#34; src=&#34;https://i2.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2014/12/speedtest.jpg?resize=269%2C141&#34; alt=&#34;speetest-cli&#34; width=&#34;269&#34; height=&#34;141&#34; data-recalc-dims=&#34;1&#34; /&gt;][1]&lt;figcaption id=&#34;caption-attachment-4531&#34; class=&#34;wp-caption-text&#34;&gt;speedtest-cli&lt;/figcaption&gt;&lt;/figure&gt;</description>
    </item>
    
    <item>
      <title>shell script for some quick tests on Linux</title>
      <link>/2015/01/22/shell-script-quick-tests-linux/</link>
      <pubDate>Thu, 22 Jan 2015 00:43:31 +0000</pubDate>
      
      <guid>/2015/01/22/shell-script-quick-tests-linux/</guid>
      <description>&lt;p&gt;Head over to the link and grab the script. Just run it and make yourself a little bit more safe 🙂&lt;/p&gt;
&lt;p&gt;&lt;a title=&#34;LinEnum&#34; href=&#34;https://github.com/rebootuser/LinEnum&#34; target=&#34;_blank&#34;&gt;&lt;a href=&#34;https://github.com/rebootuser/LinEnum&#34;&gt;https://github.com/rebootuser/LinEnum&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>colorize your logs</title>
      <link>/2015/01/14/colorize-logs/</link>
      <pubDate>Wed, 14 Jan 2015 00:36:32 +0000</pubDate>
      
      <guid>/2015/01/14/colorize-logs/</guid>
      <description>&lt;p&gt;CCZE is a robust and modular log colorizer with plugins for apm, exim, fetchmail, httpd, postfix, procmail, squid, syslog, ulogd, vsftpd, xferlog, and more.&lt;/p&gt;
&lt;p&gt;For installation&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo yum install ccze&lt;/pre&gt;
&lt;p&gt;and to use it:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;tail -f -n 50 /var/log/firewalld | ccze
#or better yet
cat  /var/log/firewalld | ccze|more
&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>apache in docker to serve local website</title>
      <link>/2015/01/05/apache-docker-serve-local-website/</link>
      <pubDate>Mon, 05 Jan 2015 01:15:44 +0000</pubDate>
      
      <guid>/2015/01/05/apache-docker-serve-local-website/</guid>
      <description>&lt;p&gt;I have some backup’s of website on my laptop, which I occasionally want to view. Now, I could have setup apache to serve them directly with VirtualHost or alias but wanted a better solution. So, docker comes to rescue.&lt;/p&gt;
&lt;p&gt;First, I installed fedora-dockerfiles and then made some modifications, here they are :&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo yum install fedora-dockerfiles&lt;/pre&gt;
&lt;p&gt;After this is done, go to /usr/share/fedora-dockerfiles/apache and make some modification to Dockerfile.  After the modifications, the file looks like this&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>repotrack and repoquery -commands to resolve dependencies.</title>
      <link>/2014/12/18/repotrack-repoquery-commands-resolve-dependencies/</link>
      <pubDate>Thu, 18 Dec 2014 01:06:28 +0000</pubDate>
      
      <guid>/2014/12/18/repotrack-repoquery-commands-resolve-dependencies/</guid>
      <description>&lt;p&gt;To get all the depencies of a package, you can try:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;repoquery -a --requires --resolve 

Example output:
glibc-0:2.20-5.fc21.i686
bash-0:4.3.30-2.fc21.x86_64
chkconfig-0:1.3.63-1.fc21.x86_64
glibc-0:2.20-5.fc21.x86_64
openssl-libs-1:1.0.1j-1.fc21.x86_64
&lt;/pre&gt;
&lt;p&gt;and then to query in nice tree format, you can use :&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;repoquery -a --tree-requires PACKAGE_NAME
&lt;/pre&gt;
&lt;p&gt;And finally use that with repotrack:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;repotrack -a x86_64 -p . $(repoquery --qf=%{name} -g --list --grouppkgs=all &#39;Office Suite and Productivity&#39; |tr &#39;\n&#39; &#39; &#39;
)

Now for the fun part, why use all the above when you can simply use:&lt;/pre&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;yumdownloader --resolve 

So, if you have reached this line then you don&#39;t need repotrack/repoquery, simply use yumdownloader :)&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>script to get hard disk health in fedora/ubuntu</title>
      <link>/2014/12/01/script-hard-disk-health-fedoraubuntu/</link>
      <pubDate>Mon, 01 Dec 2014 12:12:08 +0000</pubDate>
      
      <guid>/2014/12/01/script-hard-disk-health-fedoraubuntu/</guid>
      <description>&lt;p&gt;First, put this in a script.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;27
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;28
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;29
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;30
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;31
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;32
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;33
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;34
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;35
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;36
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;37
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;38
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;39
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;40
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;41
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;42
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;43
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;44
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;45
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;46
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;47
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;48
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;49
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;50
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;51
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;52
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;53
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;54
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;55
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;56
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;57
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;58
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;59
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;60
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;61
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;cp&#34;&gt;#!/bin/bash
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;cp&#34;&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;#Change as appropriate&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;HDD&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;sda
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;export&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;sub&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;SmartCtl data for HDD&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;To: &amp;amp;lt;Your Email&amp;amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;Sub: [Cron] $sub
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;MIME-Version: 1.0
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;Content-Type: text/html
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;Content-Disposition: inline
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;&amp;amp;lt;html&amp;amp;gt;&amp;amp;lt;pre&amp;amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;amp;lt;style&amp;amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;hr {
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;    display: block;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;    height: 1px;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;    border: 0;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;    border-top: 1px solid #ccc;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;    margin: 1em 0;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;    padding: 0;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;&amp;amp;lt;/style&amp;amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;amp;lt;h2&amp;amp;gt;Errors on HDD:&amp;amp;lt;/h2&amp;amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;amp;lt;hr&amp;amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo smartctl -l error  /dev/&lt;span class=&#34;nv&#34;&gt;$HDD&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;amp;lt;h2&amp;amp;gt;Health of HDD:&amp;amp;lt;/h2&amp;amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;amp;lt;hr&amp;amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo smartctl -H  /dev/&lt;span class=&#34;nv&#34;&gt;$HDD&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;amp;lt;h2&amp;amp;gt;Detailed info&amp;amp;lt;/h2&amp;amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;amp;lt;hr&amp;amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo smartctl -a -d ata /dev/&lt;span class=&#34;nv&#34;&gt;$HDD&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;amp;lt;h2&amp;amp;gt;Journalctl output for smartd&amp;amp;lt;/h2&amp;amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;amp;lt;hr&amp;amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;[[&lt;/span&gt; -f /etc/fedora-release &lt;span class=&#34;o&#34;&gt;]]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;journalctl -x --show-cursor -u smartd --since&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;yesterday
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;else&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;#This is for Ubuntu.. still using dmesg&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;dmesg -T -l err,crit,alert,emerg
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;amp;lt;h2&amp;amp;gt;All Details&amp;amp;lt;/h2&amp;amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;amp;lt;hr&amp;amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo smartctl --xall /dev/&lt;span class=&#34;nv&#34;&gt;$HDD&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;Thanks for using Amit Agarwal&amp;#39;s script&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;amp;lt;/pre&amp;amp;gt;&amp;amp;lt;/html&amp;amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;and then put this in cron:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Whaaw! light weight media player</title>
      <link>/2014/11/25/whaaw-light-weight-media-player/</link>
      <pubDate>Tue, 25 Nov 2014 00:47:17 +0000</pubDate>
      
      <guid>/2014/11/25/whaaw-light-weight-media-player/</guid>
      <description>&lt;pre&gt;Description : Whaaw! Media Player is a lightweight media player that supports fullscreen
            : mode, seeking, changing video colour settings and more. It will play any audio
            : or video files that GStreamer can play. It is intended to be a basic media
            : player without any GNOME dependencies.
&lt;/pre&gt;
&lt;p&gt;So, this is light weight media player with not too many features but does good as a simple media player.&lt;/p&gt;
&lt;p&gt;To install:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>ncurses based eFTE editor – programmers lightweight editor</title>
      <link>/2014/11/17/ncurses-based-efte-editor-programmers-lightweight-editor/</link>
      <pubDate>Mon, 17 Nov 2014 01:15:49 +0000</pubDate>
      
      <guid>/2014/11/17/ncurses-based-efte-editor-programmers-lightweight-editor/</guid>
      <description>&lt;p&gt;nefte is a lightweight programmers editor. Here is descriptioin:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre&gt;Description : eFTE is an advanced programmers editor with goals of being lightweight, yet
            : totally configurable. Support for user defined programming languages, menu
            : systems and key bindings are provided with many common defaults already
            : defined. eFTE is still a new project, however, we extend from the FTE editor
            : which was first released in 1995, so eFTE is tried and true with many features
            : for the programmer/text editor.
            : 
            : This package contains nefte, the ncurses version of the editor.
&lt;/pre&gt;
&lt;p&gt;And to install:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>nomacs – light weight image viewer</title>
      <link>/2014/11/10/nomacs-light-weight-image-viewer/</link>
      <pubDate>Mon, 10 Nov 2014 01:10:04 +0000</pubDate>
      
      <guid>/2014/11/10/nomacs-light-weight-image-viewer/</guid>
      <description>&lt;p&gt;To install:&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      sudo yum install nomacs
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;nomacs is a very light weight viewer for images with some fetures that you find useful (rotate image,&lt;br&gt;
crop and see in 1:1. Not too much features but definately very light weight and good for daily use.&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Description : nomacs is image viewer based on Qt4 library.&lt;/dt&gt;
&lt;dd&gt;nomacs is small, fast and able to handle the most common image formats.&lt;/dd&gt;
&lt;dd&gt;Additionally it is possible to synchronize multiple viewers&lt;/dd&gt;
&lt;dd&gt;running on the same computer or via LAN is possible.&lt;/dd&gt;
&lt;dd&gt;It allows to compare images and spot the differences&lt;/dd&gt;
&lt;dd&gt;e.g. schemes of architects to show the progress).&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;</description>
    </item>
    
    <item>
      <title>nall – schedule your tasks like a pro</title>
      <link>/2014/10/06/nall-schedule-tasks-pro/</link>
      <pubDate>Mon, 06 Oct 2014 00:42:02 +0000</pubDate>
      
      <guid>/2014/10/06/nall-schedule-tasks-pro/</guid>
      <description>&lt;p&gt;nall is a utility to run your scripts ( for whatever ) every defined period. Here is description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Description : Nall is a small gtk+ application that discretely fits into your freedesktop&lt;/dt&gt;
&lt;dd&gt;system tray (such as trayer).&lt;/dd&gt;
&lt;dd&gt;&lt;/dd&gt;
&lt;dd&gt;Its purpose is to spawn periodically every kind of script and display a&lt;/dd&gt;
&lt;dd&gt;one-line output in the tooltip window. The main usage of nall is monitoring or&lt;/dd&gt;
&lt;dd&gt;just notifying of almost everything (it just depends upon your imagination and&lt;/dd&gt;
&lt;dd&gt;ability to script).&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt;For installation :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Download Ticket Service – dl is now on fedora.</title>
      <link>/2014/09/08/download-ticket-service-dl-fedora/</link>
      <pubDate>Mon, 08 Sep 2014 00:49:42 +0000</pubDate>
      
      <guid>/2014/09/08/download-ticket-service-dl-fedora/</guid>
      <description>&lt;p&gt;From : &lt;a href=&#34;http://www.thregr.org/~wavexx/software/dl/&#34;&gt;http://www.thregr.org/~wavexx/software/dl/&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;“dl” is a file exchange service that allows you to upload any file to a web server and generate a unique ticket for others to download. The ticket is automatically expired according to the specified rules, so that &lt;cite&gt;you&lt;/cite&gt; don’t need to keep track or cleanup afterward. “dl” also allows you to grant an anonymous, one-time upload for others to send you a file, without the requirement of account management.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>tlp – optimize and maximize your battery power.</title>
      <link>/2014/06/30/tlp-optimize-maximize-battery-power/</link>
      <pubDate>Mon, 30 Jun 2014 00:30:53 +0000</pubDate>
      
      <guid>/2014/06/30/tlp-optimize-maximize-battery-power/</guid>
      <description>&lt;p&gt;If you are concerned about the battery life on your Linux laptop, then you should consider using tlp. tlp customizes your Linux distribution for maximum battery life and thus helps improving battery longevity when on Linux.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;TLP brings you the benefits of advanced power management for Linux&lt;br&gt;
without the need to understand every technical detail. TLP comes&lt;br&gt;
with a default configuration already optimized for battery life.&lt;br&gt;
Also an optional install of the smartmontools package enables hard&lt;br&gt;
disk SMART data in tlp-stat (smartctl).&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Backup – simple and intelligent</title>
      <link>/2014/06/06/backup-simple-intelligent/</link>
      <pubDate>Fri, 06 Jun 2014 00:35:42 +0000</pubDate>
      
      <guid>/2014/06/06/backup-simple-intelligent/</guid>
      <description>&lt;p&gt;However much you stress on the importance of backupm people will forget about keeping it. So, if you do need a completely automated and simple &lt;a class=&#34;zem_slink&#34; title=&#34;Backup&#34; href=&#34;http://en.wikipedia.org/wiki/Backup&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;backup&lt;/a&gt; then consider using “&lt;a class=&#34;zem_slink&#34; title=&#34;Back In Time (software)&#34; href=&#34;http://en.wikipedia.org/wiki/Back_In_Time_%28software%29&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;Back In Time&lt;/a&gt;“.&lt;/p&gt;
&lt;p&gt;Description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;BackInTime is a simple backup system for &lt;a class=&#34;zem_slink&#34; title=&#34;Linux&#34; href=&#34;http://en.wikipedia.org/wiki/Linux&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;Linux&lt;/a&gt; inspired from&lt;br&gt;
“flyback project” and “TimeVault”. The backup is done by taking&lt;br&gt;
snapshots of a specified set of directories.&lt;br&gt;
This package contains the &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME&#34; href=&#34;http://www.gnome.org&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;GNOME&lt;/a&gt; frontend of BackInTime.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;For installation:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>x2go – possible replacement to VNC</title>
      <link>/2014/05/22/x2go-replacement-vnc/</link>
      <pubDate>Thu, 22 May 2014 00:31:47 +0000</pubDate>
      
      <guid>/2014/05/22/x2go-replacement-vnc/</guid>
      <description>&lt;p&gt;If you are accessing you Linux machine from VNC then you can try &lt;a href=&#34;http://wiki.x2go.org/doku.php&#34;&gt;x2go.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Pretty straight forward installation, with packages available for both Ubuntu and Fedora and most other common distros as well. Just install, change one line ( visit the link above) and you are done. Neat, I must say.&lt;/p&gt;
&lt;p&gt;Do try it when you feel the need to do something new.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>unrar or unar – go open source way</title>
      <link>/2014/05/15/unrar-unar-open-source/</link>
      <pubDate>Thu, 15 May 2014 00:15:40 +0000</pubDate>
      
      <guid>/2014/05/15/unrar-unar-open-source/</guid>
      <description>&lt;p&gt;Recently there was a utility released called unar, a &lt;a class=&#34;zem_slink&#34; title=&#34;Open Source&#34; href=&#34;http://www.wikinvest.com/concept/Open_Source&#34; target=&#34;_blank&#34; rel=&#34;wikinvest&#34;&gt;open source&lt;/a&gt; replacement for unar.&lt;/p&gt;
&lt;p&gt;Description::&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The &lt;a class=&#34;zem_slink&#34; title=&#34;Command-line interface&#34; href=&#34;http://en.wikipedia.org/wiki/Command-line_interface&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;command-line&lt;/a&gt; utilities lsar and unar are capable of listing and extracting&lt;br&gt;
files respectively in several formats including RARv3. unar can serve as a free&lt;br&gt;
and open source replacement of &lt;a class=&#34;zem_slink&#34; title=&#34;Unrar&#34; href=&#34;http://en.wikipedia.org/wiki/Unrar&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;unrar&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;To install on fedora:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;yum install unar&lt;/pre&gt;
&lt;p&gt;The utility provides 2 commands called &lt;strong&gt;lsar and unar,&lt;/strong&gt; which can be used to list and extract rar archives.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>terminal in browser.</title>
      <link>/2014/05/09/terminal-browser/</link>
      <pubDate>Fri, 09 May 2014 00:55:48 +0000</pubDate>
      
      <guid>/2014/05/09/terminal-browser/</guid>
      <description>&lt;p&gt;Quite a lot of time, we are spending most of the time on Browsers and during this time, leaving the browser just to do some ls or some command for quickly checking something does not look productive and here is where butterfly is useful.&lt;/p&gt;
&lt;p&gt;Just install butterfly with:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;pip install butterfly&lt;/pre&gt;
&lt;p&gt;and then head over to :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;http://localhost:57575&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;and voila you have a terminal in your browser.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>sunflower – file manager.</title>
      <link>/2014/04/30/sunflower-file-manager/</link>
      <pubDate>Wed, 30 Apr 2014 01:10:06 +0000</pubDate>
      
      <guid>/2014/04/30/sunflower-file-manager/</guid>
      <description>&lt;p&gt;Sunflower file manager is a new file manager that has couple of interesting features, that I liked, not that I use graphical &lt;a class=&#34;zem_slink&#34; title=&#34;File manager&#34; href=&#34;http://en.wikipedia.org/wiki/File_manager&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;file managers&lt;/a&gt; much.&lt;/p&gt;
&lt;p&gt;It has a in-built &lt;a class=&#34;zem_slink&#34; title=&#34;Command-line interface&#34; href=&#34;http://en.wikipedia.org/wiki/Command-line_interface&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;command line&lt;/a&gt;, terminal and other interesting features, so what are you waiting for just head over and download and install :&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;rpm -ivh http://sunflower-fm.org/pub/sunflower-0.1a.58-1.noarch.rpm&lt;/pre&gt;
&lt;p&gt;Or head over to their downloads page at :&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://sunflower-fm.org/pub/&#34;&gt;http://sunflower-fm.org/pub/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There is still no home-page and might come soon.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Xephyr – Nested X Server</title>
      <link>/2014/04/24/xephyr-nested-server/</link>
      <pubDate>Thu, 24 Apr 2014 01:01:01 +0000</pubDate>
      
      <guid>/2014/04/24/xephyr-nested-server/</guid>
      <description>&lt;p&gt;Nested &lt;a class=&#34;zem_slink&#34; title=&#34;X Window System&#34; href=&#34;http://en.wikipedia.org/wiki/X_Window_System&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;X-Server&lt;/a&gt; is running a X &lt;a class=&#34;zem_slink&#34; title=&#34;Server (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/Server_%28computing%29&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;server&lt;/a&gt; &lt;a class=&#34;zem_slink&#34; title=&#34;Root window&#34; href=&#34;http://en.wikipedia.org/wiki/Root_window&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;root window&lt;/a&gt; within your running X-windows session like &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME&#34; href=&#34;http://www.gnome.org&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Gnome&lt;/a&gt; or &lt;a class=&#34;zem_slink&#34; title=&#34;KDE&#34; href=&#34;http://kde.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;KDE&lt;/a&gt;. This could be useful if you want to keep all you ssh windows in one window or maybe run all you &lt;a class=&#34;zem_slink&#34; title=&#34;Internet Relay Chat&#34; href=&#34;http://en.wikipedia.org/wiki/Internet_Relay_Chat&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;IRC&lt;/a&gt;, firefox, chat and others inside one window, or maybe run another &lt;a class=&#34;zem_slink&#34; title=&#34;Window manager&#34; href=&#34;http://en.wikipedia.org/wiki/Window_manager&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;window manager&lt;/a&gt; itself.&lt;/p&gt;
&lt;p&gt;Lets first install ::&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo yum install xorg-x11-server-Xephyr&lt;/pre&gt;
&lt;p&gt;Once done, you can define an alias to do the magic with your nested server. So, lets define an alias:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>xca – Graphical X.509 certificate management tool</title>
      <link>/2014/04/14/xca-graphical-x-509-certificate-management-tool/</link>
      <pubDate>Mon, 14 Apr 2014 00:52:53 +0000</pubDate>
      
      <guid>/2014/04/14/xca-graphical-x-509-certificate-management-tool/</guid>
      <description>&lt;p&gt;If you are looking for some tool to manage X.509 certificates then probably xca is your best guess. This is  a graphical tool and you can open any file and view the keys in it.&lt;/p&gt;
&lt;p&gt;So, first install it:&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo yum install xca&lt;/pre&gt;
&lt;p&gt;And some information on xca::&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Description :   X Certificate and Key management is a graphic interface for managing&lt;/dt&gt;
&lt;dd&gt;asymmetric keys like RSA or DSA, certificates and revocation lists. It is&lt;/dd&gt;
&lt;dd&gt;intended as a small CA for creation and signing certificates. It uses the&lt;/dd&gt;
&lt;dd&gt;OpenSSL library for the cryptographic operations.&lt;br&gt;
:   Certificate signing requests (PKCS#10), certificates (X509v3), the signing&lt;/dd&gt;
&lt;dd&gt;of requests, the creation of self-signed certificates, certificate revocation&lt;/dd&gt;
&lt;dd&gt;lists and SmartCards are supported. For an easy company-wide use, customizable&lt;/dd&gt;
&lt;dd&gt;templates can be used for certificate and request generation. The PKI structures&lt;/dd&gt;
&lt;dd&gt;can be imported and exported in several formats like PKCS#7, PKCS#12, PEM,&lt;/dd&gt;
&lt;dd&gt;DER, PKCS#8. All cryptographic data are stored in a byte order agnostic file&lt;/dd&gt;
&lt;dd&gt;format, portable across operating systems.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;h3 class=&#34;zemanta-related-title&#34; style=&#34;margin: 0 0 10px 0; padding: 0; clear: both;&#34;&gt;
  Related articles across the web
&lt;/h3&gt;
&lt;ul class=&#34;zemanta-article-ul zemanta-article-ul-image&#34; style=&#34;margin: 0; padding: 0; overflow: hidden;&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 104px; font-size: 12px; margin: 0 5px 10px 0;&#34;&gt;
    &lt;a style=&#34;padding: 2px; display: block; text-decoration: none;&#34; href=&#34;http://aloknet21.wordpress.com/2014/03/20/creating-self-signed-certificates-for-your-fortigate-firewalls/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); padding: 0; margin: 0; border: 0; display: block; width: 100px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i1.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2014/04/258057955_150_150.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://aloknet21.wordpress.com/2014/03/20/creating-self-signed-certificates-for-your-fortigate-firewalls/&#34; target=&#34;_blank&#34;&gt;Creating Self Signed Certificates for your Fortigate Firewalls&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 104px; font-size: 12px; margin: 0 5px 10px 0;&#34;&gt;
    &lt;a style=&#34;padding: 2px; display: block; text-decoration: none;&#34; href=&#34;http://www.secureauth.com/blog/secure-mobile-x-509-certificate-delivery/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); padding: 0; margin: 0; border: 0; display: block; width: 100px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i2.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2014/04/261482981_150_150.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://www.secureauth.com/blog/secure-mobile-x-509-certificate-delivery/&#34; target=&#34;_blank&#34;&gt;Secure Mobile X.509 Certificate Delivery &amp;#8211; SecureAuth and MobileIron&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 104px; font-size: 12px; margin: 0 5px 10px 0;&#34;&gt;
    &lt;a style=&#34;padding: 2px; display: block; text-decoration: none;&#34; href=&#34;http://msactivedirectory2008.wordpress.com/2013/09/08/x-509-certificates/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); padding: 0; margin: 0; border: 0; display: block; width: 100px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2014/04/200129802_150_150.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://msactivedirectory2008.wordpress.com/2013/09/08/x-509-certificates/&#34; target=&#34;_blank&#34;&gt;X.509 Certificates&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 104px; font-size: 12px; margin: 0 5px 10px 0;&#34;&gt;
    &lt;a style=&#34;padding: 2px; display: block; text-decoration: none;&#34; href=&#34;http://adam.younglogic.com/2014/04/pki-for-oslo-messaging/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); padding: 0; margin: 0; border: 0; display: block; width: 100px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i2.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2014/04/261591803_150_150.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://adam.younglogic.com/2014/04/pki-for-oslo-messaging/&#34; target=&#34;_blank&#34;&gt;Public Key Document Signing for Oslo Messaging&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Fedora.next – what is it?</title>
      <link>/2014/04/07/fedora-next-it/</link>
      <pubDate>Mon, 07 Apr 2014 00:47:55 +0000</pubDate>
      
      <guid>/2014/04/07/fedora-next-it/</guid>
      <description>&lt;p&gt;Fedora.next is being much talked about but what it really is. If you want some insight’s and understand what it is, head over to this &lt;a href=&#34;http://mattdm.org/fedora/next/#1&#34; target=&#34;_blank&#34;&gt;presentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A nice presentation that explains the concept for Fedora.next.&lt;/p&gt;
&lt;h3 class=&#34;zemanta-related-title&#34; style=&#34;margin: 0 0 10px 0; padding: 0; clear: both;&#34;&gt;
  Related articles across the web
&lt;/h3&gt;
&lt;ul class=&#34;zemanta-article-ul zemanta-article-ul-image&#34; style=&#34;margin: 0; padding: 0; overflow: hidden;&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 104px; font-size: 12px; margin: 0 5px 10px 0;&#34;&gt;
    &lt;a style=&#34;padding: 2px; display: block; text-decoration: none;&#34; href=&#34;http://blog.linuxgrrl.com/2014/04/01/a-proposal-for-fedoras-website-considering-fedora-next/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); padding: 0; margin: 0; border: 0; display: block; width: 100px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2014/04/261543085_150_150.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://blog.linuxgrrl.com/2014/04/01/a-proposal-for-fedoras-website-considering-fedora-next/&#34; target=&#34;_blank&#34;&gt;A proposal for Fedora&amp;#8217;s website (considering Fedora.next)&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 104px; font-size: 12px; margin: 0 5px 10px 0;&#34;&gt;
    &lt;a style=&#34;padding: 2px; display: block; text-decoration: none;&#34; href=&#34;http://roadtofudconlatam.org/fedora-packaging-workshop-managua/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); padding: 0; margin: 0; border: 0; display: block; width: 100px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i1.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2014/04/noimg_6_150_150.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://roadtofudconlatam.org/fedora-packaging-workshop-managua/&#34; target=&#34;_blank&#34;&gt;Fedora Packaging Workshop Managua&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Sandbox apache (httpd) for better security.</title>
      <link>/2014/03/26/sandbox-apache-httpd-security/</link>
      <pubDate>Wed, 26 Mar 2014 13:37:40 +0000</pubDate>
      
      <guid>/2014/03/26/sandbox-apache-httpd-security/</guid>
      <description>&lt;p&gt;Apache/httpd is something which you would like to have contained. And now fedora provides a native way/mechanism to to so with virt-sandbox-service. With this, you can create a virtualized sanbox service and then connect/list/manage such with virsh.&lt;/p&gt;
&lt;p&gt;We will be using LXC.&lt;/p&gt;
&lt;p&gt;Basically its couple of commands and you have a contained service running.&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;# List all the containers
virsh -c lxc:/// list

# Create the sandbox, all default parameters. Will take dhcp address.
virt-sandbox-service create -C  --username amitag -u httpd.service httpd_conta

# Create the container with static IP.
virt-sandbox-service create -C  --username amitag -u httpd.service -N \
address=192.168.122.11/24%192.168.122.255  httpd_conta#Enable and start the service.
virt-sandbox-service start httpd_conta
virt-sandbox-service enable httpd_conta#Delete the container if not required any more.
virt-sandbox-service delete  httpd_conta&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Sandbox Firefox – First step to security</title>
      <link>/2014/03/19/sandbox-firefox-first-step-to-security/</link>
      <pubDate>Wed, 19 Mar 2014 01:21:04 +0000</pubDate>
      
      <guid>/2014/03/19/sandbox-firefox-first-step-to-security/</guid>
      <description>&lt;p&gt;First we will setup &lt;a class=&#34;zem_slink&#34; title=&#34;Cgroups&#34; href=&#34;http://en.wikipedia.org/wiki/Cgroups&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;cgroup&lt;/a&gt; to limit cpu and memory usage, so here we go:&lt;/p&gt;
&lt;p&gt;Add the configuration in &lt;strong&gt;/etc/cgconfig.conf&lt;/strong&gt;&lt;/p&gt;
&lt;pre class=&#34;brush:bash;&#34;&gt;#------start cgconfig----------------
#new &lt;a class=&#34;zem_slink&#34; title=&#34;Group identifier&#34; href=&#34;http://en.wikipedia.org/wiki/Group_identifier&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;group&lt;/a&gt;
group firefox {
    perm {
        task {
#user your &lt;a class=&#34;zem_slink&#34; title=&#34;Login&#34; href=&#34;http://en.wikipedia.org/wiki/Login&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;login&lt;/a&gt; id and group here, so that you can control this group
        uid = amitag;
        gid = amitag;
        }
        admin {
# same as above, set to your login id and group.
           uid = amitag;
           gid = amitag;
        }
    }
# set the limits for cpu.. by default there are 1024 shares of cpu with no other groups,
# so share of 102 would be around 10% .
    cpu{
        cpu.shares=&#34;102&#34;;
    }
# limit the cpus to be used to only 0-1
    cpuset{
        cpuset.cpus=0-1;
        cpuset.mems=0;
    }
# limit the maximum memory to 700Mb.
    memory {
        memory.limit_in_bytes=&#34;700M&#34;;
        memory.max_usage_in_bytes=&#34;0&#34;;
    }
}
#------end cgconfig----------------&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>get all the urls in html file (local or on server).</title>
      <link>/2014/02/17/urls-html-file-local-server/</link>
      <pubDate>Mon, 17 Feb 2014 10:35:53 +0000</pubDate>
      
      <guid>/2014/02/17/urls-html-file-local-server/</guid>
      <description>&lt;p&gt;To use this, you will need the &lt;a class=&#34;zem_slink&#34; title=&#34;Lynx&#34; href=&#34;http://en.wikipedia.org/wiki/Lynx&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;lynx&lt;/a&gt; tool, so install that first.&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install lynx&lt;/pre&gt;
&lt;p&gt;Now, to get list of all the &lt;a class=&#34;zem_slink&#34; title=&#34;Uniform resource locator&#34; href=&#34;http://en.wikipedia.org/wiki/Uniform_resource_locator&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;URLs&lt;/a&gt; in local html file or some URL, just execute this:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;lynx -dump -listonly&lt;/pre&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul zemanta-article-ul-image&#34; style=&#34;margin: 0; padding: 0; overflow: hidden;&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://stackoverflow.com/questions/20797087/trouble-in-using-file-get-contents&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i2.wp.com/i.zemanta.com/noimg_97_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://stackoverflow.com/questions/20797087/trouble-in-using-file-get-contents&#34; target=&#34;_blank&#34;&gt;Trouble in using file_get_contents()&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://stackoverflow.com/questions/21453767/how-to-send-image-to-server-with-url-in-ios&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i0.wp.com/i.zemanta.com/noimg_43_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://stackoverflow.com/questions/21453767/how-to-send-image-to-server-with-url-in-ios&#34; target=&#34;_blank&#34;&gt;How to send image to server with url in ios&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://christianheilmann.com/2014/01/05/endangered-species-of-the-web-the-link/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i0.wp.com/i.zemanta.com/236173680_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://christianheilmann.com/2014/01/05/endangered-species-of-the-web-the-link/&#34; target=&#34;_blank&#34;&gt;Endangered species of the Web: the Link&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>nautilis fork ( File manager ) with tree view in sidebar.</title>
      <link>/2014/02/09/nautilis-fork-file-manager-tree-view-sidebar/</link>
      <pubDate>Sun, 09 Feb 2014 00:49:09 +0000</pubDate>
      
      <guid>/2014/02/09/nautilis-fork-file-manager-tree-view-sidebar/</guid>
      <description>&lt;p&gt;Was searching for this for sometime now, finally found it.&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install nemo
sudo yum list nemo*&lt;/pre&gt;
&lt;p&gt;First just install nemo. Configure nemo not to interfere with default desktop and also make it default handler. So, here are the settings that would do it.&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;gconftool-2 --set  /desktop/gnome/applications/component_viewer/exec --type &#39;string&#39; &#39;nemo &#34;%s&#34;&#39;
gconftool-2 --set  /desktop/gnome/url-handlers/trash/command --type &#39;string&#39; &#39;nemo &#34;%s&#34;&#39;
gsettings set org.nemo.desktop show-desktop-icons false&lt;/pre&gt;
&lt;p&gt;Now, if you need more functionality in &lt;a class=&#34;zem_slink&#34; title=&#34;File manager&#34; href=&#34;http://en.wikipedia.org/wiki/File_manager&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;file manager&lt;/a&gt; then check the list of nemo packages from the output of second command of yum. It has plugins like file preview and so on. Install and enjoy.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>mpd – change the music directory context for selinux.</title>
      <link>/2014/01/10/mpd-change-music-directory-context-selinux/</link>
      <pubDate>Fri, 10 Jan 2014 01:15:37 +0000</pubDate>
      
      <guid>/2014/01/10/mpd-change-music-directory-context-selinux/</guid>
      <description>&lt;p&gt;For running mpd with different use, you may find necessary to change the SELinux context of your music directory. For this, you would need to run the below command:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;chcon -R  -t mpd_user_data_t Music/&lt;/pre&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul zemanta-article-ul-image&#34; style=&#34;margin: 0; padding: 0; overflow: hidden;&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://nrivoli.wordpress.com/2013/11/17/acl-selinux-contexts-and-systemd/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i0.wp.com/i.zemanta.com/221686708_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://nrivoli.wordpress.com/2013/11/17/acl-selinux-contexts-and-systemd/&#34; target=&#34;_blank&#34;&gt;ACL, SELinux Contexts and Systemd&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;https://wiki.archlinux.org/index.php?title=SELinux&amp;diff=289513&amp;oldid=286040&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i1.wp.com/i.zemanta.com/noimg_4_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;https://wiki.archlinux.org/index.php?title=SELinux&amp;diff=289513&amp;oldid=286040&#34; target=&#34;_blank&#34;&gt;SELinux&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>cgroups – use to control your cpu and memory</title>
      <link>/2014/01/06/cgroups-control-cpu-memory/</link>
      <pubDate>Mon, 06 Jan 2014 00:33:23 +0000</pubDate>
      
      <guid>/2014/01/06/cgroups-control-cpu-memory/</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Cgroups&#34; href=&#34;http://en.wikipedia.org/wiki/Cgroups&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;cgroups&lt;/a&gt;&lt;/strong&gt; is a kernel feature and with &lt;a class=&#34;zem_slink&#34; title=&#34;User space&#34; href=&#34;http://en.wikipedia.org/wiki/User_space&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;userspace&lt;/a&gt; utilities, we can use the feature to control the cpu and memory for per process. So, lets first install the required tools.&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install libcgroup-tools&lt;/pre&gt;
&lt;p&gt;Now, we need to enable the service.&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo systemctl enable cgconfig.service
sudo systemctl enable cgred.service&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;cgconfig.service&lt;/strong&gt; is to enable configuration for cgroups and&lt;br&gt;
&lt;strong&gt;cgred.service&lt;/strong&gt; is to enable configuration for cgroups for processes depending on the name.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>more clients for mpd.</title>
      <link>/2013/12/26/clients-mpd/</link>
      <pubDate>Thu, 26 Dec 2013 01:01:41 +0000</pubDate>
      
      <guid>/2013/12/26/clients-mpd/</guid>
      <description>&lt;p&gt;Here are some more clients that you can use with mpd.&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install mpd mpc qmpdclient.x86_64 gmpc.x86_64 sonata.x86_64&lt;/pre&gt;
&lt;p&gt;mpd is ::&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Music Player Daemon&#34; href=&#34;http://mpd.wikia.com/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Music Player Daemon&lt;/a&gt; (MPD) is a flexible, powerful, server-side application for&lt;br&gt;
playing music. Through plugins and libraries it can play a variety of sound&lt;br&gt;
files (e.g., &lt;a class=&#34;zem_slink&#34; title=&#34;Ogg&#34; href=&#34;http://downloads.xiph.org/releases/ogg/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;OGG&lt;/a&gt;, MP3, &lt;a class=&#34;zem_slink&#34; title=&#34;FLAC&#34; href=&#34;http://flac.sourceforge.net/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;FLAC&lt;/a&gt;, &lt;a class=&#34;zem_slink&#34; title=&#34;Advanced Audio Coding&#34; href=&#34;http://en.wikipedia.org/wiki/Advanced_Audio_Coding&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;AAC&lt;/a&gt;, &lt;a class=&#34;zem_slink&#34; title=&#34;WAV&#34; href=&#34;http://en.wikipedia.org/wiki/WAV&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;WAV&lt;/a&gt;) and can be controlled remotely via its&lt;br&gt;
&lt;a class=&#34;zem_slink&#34; title=&#34;Communications protocol&#34; href=&#34;http://en.wikipedia.org/wiki/Communications_protocol&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;network protocol&lt;/a&gt;. It can be used as a desktop music player, but is also great&lt;br&gt;
for &lt;a class=&#34;zem_slink&#34; title=&#34;Streaming media&#34; href=&#34;http://en.wikipedia.org/wiki/Streaming_media&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;streaming music&lt;/a&gt; to a stereo system over a &lt;a class=&#34;zem_slink&#34; title=&#34;Local area network&#34; href=&#34;http://en.wikipedia.org/wiki/Local_area_network&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;local network&lt;/a&gt;. There are many&lt;br&gt;
&lt;a class=&#34;zem_slink&#34; title=&#34;Graphical user interface&#34; href=&#34;http://en.wikipedia.org/wiki/Graphical_user_interface&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;GUI&lt;/a&gt; and &lt;a class=&#34;zem_slink&#34; title=&#34;Command-line interface&#34; href=&#34;http://en.wikipedia.org/wiki/Command-line_interface&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;command-line&lt;/a&gt; applications to choose from that act as a front-end for&lt;br&gt;
browsing and playing your MPD music collection.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>get systemd journal entries on web interface.</title>
      <link>/2013/12/12/systemd-journal-entries-web-interface/</link>
      <pubDate>Thu, 12 Dec 2013 01:19:50 +0000</pubDate>
      
      <guid>/2013/12/12/systemd-journal-entries-web-interface/</guid>
      <description>&lt;p&gt;Just in case you need it, you can get the journalctl entries from &lt;a class=&#34;zem_slink&#34; title=&#34;Systemd&#34; href=&#34;http://freedesktop.org/wiki/Software/systemd/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;systemd&lt;/a&gt; in the &lt;a class=&#34;zem_slink&#34; title=&#34;Web page&#34; href=&#34;http://en.wikipedia.org/wiki/Web_page&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;web page&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;First install :&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;yum install systemd-journal-gateway&lt;/pre&gt;
&lt;p&gt;Once you have done this you can get the journal entries with &lt;a class=&#34;zem_slink&#34; title=&#34;Wget&#34; href=&#34;http://www.gnu.org/software/wget&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;wget&lt;/a&gt; as well with&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;wget &lt;a class=&#34;linkification-ext&#34; title=&#34;Linkification: http://localhost:19531/entries&#34; href=&#34;http://localhost:19531/entries&#34;&gt;http://localhost:19531/entries&lt;/a&gt;&lt;/pre&gt;
&lt;p&gt;or if you prefer, you can browse with a browser at &lt;a href=&#34;http://localhost:19531/&#34;&gt;http://localhost:19531/&lt;/a&gt;. It has a nice little interface for browsing the entries, nothing too fancy but just sufficient.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>sxiv – image viewer</title>
      <link>/2013/12/06/sxiv-image-viewer/</link>
      <pubDate>Fri, 06 Dec 2013 01:13:06 +0000</pubDate>
      
      <guid>/2013/12/06/sxiv-image-viewer/</guid>
      <description>&lt;p&gt;sxiv is a nice alternative to &lt;a href=&#34;http://blog.amit-agarwal.co.in/2009/11/21/feh-versatile-image-viewer-works-from-command-line-too/&#34; title=&#34;feh – versatile image viewer works from command line too.&#34;&gt;feh&lt;/a&gt;. It is very light weight and quite useful. Here is the description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Description :&lt;br&gt;
sxiv is an alternative to feh and qiv. Its only dependency besides xlib&lt;br&gt;
is imlib2. The primary goal for writing sxiv is to create an &lt;a class=&#34;zem_slink&#34; title=&#34;Image viewer&#34; href=&#34;http://en.wikipedia.org/wiki/Image_viewer&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;image viewer&lt;/a&gt;,&lt;br&gt;
which only has the most basic features required for fast image viewing (the&lt;br&gt;
ones I want). It works nicely with &lt;a class=&#34;zem_slink&#34; title=&#34;Tiling window manager&#34; href=&#34;http://en.wikipedia.org/wiki/Tiling_window_manager&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;tiling window managers&lt;/a&gt; and its code base&lt;br&gt;
should be kept small and clean to make it easy for you to dig into it and&lt;br&gt;
customize it for your needs.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Monitor your system with sysusage.</title>
      <link>/2013/12/02/monitor-system-sysusage/</link>
      <pubDate>Mon, 02 Dec 2013 01:02:31 +0000</pubDate>
      
      <guid>/2013/12/02/monitor-system-sysusage/</guid>
      <description>&lt;p&gt;First some information on sysusage:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Description :&lt;br&gt;
SysUsage continuously monitor your systems informations and generate&lt;br&gt;
periodical graph reports using &lt;a class=&#34;zem_slink&#34; title=&#34;RRDtool&#34; href=&#34;http://oss.oetiker.ch/rrdtool/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;rrdtool&lt;/a&gt; or javascript jqplot library.&lt;br&gt;
All reports are shown throught a &lt;a class=&#34;zem_slink&#34; title=&#34;User interface&#34; href=&#34;http://en.wikipedia.org/wiki/User_interface&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;web interface&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;SysUsage grabs all system activities using Sar and system commands allowing&lt;br&gt;
you to keep tracks of your computer or &lt;a class=&#34;zem_slink&#34; title=&#34;Server (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/Server_%28computing%29&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;server&lt;/a&gt; activity during his life.&lt;br&gt;
It is a great help for performance analysis and resources management. The&lt;br&gt;
threshold notification can alarm you when the system capabilities are&lt;br&gt;
reached by sending &lt;a class=&#34;zem_slink&#34; title=&#34;Simple Mail Transfer Protocol&#34; href=&#34;http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;SMTP&lt;/a&gt; messages or throught &lt;a class=&#34;zem_slink&#34; title=&#34;Nagios&#34; href=&#34;http://www.nagios.org&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Nagios&lt;/a&gt; reports.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Change display manager on Fedora</title>
      <link>/2013/11/08/change-display-manager-fedora/</link>
      <pubDate>Fri, 08 Nov 2013 13:29:27 +0000</pubDate>
      
      <guid>/2013/11/08/change-display-manager-fedora/</guid>
      <description>&lt;p&gt;Simple, just install and run the following&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install system-switch-displaymanager-gnome
system-switch-displaymanager-gnome&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>Beautiful set of icons.</title>
      <link>/2013/10/24/beautiful-set-icons/</link>
      <pubDate>Thu, 24 Oct 2013 00:35:24 +0000</pubDate>
      
      <guid>/2013/10/24/beautiful-set-icons/</guid>
      <description>&lt;p&gt;Here is a link to a very beautiful set of icons for you gnome/kde desktop:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://bokehlicia.deviantart.com/art/Pacifica-Icons-402508559&#34;&gt;http://bokehlicia.deviantart.com/art/Pacifica-Icons-402508559&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Find directory/file with inode number</title>
      <link>/2013/09/10/findmnt-find-mounts-source-2/</link>
      <pubDate>Tue, 10 Sep 2013 00:57:57 +0000</pubDate>
      
      <guid>/2013/09/10/findmnt-find-mounts-source-2/</guid>
      <description>&lt;p&gt;Couple of days back, I was getting the following &lt;a class=&#34;zem_slink&#34; title=&#34;Error (baseball)&#34; href=&#34;http://en.wikipedia.org/wiki/Error_%28baseball%29&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;error&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Directory &lt;a class=&#34;zem_slink&#34; title=&#34;Inode&#34; href=&#34;http://en.wikipedia.org/wiki/Inode&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;inode&lt;/a&gt; 2362521 has an unallocated block #245823.  Allocate?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And this continued for hours together and I was in a hurry. Did not really care about the error and all I wanted was to get rid of the error but for that I needed to get to the file/directory with &lt;a class=&#34;zem_slink&#34; title=&#34;Inode&#34; href=&#34;http://en.wikipedia.org/wiki/Inode&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;inode number&lt;/a&gt;  mentioned in the error and finally “find” command came to rescue:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Set some disk params to be safe</title>
      <link>/2013/09/05/set-disk-params-safe/</link>
      <pubDate>Thu, 05 Sep 2013 01:20:52 +0000</pubDate>
      
      <guid>/2013/09/05/set-disk-params-safe/</guid>
      <description>&lt;p&gt;It is always “Better safe than sorry” so, here are some things you&lt;br&gt;
should do..&lt;/p&gt;
&lt;p&gt;First check &lt;a class=&#34;zem_slink&#34; title=&#34;Fstab&#34; href=&#34;http://en.wikipedia.org/wiki/Fstab&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;fstab&lt;/a&gt;, if you have partitions other than root then use &lt;a class=&#34;zem_slink&#34; title=&#34;Universally unique identifier&#34; href=&#34;http://en.wikipedia.org/wiki/Universally_unique_identifier&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;UUID&lt;/a&gt; instead of device:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;UUID=a8f13a0d-3f1f-42e4-b076-f44b4163306c /mnt/Backup     ext4 defaults,relatime 1 2&lt;/pre&gt;
&lt;p&gt;Then entries for all your mounts should be like above.&lt;br&gt;
Points to note here :&lt;/p&gt;
&lt;p&gt;Disk is mounted using the UUID and not with /dev/sdXX. This ensures&lt;br&gt;
that even if your disk ids change, you will be able to mount them. To&lt;br&gt;
get the partition UUID, you can execute :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>pkgwat -search packages for Fedora.</title>
      <link>/2013/08/23/pkgwat-search-packages-fedora/</link>
      <pubDate>Fri, 23 Aug 2013 00:52:44 +0000</pubDate>
      
      <guid>/2013/08/23/pkgwat-search-packages-fedora/</guid>
      <description>&lt;p&gt;pkgwat is a nice utility to search the fedora packages websearch.&lt;/p&gt;
&lt;pre class=&#34;brush: text; gutter: true; first-line: 1&#34;&gt;Description : Pronounced &#34;package WAT&#34;, pkgwat is a fast CLI tool for querying
: the fedora packages webapp.
: https://apps.fedoraproject.org/packages/
:
: You can make its search even better by helping us tag packages.
: https://apps.fedoraproject.org/tagger&lt;/pre&gt;
&lt;p&gt;And to search for  a package, you can use ::&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1; highlight: [2]&#34;&gt;pkgwat search 
pkgwat -h # get help on package.&lt;/pre&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul zemanta-article-ul-image&#34; style=&#34;margin: 0; padding: 0; overflow: hidden;&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;https://pypi.python.org/pypi/pkgwat.cli/0.8&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i1.wp.com/i.zemanta.com/noimg_86_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;https://pypi.python.org/pypi/pkgwat.cli/0.8&#34; target=&#34;_blank&#34;&gt;pkgwat.cli 0.8&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://negativo17.org/enabling-cisco-webex-in-fedora-19-x86_64-and-i686/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i2.wp.com/i.zemanta.com/192227824_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://negativo17.org/enabling-cisco-webex-in-fedora-19-x86_64-and-i686/&#34; target=&#34;_blank&#34;&gt;Enabling Cisco WebEx in Fedora 19&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://www.echevemaster.org/en/2013/08/fedora-release-party-f19-venezuela/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i0.wp.com/i.zemanta.com/190906086_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://www.echevemaster.org/en/2013/08/fedora-release-party-f19-venezuela/&#34; target=&#34;_blank&#34;&gt;Fedora Release Party F19, Venezuela&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>power save mode for battery in Fedora 19.</title>
      <link>/2013/08/20/power-save-mode-battery-fedora-19/</link>
      <pubDate>Tue, 20 Aug 2013 00:41:21 +0000</pubDate>
      
      <guid>/2013/08/20/power-save-mode-battery-fedora-19/</guid>
      <description>&lt;p&gt;I was getting really bad battery life on my &lt;a class=&#34;zem_slink&#34; title=&#34;Fedora (operating system)&#34; href=&#34;http://www.fedoraproject.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Fedora&lt;/a&gt; 19 system, and did not find much on how to tune it. Finally I found something that just does not need much configuration but works pretty well. So, here is what you need to do:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install tuned tuned-adm&lt;/pre&gt;
&lt;p&gt;The second package, tuned-adm installs additional themes for power saving. It is optional and not mandatory. Once you have installed these, you can do the following:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Delete all but some directories</title>
      <link>/2013/08/16/delete-directories/</link>
      <pubDate>Fri, 16 Aug 2013 01:06:05 +0000</pubDate>
      
      <guid>/2013/08/16/delete-directories/</guid>
      <description>&lt;p&gt;I think, like me, you would have faced a lot of situations, where you wanted to delete all the files or directories in a location, leaving only the required files/directories. So, I have a directory containing lots of files/directories and I want to delete most of them except some 5/10 of them, how to I do it.&lt;/p&gt;
&lt;p&gt;I finally wrote a small &lt;a class=&#34;zem_slink&#34; title=&#34;Shell script&#34; href=&#34;http://en.wikipedia.org/wiki/Shell_script&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;script&lt;/a&gt; to do that. First save list of files that you do not want to delete in file called “listnames” and then &lt;a class=&#34;zem_slink&#34; title=&#34;Capital punishment&#34; href=&#34;http://en.wikipedia.org/wiki/Capital_punishment&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;execute&lt;/a&gt; the below script. This will give you the rm commands that you need to execute. If you want you can execute the rm command from the script, but to be able to review, I just have the commands echoed.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Photobooth party on Fedora</title>
      <link>/2013/07/29/photobooth-party-fedora/</link>
      <pubDate>Mon, 29 Jul 2013 01:49:38 +0000</pubDate>
      
      <guid>/2013/07/29/photobooth-party-fedora/</guid>
      <description>&lt;p&gt;If you like the kind of effects in those photobooths then here is something that will get you some pretty good time.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://fedoraproject.org/en/using/tutorials/cheese.html&#34; title=&#34;Cheese - Photo Booth Party&#34;&gt;http://fedoraproject.org/en/using/tutorials/cheese.html&lt;/a&gt;&lt;/p&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul zemanta-article-ul-image&#34; style=&#34;margin: 0; padding: 0; overflow: hidden;&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://premierbridetexas.wordpress.com/2012/01/20/say-cheese-for-fun-photobooths/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i1.wp.com/i.zemanta.com/169876607_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://premierbridetexas.wordpress.com/2012/01/20/say-cheese-for-fun-photobooths/&#34; target=&#34;_blank&#34;&gt;Say Cheese for Fun! Photobooths&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://detailseventscenter.wordpress.com/2013/07/06/magnetic-photobooth-is-in/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i1.wp.com/i.zemanta.com/noimg_73_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://detailseventscenter.wordpress.com/2013/07/06/magnetic-photobooth-is-in/&#34; target=&#34;_blank&#34;&gt;Magnetic PhotoBooth is IN!&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://venicephotobooth.com/2013/06/03/caylies-graduation-party-photobooth-sarasota/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i1.wp.com/i.zemanta.com/174520453_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://venicephotobooth.com/2013/06/03/caylies-graduation-party-photobooth-sarasota/&#34; target=&#34;_blank&#34;&gt;Caylie&amp;#8217;s Graduation Party, Photobooth Sarasota&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>conky transparent window on Fedora with Gnome.</title>
      <link>/2013/07/22/conky-transparent-window-fedora-gnome/</link>
      <pubDate>Mon, 22 Jul 2013 01:43:45 +0000</pubDate>
      
      <guid>/2013/07/22/conky-transparent-window-fedora-gnome/</guid>
      <description>&lt;p&gt;On &lt;a class=&#34;zem_slink&#34; title=&#34;Fedora (operating system)&#34; href=&#34;http://www.fedoraproject.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Fedora&lt;/a&gt; with &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME Shell&#34; href=&#34;http://live.gnome.org/GnomeShell&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Gnome-shell&lt;/a&gt; 3, its been long time that I was not able to get transparent window. So, finally I thought to spend some time to try to fix that. Finally got that fixed with all the configurations below in the conkyrc.  Here the default color is set to  &lt;a class=&#34;zem_slink&#34; title=&#34;X11 color names&#34; href=&#34;http://en.wikipedia.org/wiki/X11_color_names&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;LightSkyBlue&lt;/a&gt; but feel free to change that.&lt;/p&gt;
&lt;p&gt;I hope this helps fedora community who is struggling to get transparent window. And here is the code :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>create text tables from delimited files.</title>
      <link>/2013/07/12/create-text-tables-delimited-files/</link>
      <pubDate>Fri, 12 Jul 2013 01:24:19 +0000</pubDate>
      
      <guid>/2013/07/12/create-text-tables-delimited-files/</guid>
      <description>&lt;p&gt;To create simple text tables to paste in emails or to use in any other document where you want to show a table, here is something that you can use. There is a perl module which provides “&lt;strong&gt;tablify&lt;/strong&gt;“. And here is how to use it:&lt;/p&gt;
&lt;pre class=&#34;brush: shell; gutter: true; first-line: 1; highlight: [1]&#34;&gt;sudo yum install perl-Text-RecordParser&lt;/pre&gt;
&lt;p&gt;This will install a command “tablify” that you can use in number of ways. Here is a simple example to use it. You can read the man pages to see how you can use it.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>convert tabs to spaces, the easy way</title>
      <link>/2013/07/08/convert-tabs-spaces-easy/</link>
      <pubDate>Mon, 08 Jul 2013 01:32:03 +0000</pubDate>
      
      <guid>/2013/07/08/convert-tabs-spaces-easy/</guid>
      <description>&lt;p&gt;Lots of times you want to convert tabs to spaces and sometimes from a &lt;a class=&#34;zem_slink&#34; title=&#34;Shell script&#34; href=&#34;http://en.wikipedia.org/wiki/Shell_script&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;shell script&lt;/a&gt;, if that is the case, then simple solution is “&lt;strong&gt;tidy&lt;/strong&gt;“. First you need to install tidy as follows:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install tidy&lt;/pre&gt;
&lt;p&gt;and then you can use the command tab2space.&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;tab2spcae&lt;/pre&gt;
&lt;p&gt;This will print the output to &lt;a class=&#34;zem_slink&#34; title=&#34;Standard streams&#34; href=&#34;http://en.wikipedia.org/wiki/Standard_streams&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;STDOUT&lt;/a&gt; by default which you can redirect if you want.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Fedora – Ramdisk creation</title>
      <link>/2013/05/10/fedora-ramdisk-creation/</link>
      <pubDate>Fri, 10 May 2013 00:40:07 +0000</pubDate>
      
      <guid>/2013/05/10/fedora-ramdisk-creation/</guid>
      <description>&lt;p&gt;In Fedora, ramdisks are not created by default as is the case with &lt;a class=&#34;zem_slink&#34; title=&#34;Red Hat Enterprise Linux&#34; href=&#34;http://www.redhat.com/rhel&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;RHEL&lt;/a&gt;. So, if you need to get Ramdisks on Fedora, then you can do this:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install MAKEDEV&lt;/pre&gt;
&lt;p&gt;This will create some default Ramdisk’s in the “/dev” directory. Now, if you need to change anything then feel free to go to “&lt;strong&gt;/etc/makedev.d&lt;/strong&gt;” and feel free to change these files.&lt;/p&gt;
&lt;figure style=&#34;width: 269px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://en.wikipedia.org/wiki/File:Fedora_Project_logo.png&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;The Fedora Project logo&#34; alt=&#34;The Fedora Project logo&#34; src=&#34;http://upload.wikimedia.org/wikipedia/en/9/94/Fedora_Project_logo.png&#34; width=&#34;269&#34; height=&#34;116&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;The Fedora Project logo (Photo credit: Wikipedia)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul zemanta-article-ul-image&#34; style=&#34;margin: 0; padding: 0; overflow: hidden;&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;https://fedoraproject.org/w/index.php?title=User:Ktdreyer/Gitorious&amp;diff=334505&amp;oldid=324244&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i1.wp.com/i.zemanta.com/noimg_72_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;https://fedoraproject.org/w/index.php?title=User:Ktdreyer/Gitorious&amp;diff=334505&amp;oldid=324244&#34; target=&#34;_blank&#34;&gt;User:Ktdreyer/Gitorious&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://www.ryanlerch.org/blog/development-builds-of-inkscape-for-fedora/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i2.wp.com/i.zemanta.com/noimg_101_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://www.ryanlerch.org/blog/development-builds-of-inkscape-for-fedora/&#34; target=&#34;_blank&#34;&gt;Development Builds of Inkscape for fedora&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://www.happyassassin.net/2013/04/22/fedora-19-graphics-test-week-kicks-off-tomorrow/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i1.wp.com/i.zemanta.com/162355430_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://www.happyassassin.net/2013/04/22/fedora-19-graphics-test-week-kicks-off-tomorrow/&#34; target=&#34;_blank&#34;&gt;Fedora 19 Graphics Test Week kicks off tomorrow!&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>cksum – compare for multiple files.</title>
      <link>/2013/04/30/cksum-compare-multiple-files/</link>
      <pubDate>Tue, 30 Apr 2013 01:15:30 +0000</pubDate>
      
      <guid>/2013/04/30/cksum-compare-multiple-files/</guid>
      <description>&lt;p&gt;If you have to compare cksum for couple of &lt;a class=&#34;zem_slink&#34; title=&#34;Computer file&#34; href=&#34;http://en.wikipedia.org/wiki/Computer_file&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;files&lt;/a&gt;, the you know how cumbersome it is. So, I wrote a simple script, wherein you can create a file called cksums in the &lt;a class=&#34;zem_slink&#34; title=&#34;Working directory&#34; href=&#34;http://en.wikipedia.org/wiki/Working_directory&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;current directory&lt;/a&gt; and &lt;a class=&#34;zem_slink&#34; title=&#34;Cut, copy, and paste&#34; href=&#34;http://en.wikipedia.org/wiki/Cut%2C_copy%2C_and_paste&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;copy paste&lt;/a&gt; the result of  “**cksums ***”  into this file, and then run this script. Cool 🙂&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;#!/bin/bash -
#===============================================================================
#
#          FILE: checkcksums.sh
#
#         USAGE: ./checkcksums.sh
#
#   DESCRIPTION: Compare cksums of multiple files.
#
#       OPTIONS: ---
#  REQUIREMENTS: ---
#          BUGS: ---
#         NOTES: ---
#        AUTHOR: Amit Agarwal (),
#  ORGANIZATION:
#       CREATED: 02/22/2013 09:12:17 PM IST
#      REVISION:  ---
#===============================================================================

file=cksums
while read line
do
    a=( $(echo $line) )
    if [[ -f ${a[2]} ]]
    then
        b=( $(cksum ${a[2]}) )
        if [[ $a == $b ]]
        then
            echo &#34;Cksum for ${a[2]} = ${a[0]} matches&#34;
        else
            echo &#34;Failed ::Cksum for ${a[2]} = ${a[0]} matches&#34;
        fi
    else
        echo &#34;Failed :: file ${a[2]} does not exist&#34;
    fi
done &amp;lt; $file&lt;/pre&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul zemanta-article-ul-image&#34; style=&#34;margin: 0; padding: 0; overflow: hidden;&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;https://pypi.python.org/pypi/pycksum/0.4.0&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i2.wp.com/i.zemanta.com/148494503_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;https://pypi.python.org/pypi/pycksum/0.4.0&#34; target=&#34;_blank&#34;&gt;pycksum 0.4.0&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://blog.yjl.im/2013/03/checking-if-files-are-different-using.html&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i2.wp.com/i.zemanta.com/noimg_32_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://blog.yjl.im/2013/03/checking-if-files-are-different-using.html&#34; target=&#34;_blank&#34;&gt;Checking if files are different using cmp&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://www.daniweb.com/software-development/cpp/threads/451256/alternative-to-md5-hash&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i2.wp.com/i.zemanta.com/156191525_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://www.daniweb.com/software-development/cpp/threads/451256/alternative-to-md5-hash&#34; target=&#34;_blank&#34;&gt;Alternative to MD5 hash?&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/?px&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;border: none; float: right;&#34; alt=&#34;Enhanced by Zemanta&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>configure firewall – the easy way.</title>
      <link>/2013/04/24/configure-firewall-easy-way/</link>
      <pubDate>Wed, 24 Apr 2013 00:50:17 +0000</pubDate>
      
      <guid>/2013/04/24/configure-firewall-easy-way/</guid>
      <description>&lt;p&gt;It is good practice to keep iptables/&lt;a class=&#34;zem_slink&#34; title=&#34;Firewall (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/Firewall_%28computing%29&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;firewall&lt;/a&gt; enabled. But configuring it is difficult, do you agree. Not any more 🙂&lt;/p&gt;
&lt;p&gt;Install firewall-config&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install firewall-config&lt;/pre&gt;
&lt;p&gt;This will install a &lt;a class=&#34;zem_slink&#34; title=&#34;Graphical user interface&#34; href=&#34;http://en.wikipedia.org/wiki/Graphical_user_interface&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;GUI&lt;/a&gt; application, which you can run with “Firewall” application in the dash or with “firewall-config” in terminal. It is pretty straight forward to use this tool, even if you don’t have much knowledge on Firewall/iptables.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>sendmail or sending mail</title>
      <link>/2013/04/19/sendmail-sending-mail/</link>
      <pubDate>Fri, 19 Apr 2013 01:35:01 +0000</pubDate>
      
      <guid>/2013/04/19/sendmail-sending-mail/</guid>
      <description>&lt;p&gt;If you want to use &lt;a class=&#34;zem_slink&#34; title=&#34;Sendmail&#34; href=&#34;http://www.sendmail.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;sendmail&lt;/a&gt; so that you can send all your mails from the local system to your &lt;a class=&#34;zem_slink&#34; title=&#34;Email address&#34; href=&#34;http://en.wikipedia.org/wiki/Email_address&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;email address&lt;/a&gt;, then you have to use &lt;strong&gt;sendmail&lt;/strong&gt;.  Now, configuring sendmail has never been that easy and if you are working internally on your &lt;a class=&#34;zem_slink&#34; title=&#34;Campus network&#34; href=&#34;http://en.wikipedia.org/wiki/Campus_network&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;corporate network&lt;/a&gt; then for sending mails to the same domain, generally you don’t have to login. That being the case, you can use something simpler like “&lt;strong&gt;sstmp&lt;/strong&gt;“. Install ssmtp with:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>ss – anothre utility to investigate sockets.</title>
      <link>/2013/04/11/ss-anothre-utility-investigate-sockets/</link>
      <pubDate>Thu, 11 Apr 2013 01:42:04 +0000</pubDate>
      
      <guid>/2013/04/11/ss-anothre-utility-investigate-sockets/</guid>
      <description>&lt;p&gt;ss is :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;ss  is  used to dump socket statistics. It allows showing information similar to &lt;a class=&#34;zem_slink&#34; title=&#34;Netstat&#34; href=&#34;http://en.wikipedia.org/wiki/Netstat&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;netstat&lt;/a&gt;.  It can display more &lt;a class=&#34;zem_slink&#34; title=&#34;Transmission Control Protocol&#34; href=&#34;http://en.wikipedia.org/wiki/Transmission_Control_Protocol&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;TCP&lt;/a&gt; and state informationsthan other tools.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This comes in iproute package in &lt;a class=&#34;zem_slink&#34; title=&#34;Fedora (operating system)&#34; href=&#34;http://www.fedoraproject.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Fedora&lt;/a&gt;. So, to install this you would need to install “&lt;strong&gt;iproute&lt;/strong&gt;” if not installed already.&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install iproute&lt;/pre&gt;
&lt;p&gt;Now, once you have done that you can look at the man page to check what all you can see with ss. but here are some examples:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>dwb – keyboard driven browser</title>
      <link>/2013/04/08/dwb-keyboard-driven-browser/</link>
      <pubDate>Mon, 08 Apr 2013 01:35:36 +0000</pubDate>
      
      <guid>/2013/04/08/dwb-keyboard-driven-browser/</guid>
      <description>&lt;p&gt;First off, install using the command&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install dwb&lt;/pre&gt;
&lt;p&gt;Now for the description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;dwb is small webkit-based web-browser in the spirit of tiling window managers,that aims to be mostly keyboard-driven.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I liked the fact that it does well what it tries to do and pretty good at being fast.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/?px&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;border: none; float: right;&#34; alt=&#34;Enhanced by Zemanta&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>duff – find duplicate files.</title>
      <link>/2013/03/19/duff-find-duplicate-files/</link>
      <pubDate>Tue, 19 Mar 2013 11:44:38 +0000</pubDate>
      
      <guid>/2013/03/19/duff-find-duplicate-files/</guid>
      <description>&lt;p&gt;duff – description:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Description : Duff is a &lt;a class=&#34;zem_slink&#34; title=&#34;Console application&#34; href=&#34;http://en.wikipedia.org/wiki/Console_application&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;command-line utility&lt;/a&gt; for quickly finding d&lt;/p&gt;
&lt;figure style=&#34;width: 216px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://www.flickr.com/photos/36938765@N04/3402661324&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;AURA Console&#34; alt=&#34;AURA Console&#34; src=&#34;https://i2.wp.com/farm4.static.flickr.com/3664/3402661324_c0cfc8fe54_m.jpg?resize=216%2C132&#34; width=&#34;216&#34; height=&#34;132&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;AURA Console (Photo credit: jameswatts.solfenix)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;uplicates in a&lt;br&gt;
given set of files&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;and now time to execute :&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;find . -type f -print0|duff -e0|&lt;a class=&#34;zem_slink&#34; title=&#34;Xargs&#34; href=&#34;http://en.wikipedia.org/wiki/Xargs&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;xargs&lt;/a&gt; -0&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;This will print a list of duplicate files. If you directly want to delete them then you can use them in a rm command directly like ::&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>dnsmasq not starting from NetworkManager with SELinux enabled.</title>
      <link>/2013/03/16/dnsmasq-starting-networkmanager-selinux-enabled/</link>
      <pubDate>Sat, 16 Mar 2013 11:34:11 +0000</pubDate>
      
      <guid>/2013/03/16/dnsmasq-starting-networkmanager-selinux-enabled/</guid>
      <description>&lt;figure style=&#34;width: 240px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://www.flickr.com/photos/96408062@N00/3894034368&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;OpenWrt - Dnsmasq&#34; alt=&#34;OpenWrt - Dnsmasq&#34; src=&#34;https://i0.wp.com/farm3.static.flickr.com/2571/3894034368_2f9d8ec51b_m.jpg?resize=240%2C195&#34; width=&#34;240&#34; height=&#34;195&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;OpenWrt &amp;#8211; Dnsmasq (Photo credit: magicfab)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Some time back I posted on &lt;a href=&#34;http://blog.amit-agarwal.co.in/2013/01/28/dnsmasq-network-manager/&#34; title=&#34;dnsmasq – use with Network Manager.&#34;&gt;dnsmasq starting from Network Manager&lt;/a&gt; and how to &lt;a href=&#34;http://blog.amit-agarwal.co.in/2010/04/30/local-dns-server-for-faster-dns-response-time/&#34; title=&#34;Local DNS Server for faster DNS response time&#34;&gt;setup dnsmasq&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Now, couple of days back , I setup dnsmasq in &lt;a class=&#34;zem_slink&#34; title=&#34;NetworkManager&#34; href=&#34;http://projects.gnome.org/NetworkManager/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;NetworkManager&lt;/a&gt; but was astonished to see that there was no dnsmasq running. I checked with dig and saw that there was no response from localhost for &lt;a class=&#34;zem_slink&#34; title=&#34;Domain Name System&#34; href=&#34;http://en.wikipedia.org/wiki/Domain_Name_System&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;dns&lt;/a&gt; queries. Checked “ps -eaf|&lt;a class=&#34;zem_slink&#34; title=&#34;Grep&#34; href=&#34;http://en.wikipedia.org/wiki/Grep&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;grep&lt;/a&gt; dns” and found that there was no dnsmasq running. I knew that once you mention “&lt;strong&gt;dns=dnsmasq&lt;/strong&gt;” in the NetworkManager then it should start up but that was not happening. And then I checked audit log, found that some permissions were denied by &lt;a class=&#34;zem_slink&#34; title=&#34;Security-Enhanced Linux&#34; href=&#34;http://en.wikipedia.org/wiki/Security-Enhanced_Linux&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;SELinux&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>steam on Linux – for Fedora</title>
      <link>/2013/02/22/steam-linux-fedora/</link>
      <pubDate>Fri, 22 Feb 2013 00:35:25 +0000</pubDate>
      
      <guid>/2013/02/22/steam-linux-fedora/</guid>
      <description>&lt;figure style=&#34;width: 269px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://en.wikipedia.org/wiki/File:Fedora_Project_logo.png&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;The Fedora Project logo&#34; alt=&#34;The Fedora Project logo&#34; src=&#34;http://upload.wikimedia.org/wikipedia/en/9/94/Fedora_Project_logo.png&#34; width=&#34;269&#34; height=&#34;116&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;The Fedora Project logo (Photo credit: Wikipedia)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I was trying to get steam on linux on my &lt;a class=&#34;zem_slink&#34; title=&#34;Fedora (operating system)&#34; href=&#34;http://www.fedoraproject.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Fedora&lt;/a&gt; box. Headed over to steam website, but was astonished to find only &lt;a class=&#34;zem_slink&#34; title=&#34;Ubuntu (operating system)&#34; href=&#34;http://www.ubuntu.com&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Ubuntu&lt;/a&gt; client over there.  A little googling presented me with the developer website blog of &lt;a class=&#34;zem_slink&#34; title=&#34;Valve Corporation&#34; href=&#34;http://www.valvesoftware.com/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;valvesoftware.com&lt;/a&gt;. So, here is the link for you, just in case you are searching for the same:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>viewvc – serve current directory in web interface.</title>
      <link>/2013/02/18/viewvc-serve-current-directory-web-interface/</link>
      <pubDate>Mon, 18 Feb 2013 00:35:01 +0000</pubDate>
      
      <guid>/2013/02/18/viewvc-serve-current-directory-web-interface/</guid>
      <description>&lt;p&gt;Here is the description of viewvc:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;ViewVC&#34; href=&#34;http://www.viewvc.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;ViewVC&lt;/a&gt; is a browser interface for &lt;a class=&#34;zem_slink&#34; title=&#34;Concurrent Versions System&#34; href=&#34;http://savannah.nongnu.org/projects/cvs&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;CVS&lt;/a&gt; and &lt;a class=&#34;zem_slink&#34; title=&#34;Apache Subversion&#34; href=&#34;http://subversion.apache.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Subversion&lt;/a&gt; &lt;a class=&#34;zem_slink&#34; title=&#34;Revision control&#34; href=&#34;http://en.wikipedia.org/wiki/Revision_control&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;version control&lt;/a&gt;&lt;br&gt;
repositories. It generates templatized &lt;a class=&#34;zem_slink&#34; title=&#34;HTML&#34; href=&#34;http://en.wikipedia.org/wiki/HTML&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;HTML&lt;/a&gt; to present navigable directory,&lt;br&gt;
revision, and change log listings. It can display specific versions of files&lt;br&gt;
as well as &lt;a class=&#34;zem_slink&#34; title=&#34;Diff&#34; href=&#34;http://en.wikipedia.org/wiki/Diff&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;diffs&lt;/a&gt; between those versions. Basically, ViewVC provides the bulk&lt;br&gt;
of the report-like functionality you expect out of your version control tool,&lt;br&gt;
but much more prettily than the average textual &lt;a class=&#34;zem_slink&#34; title=&#34;Command-line interface&#34; href=&#34;http://en.wikipedia.org/wiki/Command-line_interface&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;command-line program&lt;/a&gt; output.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>ssh reverse tunning..</title>
      <link>/2013/02/14/ssh-reverse-tunning/</link>
      <pubDate>Thu, 14 Feb 2013 00:41:21 +0000</pubDate>
      
      <guid>/2013/02/14/ssh-reverse-tunning/</guid>
      <description>&lt;p&gt;If you want to access some local resources like the release website from the &lt;a class=&#34;zem_slink&#34; title=&#34;Server (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/Server_%28computing%29&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;remote server&lt;/a&gt; when you are connecting to the remoter server using &lt;a class=&#34;zem_slink&#34; title=&#34;Secure Shell&#34; href=&#34;http://en.wikipedia.org/wiki/Secure_Shell&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;ssh&lt;/a&gt; over &lt;a class=&#34;zem_slink&#34; title=&#34;Virtual private network&#34; href=&#34;http://en.wikipedia.org/wiki/Virtual_private_network&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;VPN&lt;/a&gt;, then possibly reverse ssh tunnelling is the best option. So, basically when you are connecting to the remote server, you tell the server your intent to do so and which local resource you want to connect to and on which port.So, here I want to connnet to google.com and tunnel the data to 192.168.131.921:9090 tthough the tunnel, then the command to use will be  ::&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>NIce backgrounds with Fedora with Yearly calnedar</title>
      <link>/2013/01/31/nice-backgrounds-fedora-yearly-calnedar/</link>
      <pubDate>Thu, 31 Jan 2013 00:27:37 +0000</pubDate>
      
      <guid>/2013/01/31/nice-backgrounds-fedora-yearly-calnedar/</guid>
      <description>&lt;p&gt;Here is something that you can try&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install yearcalendar-backgrounds&lt;/pre&gt;
&lt;p&gt;This will install 3 wallpapers with yearly calendars. There is no interesting background in the calendar but then you get the clarity since there is no background. The calendars are quite nice by the way.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>dnsmasq – use with Network Manager.</title>
      <link>/2013/01/28/dnsmasq-network-manager/</link>
      <pubDate>Mon, 28 Jan 2013 00:42:24 +0000</pubDate>
      
      <guid>/2013/01/28/dnsmasq-network-manager/</guid>
      <description>&lt;figure style=&#34;width: 221px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://roadtrafficsigns.com/RT/One-Way-Signs-An-American-History.aspx&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;Niles Machine Company&#34; alt=&#34;Niles Machine Company&#34; src=&#34;https://i1.wp.com/roadtrafficsigns.com/img/art/Niles-Machine-Company.jpg?resize=221%2C279&#34; width=&#34;221&#34; height=&#34;279&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Niles Machine Company (Photo credits: roadtrafficsigns.com)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Well if you have not heard about dnsmasq:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Dnsmasq&#34; href=&#34;http://www.thekelleys.org.uk/dnsmasq/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Dnsmasq&lt;/a&gt; is lightweight, easy to configure &lt;a class=&#34;zem_slink&#34; title=&#34;Domain Name System&#34; href=&#34;http://en.wikipedia.org/wiki/Domain_Name_System&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;DNS&lt;/a&gt; forwarder and &lt;a class=&#34;zem_slink&#34; title=&#34;Dynamic Host Configuration Protocol&#34; href=&#34;http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;DHCP server&lt;/a&gt;.&lt;br&gt;
It is designed to provide DNS and, optionally, DHCP, to a small network.&lt;br&gt;
It can serve the names of local machines which are not in the global&lt;br&gt;
DNS. The DHCP server integrates with the &lt;a class=&#34;zem_slink&#34; title=&#34;Name server&#34; href=&#34;http://en.wikipedia.org/wiki/Name_server&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;DNS server&lt;/a&gt; and allows machines&lt;br&gt;
with DHCP-allocated addresses to appear in the DNS with names configured&lt;br&gt;
either in each host or in a central &lt;a class=&#34;zem_slink&#34; title=&#34;Configuration file&#34; href=&#34;http://en.wikipedia.org/wiki/Configuration_file&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;configuration file&lt;/a&gt;. Dnsmasq supports&lt;br&gt;
static and dynamic DHCP leases and &lt;a class=&#34;zem_slink&#34; title=&#34;Bootstrap Protocol&#34; href=&#34;http://en.wikipedia.org/wiki/Bootstrap_Protocol&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;BOOTP&lt;/a&gt; for &lt;a class=&#34;zem_slink&#34; title=&#34;Network booting&#34; href=&#34;http://en.wikipedia.org/wiki/Network_booting&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;network booting&lt;/a&gt; of diskless&lt;br&gt;
machines.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>lightweight pdf viewer – zathura.</title>
      <link>/2013/01/28/lightweight-pdf-viewer-zathura/</link>
      <pubDate>Mon, 28 Jan 2013 00:11:32 +0000</pubDate>
      
      <guid>/2013/01/28/lightweight-pdf-viewer-zathura/</guid>
      <description>&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Zathura&#34; href=&#34;http://www.rottentomatoes.com/m/zathura&#34; target=&#34;_blank&#34; rel=&#34;rottentomatoes&#34;&gt;Zathura&lt;/a&gt; is a lightweight viewer for pdf which works on &lt;a class=&#34;zem_slink&#34; title=&#34;Plug-in (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/Plug-in_%28computing%29&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;plugins&lt;/a&gt;. Here is shor description :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Zathura is a highly configurable and functional PDF viewer based on the &lt;a class=&#34;zem_slink&#34; title=&#34;Poppler (software)&#34; href=&#34;http://poppler.freedesktop.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Poppler&lt;/a&gt;&lt;br&gt;
rendering library and the &lt;a class=&#34;zem_slink&#34; title=&#34;GTK+&#34; href=&#34;http://www.gtk.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;GTK+&lt;/a&gt; toolkit. The idea behind zathura is an&lt;br&gt;
application that provides a minimalist and space saving interface as well as&lt;br&gt;
an easy usage that mainly focuses on keyboard interaction.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;But the viewer will not work unless you install the plugins to display the correct plugin. So, if you want to use it for any real purposes then you will have to install the appropriate plugin as well, so here is what you need to do:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>dnstop – top like utility for Fedora and other *nix</title>
      <link>/2013/01/16/dnstop-top-utility-fedora-nix/</link>
      <pubDate>Wed, 16 Jan 2013 00:15:44 +0000</pubDate>
      
      <guid>/2013/01/16/dnstop-top-utility-fedora-nix/</guid>
      <description>&lt;p&gt;For installation :&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install dnstop&lt;/pre&gt;
&lt;p&gt;And now some description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;dnstop is a &lt;a class=&#34;zem_slink&#34; title=&#34;Pcap&#34; href=&#34;http://www.tcpdump.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;libpcap&lt;/a&gt; application (ala &lt;a class=&#34;zem_slink&#34; title=&#34;Tcpdump&#34; href=&#34;http://www.tcpdump.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;tcpdump&lt;/a&gt;) that displays various&lt;br&gt;
tables of &lt;a class=&#34;zem_slink&#34; title=&#34;Domain Name System&#34; href=&#34;http://en.wikipedia.org/wiki/Domain_Name_System&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;DNS&lt;/a&gt; traffic on your network.&lt;/p&gt;
&lt;p&gt;dnstop supports both &lt;a class=&#34;zem_slink&#34; title=&#34;IPv4&#34; href=&#34;http://en.wikipedia.org/wiki/IPv4&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;IPv4&lt;/a&gt; and &lt;a class=&#34;zem_slink&#34; title=&#34;IPv6 address&#34; href=&#34;http://en.wikipedia.org/wiki/IPv6_address&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;IPv6 addresses&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To help find especially undesirable DNS queries, dnstop provides a&lt;br&gt;
number of filters.&lt;/p&gt;
&lt;p&gt;dnstop can either read packets from the live capture device, or from a&lt;br&gt;
tcpdump savefile.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Couple of days back, I realized there was too much network activity on my&lt;br&gt;
system, although I was not doing anything. Fired up &lt;a class=&#34;zem_slink&#34; title=&#34;Wireshark&#34; href=&#34;http://www.wireshark.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;wireshark&lt;/a&gt; and to my&lt;br&gt;
astonishment, there was too much of DNS traffic on the network. But the&lt;br&gt;
problem was analyzing the data in wireshark and this is where dnstop came&lt;br&gt;
into light. It helped me narrow down the issue within minutes and problems&lt;br&gt;
resolved.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Disable a few cores when you want to save power.</title>
      <link>/2012/12/28/disable-cores-save-power/</link>
      <pubDate>Fri, 28 Dec 2012 01:23:46 +0000</pubDate>
      
      <guid>/2012/12/28/disable-cores-save-power/</guid>
      <description>&lt;p&gt;If you have a lot of &lt;a class=&#34;zem_slink&#34; title=&#34;Central processing unit&#34; href=&#34;http://en.wikipedia.org/wiki/Central_processing_unit&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;CPU&lt;/a&gt; power and working on battery. If you do not need that much of power and would like to rather save some &lt;a class=&#34;zem_slink&#34; title=&#34;Batteries drain rates infographics&#34; href=&#34;http://blog.lenovo.com/products/when-will-batteries-last-the-work-week?cid=us|425522&#34; target=&#34;_blank&#34; rel=&#34;lenovo&#34;&gt;battery power&lt;/a&gt; by disabling some cpus then you can use the below script. This script disables cpus from 4 to 7. You can change the number in the &lt;a class=&#34;zem_slink&#34; title=&#34;For loop&#34; href=&#34;http://en.wikipedia.org/wiki/For_loop&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;for loop&lt;/a&gt;. You would need the &lt;a class=&#34;zem_slink&#34; title=&#34;Sudo&#34; href=&#34;http://www.sudo.ws&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;sudo&lt;/a&gt; to be setup or remove sudo and run the script as root. The script will show you the currently active cpu’s before and after disabling the CPU’s.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Battery performance improvement with powertop and using xidel.</title>
      <link>/2012/12/24/battery-performance-improvement-powertop-xidel/</link>
      <pubDate>Mon, 24 Dec 2012 01:13:51 +0000</pubDate>
      
      <guid>/2012/12/24/battery-performance-improvement-powertop-xidel/</guid>
      <description>&lt;p&gt;For those of you, who have not heard about powertop, it is a tool to monitor the &lt;a class=&#34;zem_slink&#34; title=&#34;Electric energy consumption&#34; href=&#34;http://en.wikipedia.org/wiki/Electric_energy_consumption&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;power consumption&lt;/a&gt; on your system. It has a tab which shows the tuneable parameters. Doing the changes suggested in those would improve the life to quite an extent. Here is the description of powertop:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;PowerTOP&#34; href=&#34;http://www.lesswatts.org/projects/powertop&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;PowerTOP&lt;/a&gt; is a tool that finds the &lt;a class=&#34;zem_slink&#34; title=&#34;Component-based software engineering&#34; href=&#34;http://en.wikipedia.org/wiki/Component-based_software_engineering&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;software component&lt;/a&gt;(s) that makeyour computer use more power than necessary while it is idle.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Allow incoming/outgoing ports on iptables</title>
      <link>/2012/11/27/incomingoutgoing-ports-iptables/</link>
      <pubDate>Tue, 27 Nov 2012 00:22:23 +0000</pubDate>
      
      <guid>/2012/11/27/incomingoutgoing-ports-iptables/</guid>
      <description>&lt;figure style=&#34;width: 300px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:Netfilter-packet-flow.svg&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;Schematic for the packet flow paths through Li...&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/3/37/Netfilter-packet-flow.svg/300px-Netfilter-packet-flow.svg.png&#34; alt=&#34;Schematic for the packet flow paths through Li...&#34; width=&#34;300&#34; height=&#34;188&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Schematic for the packet flow paths through Linux networking and Xtables (Photo credit: Wikipedia)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Last couple of years, I just used to disable &lt;a class=&#34;zem_slink&#34; title=&#34;Iptables&#34; href=&#34;http://www.netfilter.org/&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;iptables&lt;/a&gt; on my system, this time I decided not to disable it and keep it enabled.&lt;/p&gt;
&lt;p&gt;So far so good, now comes the tricky part, I have http server enabled on my system and since this is on &lt;a class=&#34;zem_slink&#34; title=&#34;Local area network&#34; href=&#34;http://en.wikipedia.org/wiki/Local_area_network&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;local network&lt;/a&gt; with already firewall and other security in place so I can allow all incoming to my system and similarly I need to enable &lt;a class=&#34;zem_slink&#34; title=&#34;X display manager (program type)&#34; href=&#34;http://en.wikipedia.org/wiki/X_display_manager_%28program_type%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;XDMCP&lt;/a&gt; outgoing. So, I can add the rules like this :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Xnest – XDMCP protocol and virtual DM</title>
      <link>/2012/10/22/xnest-xdmcp-protocol-virtual-dm/</link>
      <pubDate>Mon, 22 Oct 2012 00:50:21 +0000</pubDate>
      
      <guid>/2012/10/22/xnest-xdmcp-protocol-virtual-dm/</guid>
      <description>&lt;figure style=&#34;width: 300px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:Xephyr-IceWM-Fluxbox-LinuxMint.png&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;An IceWM Xephyr session is running inside a Fl...&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Xephyr-IceWM-Fluxbox-LinuxMint.png/300px-Xephyr-IceWM-Fluxbox-LinuxMint.png&#34; alt=&#34;An IceWM Xephyr session is running inside a Fl...&#34; width=&#34;300&#34; height=&#34;169&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;An IceWM Xephyr session is running inside a Fluxbox Xephyr session, which is running inside another IceWM Xephyr session, which is running under Linux Mint 8. (Note that Fluxbox is also licensed under the MIT license by the Fluxbox developers, but IceWM is released under the GPL and LGPL by Marko Ma?ek.) (Photo credit: Wikipedia)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;&lt;a href=&#34;http://en.wikipedia.org/wiki/X_display_manager_(program_type)&#34;&gt;XDMCP&lt;/a&gt; is protocol that allows remote connections and provides you with a working Display Manager like &lt;a class=&#34;zem_slink&#34; title=&#34;KDE&#34; href=&#34;http://kde.org/&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;KDE&lt;/a&gt;, &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME&#34; href=&#34;http://www.gnome.org&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;GNome&lt;/a&gt;, et al. Its a remote connection protocol that is mostly enabled on Solaris and disabled on most Linux boxes. If you need to have a remote session where you need the X Display to open some &lt;a class=&#34;zem_slink&#34; title=&#34;Graphical user interface&#34; href=&#34;http://en.wikipedia.org/wiki/Graphical_user_interface&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;GUI&lt;/a&gt; applications then you can have a connection with the &lt;a class=&#34;zem_slink&#34; title=&#34;Server (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/Server_%28computing%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;remote server&lt;/a&gt; with XDMCP.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>meld – cvs diff with ease</title>
      <link>/2012/10/17/meld-cvs-diff-ease/</link>
      <pubDate>Wed, 17 Oct 2012 01:15:01 +0000</pubDate>
      
      <guid>/2012/10/17/meld-cvs-diff-ease/</guid>
      <description>&lt;figure style=&#34;width: 220px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:Revision_controlled_project_visualization-2010-24-02.svg&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;Visualization of the &amp;quot;history tree&amp;quot; ...&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/a/af/Revision_controlled_project_visualization-2010-24-02.svg/220px-Revision_controlled_project_visualization-2010-24-02.svg.png&#34; alt=&#34;Visualization of the &amp;quot;history tree&amp;quot; ...&#34; width=&#34;220&#34; height=&#34;540&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Visualization of the &amp;#8220;history tree&amp;#8221; of a revision controlled project, showing branching, merging, tagging, etc. (Photo credit: Wikipedia)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;There are couple of ways to make life easier with &lt;a class=&#34;zem_slink&#34; title=&#34;Concurrent Versions System&#34; href=&#34;http://savannah.nongnu.org/projects/cvs&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;CVS&lt;/a&gt; &lt;a class=&#34;zem_slink&#34; title=&#34;Diff&#34; href=&#34;http://en.wikipedia.org/wiki/Diff&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;diff&lt;/a&gt;. But here is one that is really good.&lt;br&gt;
First if you haven’t, install &lt;a class=&#34;zem_slink&#34; title=&#34;Meld (software)&#34; href=&#34;http://meld.sf.net&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;meld&lt;/a&gt;:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install meld&lt;/pre&gt;
&lt;p&gt;meld is basically a diff viewer and pretty good at it 😉&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>phpmyadmin access problem and change server from URL</title>
      <link>/2012/09/30/phpmyadmin-access-problem-change-server-url/</link>
      <pubDate>Sun, 30 Sep 2012 01:33:55 +0000</pubDate>
      
      <guid>/2012/09/30/phpmyadmin-access-problem-change-server-url/</guid>
      <description>&lt;p&gt;I was having issues with one of the phpmyadmin setups. The first &lt;a class=&#34;zem_slink&#34; title=&#34;Server (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/Server_%28computing%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;server&lt;/a&gt; defined in the &lt;a class=&#34;zem_slink&#34; title=&#34;Configuration file&#34; href=&#34;http://en.wikipedia.org/wiki/Configuration_file&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;config file&lt;/a&gt; was not accessible and the theme that I was using was not allowing me to change the server from the first page. This resulted in a state where I was not able to access phpmyadmin in any way. I could not connect to any of the servers. And thus had to hack my way in to phpmyadmin to find out how to connect to other servers from &lt;a class=&#34;zem_slink&#34; title=&#34;Uniform Resource Locator&#34; href=&#34;http://en.wikipedia.org/wiki/Uniform_Resource_Locator&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;URL&lt;/a&gt;. And here is my finding:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Shortcut to run current command with sudo in bash</title>
      <link>/2012/09/20/shortcut-run-current-command-sudo-bash/</link>
      <pubDate>Thu, 20 Sep 2012 02:27:56 +0000</pubDate>
      
      <guid>/2012/09/20/shortcut-run-current-command-sudo-bash/</guid>
      <description>&lt;p&gt;For me, I mostly forget to add “&lt;a class=&#34;zem_slink&#34; title=&#34;Sudo&#34; href=&#34;http://www.sudo.ws&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;sudo&lt;/a&gt;” to the command until the time I am actually supposed to run it. Also sometimes, on some systems, bash completion does not work as expected with “sudo”. With these in mind, I wanted something such that when I have completed the command, I could insert sudo in the begining of the command without much ado. So, finally this is what I came up with in my &lt;strong&gt;“~/.inputrc”&lt;/strong&gt; file. Note: If you don’t have this file, then simply create this file.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>snmpd -verify if the mibs are loaded.</title>
      <link>/2012/09/10/snmpd-verify-mibs-loaded/</link>
      <pubDate>Mon, 10 Sep 2012 00:38:23 +0000</pubDate>
      
      <guid>/2012/09/10/snmpd-verify-mibs-loaded/</guid>
      <description>&lt;p&gt;If you are setting up the snmpd server and have added your own mibs and do not really know if the mibs are loaded or not then simply go to the directory:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;/var/lib/net-snmp/mib-indexes&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This can save you a lot of time, if you are not getting results with snmpwalk. You can even use snmpwalk as :&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;snmpwalk -v  -c&lt;/pre&gt;
&lt;p&gt;Well, these little things can save you a lot of time 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>using iTerm color schmes with gnome-terminal.</title>
      <link>/2012/08/29/iterm-color-schmes-gnome-terminal/</link>
      <pubDate>Wed, 29 Aug 2012 00:40:02 +0000</pubDate>
      
      <guid>/2012/08/29/iterm-color-schmes-gnome-terminal/</guid>
      <description>&lt;figure style=&#34;width: 219px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://www.flickr.com/photos/35448539@N00/6365506963&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;the OS X Lion install key&#34; src=&#34;https://i2.wp.com/farm7.static.flickr.com/6096/6365506963_d61498e105_m.jpg?resize=219%2C240&#34; alt=&#34;the OS X Lion install key&#34; width=&#34;219&#34; height=&#34;240&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;the OS X Lion install key (Photo credit: blakespot)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Found this great page and thought of sharing this:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://www.sharms.org/blog/2012/08/using-iterm-2-themes-with-gnome-terminal/&#34;&gt;http://www.sharms.org/blog/2012/08/using-iterm-2-themes-with-gnome-terminal/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When using this, you will need to &lt;a class=&#34;zem_slink&#34; title=&#34;Install (Unix)&#34; href=&#34;http://en.wikipedia.org/wiki/Install_%28Unix%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;install&lt;/a&gt; :&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://github.com/caseyhoward/nokogiri-&#34;&gt;https://github.com/caseyhoward/nokogiri-&lt;/a&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Property list&#34; href=&#34;http://en.wikipedia.org/wiki/Property_list&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;plist&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and when you install this, you will find that the &lt;a class=&#34;zem_slink&#34; title=&#34;Filesystem permissions&#34; href=&#34;http://en.wikipedia.org/wiki/Filesystem_permissions&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;permissions&lt;/a&gt; for the files are not appropriately set, so go to your &lt;a class=&#34;zem_slink&#34; title=&#34;RubyGems&#34; href=&#34;http://rubygems.org&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;ruby gems&lt;/a&gt; directory or the installation directory for nokogiri-plist and change the permissions.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>script for changing gnome-terminal color schemes.</title>
      <link>/2012/08/25/script-changing-gnome-terminal-color-schemes/</link>
      <pubDate>Sat, 25 Aug 2012 00:31:51 +0000</pubDate>
      
      <guid>/2012/08/25/script-changing-gnome-terminal-color-schemes/</guid>
      <description>&lt;figure style=&#34;width: 300px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:Gnomelogo.svg&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;This is the Gnome-Logo made with vectors. GNOM...&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/6/68/Gnomelogo.svg/300px-Gnomelogo.svg.png&#34; alt=&#34;This is the Gnome-Logo made with vectors. GNOM...&#34; width=&#34;300&#34; height=&#34;364&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;This is the Gnome-Logo made with vectors. GNOME and the foot logo are trademarks of the GNOME Foundation. Español: Éste es el logo de Gnome hecho con vectores. GNOME y el logo del pie son marcas registradas de la Fundación GNOME (Photo credit: Wikipedia)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Earlier I had posted &lt;a href=&#34;http://blog.amit-agarwal.co.in/2012/08/21/gnome-terminal-color-schemes/&#34; target=&#34;_blank&#34;&gt;this&lt;/a&gt;. So, if you want to try all of these schemes, then you need not have to &lt;a class=&#34;zem_slink&#34; title=&#34;Cut, copy, and paste&#34; href=&#34;http://en.wikipedia.org/wiki/Cut%2C_copy%2C_and_paste&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;copy paste&lt;/a&gt; the schemes from the &lt;a class=&#34;zem_slink&#34; title=&#34;Web page&#34; href=&#34;http://en.wikipedia.org/wiki/Web_page&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;web page&lt;/a&gt;, you can try the below script.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>gnome-terminal color schemes.</title>
      <link>/2012/08/21/gnome-terminal-color-schemes/</link>
      <pubDate>Tue, 21 Aug 2012 01:23:17 +0000</pubDate>
      
      <guid>/2012/08/21/gnome-terminal-color-schemes/</guid>
      <description>&lt;figure style=&#34;width: 240px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://www.flickr.com/photos/90525468@N00/84319781&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;Colours&#34; src=&#34;https://i2.wp.com/farm1.static.flickr.com/41/84319781_769e3cbfc2_m.jpg?resize=240%2C182&#34; alt=&#34;Colours&#34; width=&#34;240&#34; height=&#34;182&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Colours (Photo credit: CherrySoda!)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;I was looking for a way to set the terminal &lt;a class=&#34;zem_slink&#34; title=&#34;Color&#34; href=&#34;http://en.wikipedia.org/wiki/Color&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;colors&lt;/a&gt; for gnome. There is a &lt;a class=&#34;zem_slink&#34; title=&#34;Graphical user interface&#34; href=&#34;http://en.wikipedia.org/wiki/Graphical_user_interface&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;GUI&lt;/a&gt; way to change the same by going to the &lt;em&gt;Preferences-&amp;gt;Colors&lt;/em&gt;. And then you can change the colors that you see in the color pallete in the bottom of the &lt;a class=&#34;zem_slink&#34; title=&#34;Dialog box&#34; href=&#34;http://en.wikipedia.org/wiki/Dialog_box&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;dialog box&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;But I was looking at doing it faster and better, and finally I found this page.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Different bottom panel for gnome3.</title>
      <link>/2012/08/14/bottom-panel-gnome3/</link>
      <pubDate>Tue, 14 Aug 2012 06:56:03 +0000</pubDate>
      
      <guid>/2012/08/14/bottom-panel-gnome3/</guid>
      <description>&lt;p&gt;If you miss the bottom panel on gnome3, the do give tint2 a try. Here is how this looks (by default).&lt;/p&gt;
&lt;figure id=&#34;attachment_3318&#34; aria-describedby=&#34;caption-attachment-3318&#34; style=&#34;width: 640px&#34; class=&#34;wp-caption aligncenter&#34;&gt;&lt;img class=&#34;size-full wp-image-3318&#34; title=&#34;tint2&#34; src=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2012/08/tint2.jpg?resize=640%2C342&#34; alt=&#34;tint2&#34; width=&#34;640&#34; height=&#34;342&#34; srcset=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2012/08/tint2.jpg?w=640 640w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2012/08/tint2.jpg?resize=300%2C160 300w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2012/08/tint2.jpg?resize=150%2C80 150w&#34; sizes=&#34;(max-width: 640px) 100vw, 640px&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;figcaption id=&#34;caption-attachment-3318&#34; class=&#34;wp-caption-text&#34;&gt;tint2&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>procinfo and procinfo-ng : Get system information from /proc.</title>
      <link>/2012/08/10/procinfo-procinfo-ng-system-information-proc/</link>
      <pubDate>Fri, 10 Aug 2012 06:45:37 +0000</pubDate>
      
      <guid>/2012/08/10/procinfo-procinfo-ng-system-information-proc/</guid>
      <description>&lt;figure style=&#34;width: 269px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://en.wikipedia.org/wiki/File:Fedora_Project_logo.png&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;The Fedora Project logo&#34; src=&#34;http://upload.wikimedia.org/wikipedia/en/9/94/Fedora_Project_logo.png&#34; alt=&#34;The Fedora Project logo&#34; width=&#34;269&#34; height=&#34;116&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;The Fedora Project logo (Photo credit: Wikipedia)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Install procinfo or procinfo-ng. The procinfo contains three programs :&lt;/p&gt;
&lt;p&gt;/usr/bin/lsdev&lt;br&gt;
/usr/bin/procinfo&lt;br&gt;
/usr/bin/socklist&lt;/p&gt;
&lt;p&gt;and procinfo-ng contains ::&lt;/p&gt;
&lt;p&gt;/usr/bin/procinfo-ng&lt;/p&gt;
&lt;p&gt;The description for both of them is similar ::&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Name        : procinfo-ng&lt;br&gt;
Version     : 2.0.304&lt;br&gt;
Release     : 5.fc17&lt;br&gt;
Architecture: &lt;a class=&#34;zem_slink&#34; title=&#34;P6 (microarchitecture)&#34; href=&#34;http://en.wikipedia.org/wiki/P6_%28microarchitecture%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;i686&lt;/a&gt;&lt;br&gt;
Install Date: Tue 24 Jul 2012 05:45:10 &lt;a class=&#34;zem_slink&#34; title=&#34;Program management&#34; href=&#34;http://en.wikipedia.org/wiki/Program_management&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;PM&lt;/a&gt; IST&lt;br&gt;
Group       : Applications/System&lt;br&gt;
Size        : 140366&lt;br&gt;
License     : &lt;a class=&#34;zem_slink&#34; title=&#34;GNU General Public License&#34; href=&#34;http://en.wikipedia.org/wiki/GNU_General_Public_License&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;GPLv2&lt;/a&gt; and LGPLv2&lt;br&gt;
Signature   : RSA/SHA256, Mon 12 Mar 2012 09:56:55 PM IST, Key ID 50e94c991aca3465&lt;br&gt;
&lt;a class=&#34;zem_slink&#34; title=&#34;Source code&#34; href=&#34;http://en.wikipedia.org/wiki/Source_code&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;Source&lt;/a&gt; &lt;a class=&#34;zem_slink&#34; title=&#34;RPM (magazine)&#34; href=&#34;http://www.collectionscanada.gc.ca/rpm/index-e.html&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;RPM&lt;/a&gt;  : procinfo-ng-2.0.304-5.fc17.src.rpm&lt;br&gt;
Build Date  : Wed 29 Feb 2012 02:30:54 AM IST&lt;br&gt;
Build Host  : x86-06.phx2.fedoraproject.org&lt;br&gt;
Relocations : (not relocatable)&lt;br&gt;
Packager    : &lt;a class=&#34;zem_slink&#34; title=&#34;Fedora Project&#34; href=&#34;http://fedoraproject.org&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;Fedora Project&lt;/a&gt;&lt;br&gt;
Vendor      : Fedora Project&lt;br&gt;
&lt;a class=&#34;zem_slink&#34; title=&#34;Uniform Resource Locator&#34; href=&#34;http://en.wikipedia.org/wiki/Uniform_Resource_Locator&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;URL&lt;/a&gt;         : &lt;a href=&#34;http://sourceforge.net/projects/procinfo-ng/&#34;&gt;http://sourceforge.net/projects/procinfo-ng/&lt;/a&gt;&lt;br&gt;
Summary     : Console-based system monitoring utility&lt;br&gt;
Description :&lt;br&gt;
Procinfo-NG is a &lt;a class=&#34;zem_slink&#34; title=&#34;Rewrite (programming)&#34; href=&#34;http://en.wikipedia.org/wiki/Rewrite_%28programming%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;complete rewrite&lt;/a&gt; of the old system monitoring application&lt;br&gt;
procinfo.  The goal is to make more readable (and reusable) code and to&lt;br&gt;
restore broken functionality.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Music players on Linux – the poor mans random song player.</title>
      <link>/2012/07/20/music-players-linux-poor-mans-random-song-player/</link>
      <pubDate>Fri, 20 Jul 2012 06:06:43 +0000</pubDate>
      
      <guid>/2012/07/20/music-players-linux-poor-mans-random-song-player/</guid>
      <description>&lt;p&gt;If you have more applications running on your system then your system can handle them then you know what I mean when I say that the Music Players take a lot of &lt;a class=&#34;zem_slink&#34; title=&#34;Central processing unit&#34; href=&#34;http://en.wikipedia.org/wiki/Central_processing_unit&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;CPU&lt;/a&gt;. Otherwise harmless, but when you are doing too many things, then lot of times you would feel that probably stopping the Music player might help. But then &lt;a class=&#34;zem_slink&#34; title=&#34;Linux&#34; href=&#34;http://en.wikipedia.org/wiki/Linux&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;Linux&lt;/a&gt; is all about alternatives. So, there is a &lt;a class=&#34;zem_slink&#34; title=&#34;Command-line interface&#34; href=&#34;http://en.wikipedia.org/wiki/Command-line_interface&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;command line&lt;/a&gt; player called &lt;a class=&#34;zem_slink&#34; title=&#34;Mpg123&#34; href=&#34;http://mpg123.org/&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;mpg123&lt;/a&gt;, which does not use so much CPU. But what about &lt;a class=&#34;zem_slink&#34; title=&#34;Playlist&#34; href=&#34;http://en.wikipedia.org/wiki/Playlist&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;playlist&lt;/a&gt; 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>colorgcc – Color your compiler output on Fedora</title>
      <link>/2012/07/11/colorgcc-color-compiler-output-fedora/</link>
      <pubDate>Wed, 11 Jul 2012 05:51:39 +0000</pubDate>
      
      <guid>/2012/07/11/colorgcc-color-compiler-output-fedora/</guid>
      <description>&lt;p&gt;Lets start with installing colorgcc :&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install colorgcc&lt;/pre&gt;
&lt;p&gt;Now once that is done, you will need to ensure that the call to &lt;a class=&#34;zem_slink&#34; title=&#34;GNU Compiler Collection&#34; href=&#34;http://gcc.gnu.org&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;g++&lt;/a&gt;, gcc and others that you want to use, you will need to create a link in the “~&lt;a class=&#34;zem_slink&#34; title=&#34;Filesystem Hierarchy Standard&#34; href=&#34;http://www.linuxfoundation.org/en/FHS&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;/bin&lt;/a&gt;” directory, like so:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;for i in g++ gcc c++ cc 
do
    ln -s $(which colorgcc) ~/bin/$i
done&lt;/pre&gt;
&lt;p&gt;The one liner above will create the links for &lt;strong&gt;colorgcc&lt;/strong&gt; as **** your favourite compiler in your homedir. Don’t forget to add the bin diretory to your PATH variable:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>convert word document to html</title>
      <link>/2012/06/27/convert-word-document-html/</link>
      <pubDate>Wed, 27 Jun 2012 01:45:05 +0000</pubDate>
      
      <guid>/2012/06/27/convert-word-document-html/</guid>
      <description>&lt;p&gt;First install the required package:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install wv&lt;/pre&gt;
&lt;p&gt;Description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Description : Wv is a program that understands the &lt;a class=&#34;zem_slink&#34; title=&#34;Microsoft Word&#34; href=&#34;http://office.microsoft.com/en-us/word/&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;Microsoft Word&lt;/a&gt; 6/7/8/9&lt;/dt&gt;
&lt;dd&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Binary file&#34; href=&#34;http://en.wikipedia.org/wiki/Binary_file&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;binary file format&lt;/a&gt; and is able to convert Word&lt;/dd&gt;
&lt;dd&gt;documents into &lt;a class=&#34;zem_slink&#34; title=&#34;HTML&#34; href=&#34;http://en.wikipedia.org/wiki/HTML&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;HTML&lt;/a&gt;, which can then be read with a browser.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt;And here is the list of the programs that this utility provides:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1; highlight: [6,12,13]&#34;&gt;/usr/bin/wvAbw
/usr/bin/wvCleanLatex
/usr/bin/wvConvert
/usr/bin/wvDVI
/usr/bin/wvDocBook
/usr/bin/wvHtml
/usr/bin/wvLatex
/usr/bin/wvMime
/usr/bin/wvPDF
/usr/bin/wvPS
/usr/bin/wvRTF
/usr/bin/wvSummary
/usr/bin/wvText
/usr/bin/wvVersion
/usr/bin/wvWare
/usr/bin/wvWml&lt;/pre&gt;
&lt;p&gt;So, if you want to convert a &lt;a class=&#34;zem_slink&#34; title=&#34;DOC (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/DOC_%28computing%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;doc file&lt;/a&gt; to html just do:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>tora installation on Fedora 17.</title>
      <link>/2012/06/22/tora-installation-fedora-17/</link>
      <pubDate>Fri, 22 Jun 2012 01:35:21 +0000</pubDate>
      
      <guid>/2012/06/22/tora-installation-fedora-17/</guid>
      <description>&lt;p&gt;Here are the previous links on Tora:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://blog.amit-agarwal.co.in/2012/02/09/tora-installation-fedora-16-rpm/&#34; title=&#34;Tora installation on Fedora 16 with rpm&#34;&gt;Tora on F16&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://blog.amit-agarwal.co.in/2012/02/06/tora-fedora-16-mysql-oracle/&#34; title=&#34;tora on Fedora 16 for mysql and Oracle.&#34;&gt;Tora on Fedora&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And if you are interested in installing from source then you can always use this link:&lt;br&gt;
&lt;a href=&#34;http://blog.amit-agarwal.com/2012/02/06/tora-fedora-16-mysql-oracle/&#34;&gt;http://blog.amit-agarwal.com/2012/02/06/tora-fedora-16-mysql-oracle/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;And if you are interested in just installing it then you can always do:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;rpm -ivh &#34;http://amit-agarwal.co.in/mystuff/tora-2.1.3-1.fc17.i686.rpm&#34;&lt;/pre&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul zemanta-article-ul-image&#34; style=&#34;margin-left: 0px;&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;overflow: hidden; list-style: none outside none; margin-top: 10px;&#34;&gt;
    &lt;a href=&#34;http://blog.amit-agarwal.co.in/2012/05/15/upgrade-fedora-17-16/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0px; margin: 0px 10px 10px 0px; border: 0px none; display: block; float: left;&#34; src=&#34;https://i2.wp.com/i.zemanta.com/noimg_18_80_80.jpg?w=688&#34; alt=&#34;&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block;&#34; href=&#34;http://blog.amit-agarwal.co.in/2012/05/15/upgrade-fedora-17-16/&#34; target=&#34;_blank&#34;&gt;Upgrade to Fedora 17 from 16.&lt;/a&gt;&lt;span style=&#34;display: block; font-size: 12px; margin: 10px 0px;&#34;&gt;(amit-agarwal.co.in)&lt;/span&gt; &lt;div style=&#34;clear: both;&#34;&gt;
      &lt;hr style=&#34;margin: 0px;&#34; /&gt;
    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;overflow: hidden; list-style: none outside none; margin-top: 10px;&#34;&gt;
    &lt;a href=&#34;http://kparal.wordpress.com/2012/05/31/fedora-17-warning-kernel-panic-after-upgrade-part-2/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0px; margin: 0px 10px 10px 0px; border: 0px none; display: block; float: left;&#34; src=&#34;https://i0.wp.com/i.zemanta.com/91821684_80_80.jpg?w=688&#34; alt=&#34;&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block;&#34; href=&#34;http://kparal.wordpress.com/2012/05/31/fedora-17-warning-kernel-panic-after-upgrade-part-2/&#34; target=&#34;_blank&#34;&gt;Fedora 17 warning: kernel panic after upgrade (part 2)&lt;/a&gt;&lt;span style=&#34;display: block; font-size: 12px; margin: 10px 0px;&#34;&gt;(kparal.wordpress.com)&lt;/span&gt; &lt;div style=&#34;clear: both;&#34;&gt;
      &lt;hr style=&#34;margin: 0px;&#34; /&gt;
    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;overflow: hidden; list-style: none outside none; margin-top: 10px;&#34;&gt;
    &lt;a href=&#34;http://loviniltra.com/fix-fedora-17-kernel-panic-after-preupgrade/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0px; margin: 0px 10px 10px 0px; border: 0px none; display: block; float: left;&#34; src=&#34;https://i1.wp.com/i.zemanta.com/91776489_80_80.jpg?w=688&#34; alt=&#34;&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block;&#34; href=&#34;http://loviniltra.com/fix-fedora-17-kernel-panic-after-preupgrade/&#34; target=&#34;_blank&#34;&gt;Fix Fedora 17 Kernel Panic after Preupgrade&lt;/a&gt;&lt;span style=&#34;display: block; font-size: 12px; margin: 10px 0px;&#34;&gt;(loviniltra.com)&lt;/span&gt; &lt;div style=&#34;clear: both;&#34;&gt;
      &lt;hr style=&#34;margin: 0px;&#34; /&gt;
    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/?px&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>rpmconf – Tool to handle rpmsave and rpmnew files</title>
      <link>/2012/06/18/rpmconf-tool-handle-rpmsave-rpmnew-files/</link>
      <pubDate>Mon, 18 Jun 2012 02:18:40 +0000</pubDate>
      
      <guid>/2012/06/18/rpmconf-tool-handle-rpmsave-rpmnew-files/</guid>
      <description>&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Install (Unix)&#34; href=&#34;http://en.wikipedia.org/wiki/Install_%28Unix%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;Install&lt;/a&gt; the utility:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install rpmconf&lt;/pre&gt;
&lt;p&gt;Description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Description : This tool search for .rpmnew, .rpmsave and .rpmorig files and ask you what to do&lt;/dt&gt;
&lt;dd&gt;with them:&lt;/dd&gt;
&lt;dd&gt;Keep current version, place back old version, watch the diff or merge.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt;And finally run the utility:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo rpmconf -a&lt;/pre&gt;
&lt;p&gt;and if there is a conflict or rpmsave or rpmnew file, then you will see something like this:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>symlinks -delete all invalid soft links in Linux/Fedora</title>
      <link>/2012/06/12/symlinks-delete-invalid-soft-links-linuxfedora/</link>
      <pubDate>Tue, 12 Jun 2012 01:05:34 +0000</pubDate>
      
      <guid>/2012/06/12/symlinks-delete-invalid-soft-links-linuxfedora/</guid>
      <description>&lt;p&gt;First of all, install symlinks if it is not installed :&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install symlinks&lt;/pre&gt;
&lt;p&gt;and here is the description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Description : The symlinks utility performs maintenance on &lt;a class=&#34;zem_slink&#34; title=&#34;Symbolic link&#34; href=&#34;http://en.wikipedia.org/wiki/Symbolic_link&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;symbolic links&lt;/a&gt;.&lt;/dt&gt;
&lt;dd&gt;Symlinks checks for symlink problems, including dangling symlinks&lt;/dd&gt;
&lt;dd&gt;which point to nonexistent files.  Symlinks can also automatically&lt;/dd&gt;
&lt;dd&gt;convert absolute symlinks to relative symlinks.&lt;/dd&gt;
&lt;dd&gt;&lt;/dd&gt;
&lt;dd&gt;Install the symlinks package if you need a program for maintaining&lt;/dd&gt;
&lt;dd&gt;symlinks on your system.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt;and the help for the same:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>unable to browse windows network with samba4</title>
      <link>/2012/05/27/unable-browse-windows-network-samba4/</link>
      <pubDate>Sun, 27 May 2012 15:40:58 +0000</pubDate>
      
      <guid>/2012/05/27/unable-browse-windows-network-samba4/</guid>
      <description>&lt;p&gt;I use &lt;a class=&#34;zem_slink&#34; title=&#34;Fedora (operating system)&#34; href=&#34;http://www.fedoraproject.org/&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;Fedora&lt;/a&gt; 17 on my work laptop and thus need to connect to windows share sometimes. After I upgraded to Fedora 17 some time, I was unable to browse the windows network. I would get all kind of errors and warnings and tried everything that I knew about Samba to fix the issue. Tried searching through all the forums to figure out what was wrong but nothing helped. And suddenly today I resolved it and guess how:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Upgrade to Fedora 17 from 16.</title>
      <link>/2012/05/15/upgrade-fedora-17-16/</link>
      <pubDate>Tue, 15 May 2012 15:31:50 +0000</pubDate>
      
      <guid>/2012/05/15/upgrade-fedora-17-16/</guid>
      <description>&lt;p&gt;As usual time in couple of days to &lt;a class=&#34;zem_slink&#34; title=&#34;Upgrade&#34; href=&#34;http://en.wikipedia.org/wiki/Upgrade&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;upgrade&lt;/a&gt; to &lt;a class=&#34;zem_slink&#34; title=&#34;Fedora (operating system)&#34; href=&#34;http://www.fedoraproject.org/&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;Fedora&lt;/a&gt; 17. &lt;a href=&#34;http://fedoraproject.org/wiki/Releases/17/Schedule&#34;&gt;Release schedule&lt;/a&gt; is for 05/22 and so its just around the corner. So, if you are looking at upgrading using &lt;a class=&#34;zem_slink&#34; title=&#34;Yellowdog Updater, Modified&#34; href=&#34;http://yum.baseurl.org/&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;yum&lt;/a&gt;, then make sure that you visit this &lt;a href=&#34;http://fedoraproject.org/wiki/Upgrading_Fedora_using_yum#Fedora_16_-.3E_Fedora_17&#34;&gt;page&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There are some changes in latest version that will not allow you to upgrade without executing few commands manually and that page lists them. And if you are too brave and just want the steps and the command then here it is:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Display X applications from virtual terminals</title>
      <link>/2012/05/03/display-applications-virtual-terminals/</link>
      <pubDate>Thu, 03 May 2012 12:05:37 +0000</pubDate>
      
      <guid>/2012/05/03/display-applications-virtual-terminals/</guid>
      <description>&lt;figure style=&#34;width: 206px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://www.flickr.com/photos/73617363@N00/2243295082&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;GNOME Session plugin&#34; src=&#34;https://i0.wp.com/farm3.static.flickr.com/2334/2243295082_f55ebc9d83_m.jpg?resize=206%2C240&#34; alt=&#34;GNOME Session plugin&#34; width=&#34;206&#34; height=&#34;240&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;GNOME Session plugin (Photo credit: David Siegel)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Here is a script that can help you set the proper envirionment to start a &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME Shell&#34; href=&#34;http://live.gnome.org/GnomeShell&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;gnome-shell&lt;/a&gt; from one of the terminals.&lt;/p&gt;
&lt;pre class=&#34;Comment&#34;&gt;&lt;span class=&#34;Comment&#34;&gt;#!/bin/bash - &lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;#===============================================================================&lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;#&lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# FILE: xenv.sh&lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# &lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# USAGE: ./xenv.sh &lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# &lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# DESCRIPTION: &lt;a href=&#34;http://live.gnome.org/GnomeShell/Debugging&#34;&gt;http://live.gnome.org/GnomeShell/Debugging&lt;/a&gt;&lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;#&lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# &lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# OPTIONS: ---&lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# REQUIREMENTS: ---&lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# BUGS: ---&lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# NOTES: ---&lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# AUTHOR: Amit Agarwal (aka), amit.agarwal@roamware.com&lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# CREATED: 09/14/2011 04:45:31 PM &lt;a class=&#34;zem_slink&#34; title=&#34;Indian Standard Time&#34; href=&#34;http://en.wikipedia.org/wiki/Indian_Standard_Time&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;IST&lt;/a&gt;&lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# Last modified: Wed Sep 14, 2011 04:45PM&lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;# REVISION: ---&lt;/span&gt;
&lt;span class=&#34;Comment&#34;&gt;#===============================================================================&lt;/span&gt;

&lt;span class=&#34;Identifier&#34;&gt;gnome_session&lt;/span&gt;=&lt;span class=&#34;PreProc&#34;&gt;$(&lt;/span&gt;&lt;span class=&#34;Special&#34;&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Pgrep&#34; href=&#34;http://en.wikipedia.org/wiki/Pgrep&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;pgrep&lt;/a&gt; -u &lt;/span&gt;&lt;span class=&#34;PreProc&#34;&gt;$USER&lt;/span&gt;&lt;span class=&#34;Special&#34;&gt; gnome-session&lt;/span&gt;&lt;span class=&#34;PreProc&#34;&gt;)&lt;/span&gt;
&lt;span class=&#34;Statement&#34;&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Eval&#34; href=&#34;http://en.wikipedia.org/wiki/Eval&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;eval&lt;/a&gt;&lt;/span&gt; &lt;span class=&#34;Statement&#34;&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Export&#34; href=&#34;http://en.wikipedia.org/wiki/Export&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;export&lt;/a&gt;&lt;/span&gt;&lt;span class=&#34;PreProc&#34;&gt;$(&lt;/span&gt;&lt;span class=&#34;Statement&#34;&gt;sed&lt;/span&gt;&lt;span class=&#34;Normal&#34;&gt;&#39;&lt;/span&gt;&lt;span class=&#34;String&#34;&gt;s/\o000/\n/g;&lt;/span&gt;&lt;span class=&#34;Normal&#34;&gt;&#39;&lt;/span&gt;&lt;span class=&#34;Special&#34;&gt; &amp;lt; &lt;a class=&#34;zem_slink&#34; title=&#34;Procfs&#34; href=&#34;http://en.wikipedia.org/wiki/Procfs&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;/proc/&lt;/a&gt;&lt;/span&gt;&lt;span class=&#34;PreProc&#34;&gt;$gnome_session&lt;/span&gt;&lt;span class=&#34;Special&#34;&gt;/environ &lt;/span&gt;&lt;span class=&#34;Normal&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;Statement&#34;&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Grep&#34; href=&#34;http://en.wikipedia.org/wiki/Grep&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;grep&lt;/a&gt;&lt;/span&gt;&lt;span class=&#34;Special&#34;&gt; DISPLAY&lt;/span&gt;&lt;span class=&#34;PreProc&#34;&gt;)&lt;/span&gt;
&lt;span class=&#34;Statement&#34;&gt;eval&lt;/span&gt; &lt;span class=&#34;Statement&#34;&gt;export&lt;/span&gt;&lt;span class=&#34;PreProc&#34;&gt;$(&lt;/span&gt;&lt;span class=&#34;Statement&#34;&gt;sed&lt;/span&gt;&lt;span class=&#34;Normal&#34;&gt;&#39;&lt;/span&gt;&lt;span class=&#34;String&#34;&gt;s/\o000/\n/g;&lt;/span&gt;&lt;span class=&#34;Normal&#34;&gt;&#39;&lt;/span&gt;&lt;span class=&#34;Special&#34;&gt; &amp;lt; /proc/&lt;/span&gt;&lt;span class=&#34;PreProc&#34;&gt;$gnome_session&lt;/span&gt;&lt;span class=&#34;Special&#34;&gt;/environ &lt;/span&gt;&lt;span class=&#34;Normal&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;Statement&#34;&gt;grep&lt;/span&gt;&lt;span class=&#34;Special&#34;&gt; XAUTHORITY&lt;/span&gt;&lt;span class=&#34;PreProc&#34;&gt;)&lt;/span&gt;
&lt;span class=&#34;Statement&#34;&gt;eval&lt;/span&gt; &lt;span class=&#34;Statement&#34;&gt;export&lt;/span&gt;&lt;span class=&#34;PreProc&#34;&gt;$(&lt;/span&gt;&lt;span class=&#34;Statement&#34;&gt;sed&lt;/span&gt;&lt;span class=&#34;Normal&#34;&gt;&#39;&lt;/span&gt;&lt;span class=&#34;String&#34;&gt;s/\o000/\n/g;&lt;/span&gt;&lt;span class=&#34;Normal&#34;&gt;&#39;&lt;/span&gt;&lt;span class=&#34;Special&#34;&gt; &amp;lt; /proc/&lt;/span&gt;&lt;span class=&#34;PreProc&#34;&gt;$gnome_session&lt;/span&gt;&lt;span class=&#34;Special&#34;&gt;/environ &lt;/span&gt;&lt;span class=&#34;Normal&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;Statement&#34;&gt;grep&lt;/span&gt;&lt;span class=&#34;Special&#34;&gt; DBUS_SESSION_BUS_ADDRESS&lt;/span&gt;&lt;span class=&#34;PreProc&#34;&gt;)&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;So, once you have done that you have the correct environment to use the X display and thus you can start the gnome-shell as well or do any other fancy thing that you want 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>colors in bash scripts</title>
      <link>/2012/04/30/colors-bash-scripts/</link>
      <pubDate>Mon, 30 Apr 2012 03:52:29 +0000</pubDate>
      
      <guid>/2012/04/30/colors-bash-scripts/</guid>
      <description>&lt;figure style=&#34;width: 240px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://www.flickr.com/photos/90525468@N00/84319781&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;Colours&#34; src=&#34;https://i2.wp.com/farm1.static.flickr.com/41/84319781_769e3cbfc2_m.jpg?resize=240%2C182&#34; alt=&#34;Colours&#34; width=&#34;240&#34; height=&#34;182&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Colours (Photo credit: CherrySoda!)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;I have been trying to understand the &lt;a class=&#34;zem_slink&#34; title=&#34;Color code&#34; href=&#34;http://en.wikipedia.org/wiki/Color_code&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;color codes&lt;/a&gt; for &lt;a class=&#34;zem_slink&#34; title=&#34;Bash (Unix shell)&#34; href=&#34;http://www.gnu.org/software/bash/&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;bash&lt;/a&gt; for a pretty long time, but somehow never got time to understand this clearly. So this time around when I was writing a &lt;a class=&#34;zem_slink&#34; title=&#34;Screenplay&#34; href=&#34;http://en.wikipedia.org/wiki/Screenplay&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;script&lt;/a&gt; to analyze some logs. I thought I will give it a go and finally understood some part of this.&lt;/p&gt;
&lt;p&gt;So, first we will start with this script. This is taken from &lt;a href=&#34;http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>systemadm – simpler way to manage the service files for systemd</title>
      <link>/2012/04/17/systemadm-simpler-manage-service-files-systemd/</link>
      <pubDate>Tue, 17 Apr 2012 02:43:09 +0000</pubDate>
      
      <guid>/2012/04/17/systemadm-simpler-manage-service-files-systemd/</guid>
      <description>&lt;p&gt;Once the &lt;a class=&#34;zem_slink&#34; title=&#34;Systemd&#34; href=&#34;http://freedesktop.org/wiki/Software/systemd/&#34; target=&#34;_blank&#34; rel=&#34;homepage noopener&#34;&gt;systemd&lt;/a&gt; unit and service files have come into being, understanding of the system services have changed a little bit and it might require some time to understand the cli tools for managing these services and units. That being the case, &lt;strong&gt;systemadm&lt;/strong&gt; comes to rescue. This is a simple tool which :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Graphical front-end for systemd.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;For installation :&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install systemd-gtk&lt;/pre&gt;
&lt;p&gt;And here’s a screenshot::&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Your own local search engine.</title>
      <link>/2012/04/09/local-search-engine/</link>
      <pubDate>Mon, 09 Apr 2012 02:31:17 +0000</pubDate>
      
      <guid>/2012/04/09/local-search-engine/</guid>
      <description>&lt;p&gt;There are times when you would want to have a &lt;a class=&#34;zem_slink&#34; title=&#34;Local search (Internet)&#34; href=&#34;http://en.wikipedia.org/wiki/Local_search_%28Internet%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;local search engine&lt;/a&gt; capable of indexing even pdf and doc files. So here is a solution.&lt;/p&gt;
&lt;p&gt;You can use “Omega” and here are the instructions.&lt;/p&gt;
&lt;p&gt;download omega from &lt;a href=&#34;http://xapian.org/download&#34;&gt;http:// xapian.org/download&lt;/a&gt;&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;yum install xapian libuuid-devel&lt;/pre&gt;
&lt;p&gt;And then make and install omega and for this you can follow the &lt;a href=&#34;http://trac.xapian.org/wiki/OmegaExample&#34;&gt;instructions&lt;/a&gt;.&lt;/p&gt;
&lt;figure style=&#34;width: 300px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:Fed_search.png&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;Federated Search Engine Diagram&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Fed_search.png/300px-Fed_search.png&#34; alt=&#34;Federated Search Engine Diagram&#34; width=&#34;300&#34; height=&#34;204&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Federated Search Engine Diagram (Photo credit: Wikipedia)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Create index using command omindex&lt;br&gt;
and then you can use quest or search.py to search or you can setup the cgi way so that you can use local browser to search.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>uptimed – keep track of your system uptime.</title>
      <link>/2012/04/02/uptimed-track-system-uptime/</link>
      <pubDate>Mon, 02 Apr 2012 07:34:34 +0000</pubDate>
      
      <guid>/2012/04/02/uptimed-track-system-uptime/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Uptimed is an up time record daemon keeping track of the highest&lt;br&gt;
up times the system ever had.&lt;/p&gt;
&lt;p&gt;Uptimed has the ability to inform you of records and milestones&lt;br&gt;
though syslog and e-mail, and comes with a console front end to&lt;br&gt;
parse the records, which can also easily be used to show your&lt;br&gt;
records on your &lt;a class=&#34;zem_slink&#34; title=&#34;Web page&#34; href=&#34;http://en.wikipedia.org/wiki/Web_page&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;Web page&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Installation (computer programs)&#34; href=&#34;http://en.wikipedia.org/wiki/Installation_%28computer_programs%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;Installation&lt;/a&gt; :&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install uptimed&lt;/pre&gt;
&lt;p&gt;Once installed, you will have to first create the boot id with this command:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>pigz -parallel gzip</title>
      <link>/2012/03/26/pigz-parallel-gzip/</link>
      <pubDate>Mon, 26 Mar 2012 14:32:33 +0000</pubDate>
      
      <guid>/2012/03/26/pigz-parallel-gzip/</guid>
      <description>&lt;p&gt;Here is a short description of pigz:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;pigz, which stands for parallel implementation of &lt;a class=&#34;zem_slink&#34; title=&#34;Gzip&#34; href=&#34;http://www.gzip.org/&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;gzip&lt;/a&gt;,&lt;br&gt;
is a fully functional replacement for gzip that exploits&lt;br&gt;
multiple processors and multiple cores to the hilt when compressing data.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And for the installation:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install pigz&lt;/pre&gt;
&lt;p&gt;With pigz, if you don’t have many things running on your &lt;a class=&#34;zem_slink&#34; title=&#34;Multiprocessing&#34; href=&#34;http://en.wikipedia.org/wiki/Multiprocessing&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;multi processor&lt;/a&gt; machine then you will see a significant improvement when you are gzipping the files.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>cream bash ide – vim with bash support</title>
      <link>/2012/03/14/cream-bash-ide-vim-bash-support/</link>
      <pubDate>Wed, 14 Mar 2012 06:16:48 +0000</pubDate>
      
      <guid>/2012/03/14/cream-bash-ide-vim-bash-support/</guid>
      <description>&lt;p&gt; &lt;/p&gt;
&lt;figure style=&#34;width: 300px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:Vim.png&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;English: Screenshot of graphical vim (gvim) sh...&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/2/28/Vim.png/300px-Vim.png&#34; alt=&#34;English: Screenshot of graphical vim (gvim) sh...&#34; width=&#34;300&#34; height=&#34;312&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image via Wikipedia&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;&lt;a href=&#34;http://sourceforge.net/projects/cream-bash-ide/&#34;&gt;Here&lt;/a&gt; you can find the cream editor. This is basically &lt;a class=&#34;zem_slink&#34; title=&#34;Vim (text editor)&#34; href=&#34;http://www.vim.org&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;vim editor&lt;/a&gt; with lots of customizations thus making it simpler for the users to use the editor directly.&lt;/p&gt;
&lt;p&gt;This version already has the bash and perl support &lt;a class=&#34;zem_slink&#34; title=&#34;Plug-in (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/Plug-in_%28computing%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;plugins&lt;/a&gt; and thus you can start using them as &lt;a class=&#34;zem_slink&#34; title=&#34;Integrated development environment&#34; href=&#34;http://en.wikipedia.org/wiki/Integrated_development_environment&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;IDE&lt;/a&gt; without the need to add any plugins. It has a simple and advanced mode. In the simple mode you need not worry about all the modes of the vi/vim editor. How cool is that 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Setup your own RFC Editor for Linux.</title>
      <link>/2012/03/05/setup-rfc-editor-linux/</link>
      <pubDate>Mon, 05 Mar 2012 11:51:54 +0000</pubDate>
      
      <guid>/2012/03/05/setup-rfc-editor-linux/</guid>
      <description>&lt;figure style=&#34;width: 249px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:Tux-shaded.svg&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;Tux, the Linux penguin&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/0/0a/Tux-shaded.svg/249px-Tux-shaded.svg.png&#34; alt=&#34;Tux, the Linux penguin&#34; width=&#34;249&#34; height=&#34;297&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image via Wikipedia&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Well, if you are a professional who has to keep referring to &lt;a class=&#34;zem_slink&#34; title=&#34;Request for Comments&#34; href=&#34;http://en.wikipedia.org/wiki/Request_for_Comments&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;RFC&lt;/a&gt;, then you know how good it would be to have the RFC &lt;a class=&#34;zem_slink&#34; title=&#34;Uploading and downloading&#34; href=&#34;http://en.wikipedia.org/wiki/Uploading_and_downloading&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;downloaded&lt;/a&gt; and kept in your computer. But then unless you can search it and use and editor with it, its of not much use. So, here is something  that you can do :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Check out all the colors on you X window system.</title>
      <link>/2012/02/24/check-colors-window-system/</link>
      <pubDate>Fri, 24 Feb 2012 05:12:52 +0000</pubDate>
      
      <guid>/2012/02/24/check-colors-window-system/</guid>
      <description>&lt;p&gt;If you ever wondered what combination of some colors would look like but did not really feel like setting them in your &lt;a class=&#34;zem_slink&#34; title=&#34;Xterm&#34; href=&#34;http://invisible-island.net/xterm/&#34; rel=&#34;homepage&#34;&gt;xterm&lt;/a&gt; just to check them out. Or if you wanted to know about all the colors on you &lt;a class=&#34;zem_slink&#34; title=&#34;X Window System&#34; href=&#34;http://en.wikipedia.org/wiki/X_Window_System&#34; rel=&#34;wikipedia&#34;&gt;X window system&lt;/a&gt; then you can install this utility called xcolorsel.&lt;/p&gt;
&lt;figure id=&#34;attachment_3159&#34; aria-describedby=&#34;caption-attachment-3159&#34; style=&#34;width: 300px&#34; class=&#34;wp-caption aligncenter&#34;&gt;[&lt;img class=&#34;size-medium wp-image-3159&#34; title=&#34;xcolorsel&#34; src=&#34;https://i1.wp.com/blog.amit-agarwal.com/wp-content/uploads/2012/02/xcolorsel-300x198.png?resize=300%2C198&#34; alt=&#34;xcolorsel&#34; width=&#34;300&#34; height=&#34;198&#34; srcset=&#34;https://i1.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2012/02/xcolorsel.png?resize=300%2C198 300w, https://i1.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2012/02/xcolorsel.png?resize=150%2C99 150w, https://i1.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2012/02/xcolorsel.png?w=737 737w&#34; sizes=&#34;(max-width: 300px) 100vw, 300px&#34; data-recalc-dims=&#34;1&#34; /&gt;][1]&lt;figcaption id=&#34;caption-attachment-3159&#34; class=&#34;wp-caption-text&#34;&gt;xcolorsel&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;You will need to setup the &lt;a href=&#34;http://blog.amit-agarwal.com/2012/01/18/interesting-repository-fedora/&#34; title=&#34;Interesting repository for Fedora.&#34;&gt;rpm-shere&lt;/a&gt; repo for this.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>glances – Get a glimpse of the whole system</title>
      <link>/2012/02/21/glances-glimpse-system/</link>
      <pubDate>Tue, 21 Feb 2012 04:42:41 +0000</pubDate>
      
      <guid>/2012/02/21/glances-glimpse-system/</guid>
      <description>&lt;p&gt;You would have used top at some point of time. Did you not wish that instead of just the processes it list all the vital statistics of the system as a whole. How good it would be to see the Memory, Net, Processes and &lt;a class=&#34;zem_slink&#34; title=&#34;Du (Unix)&#34; href=&#34;http://en.wikipedia.org/wiki/Du_%28Unix%29&#34; rel=&#34;wikipedia&#34;&gt;Disk usage&lt;/a&gt; on the same screen. Well then you should take a look at glances. Here is how it looks:&lt;/p&gt;
&lt;figure id=&#34;attachment_3156&#34; aria-describedby=&#34;caption-attachment-3156&#34; style=&#34;width: 300px&#34; class=&#34;wp-caption aligncenter&#34;&gt;[&lt;img class=&#34;size-medium wp-image-3156&#34; title=&#34;glances&#34; src=&#34;https://i2.wp.com/blog.amit-agarwal.com/wp-content/uploads/2012/02/glances-300x201.png?resize=300%2C201&#34; alt=&#34;glances&#34; width=&#34;300&#34; height=&#34;201&#34; srcset=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2012/02/glances.png?resize=300%2C201 300w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2012/02/glances.png?resize=150%2C100 150w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2012/02/glances.png?w=581 581w&#34; sizes=&#34;(max-width: 300px) 100vw, 300px&#34; data-recalc-dims=&#34;1&#34; /&gt;][1]&lt;figcaption id=&#34;caption-attachment-3156&#34; class=&#34;wp-caption-text&#34;&gt;glances&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;For using this tool, here is what you need to do :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Tora installation on Fedora 16 with rpm</title>
      <link>/2012/02/09/tora-installation-fedora-16-rpm/</link>
      <pubDate>Thu, 09 Feb 2012 05:47:04 +0000</pubDate>
      
      <guid>/2012/02/09/tora-installation-fedora-16-rpm/</guid>
      <description>&lt;figure style=&#34;width: 128px&#34; class=&#34;wp-caption alignright&#34;&gt;[&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;TOra&#34; src=&#34;http://upload.wikimedia.org/wikipedia/en/a/a9/TOra.png&#34; alt=&#34;TOra&#34; width=&#34;128&#34; height=&#34;128&#34; /&gt;][1]&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image via Wikipedia&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Last article I talked about tora installation from the sources, but if that is too much for you then you can use this one liner:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;rpm -ivh &#34;http://amit-agarwal.co.in/mystuff/tora-2.1.3-1.fc16.i686.rpm&#34;&lt;/pre&gt;
&lt;p&gt;But if you like the hard way out, then you can always try &lt;a href=&#34;http://blog.amit-agarwal.com/2012/02/06/tora-fedora-16-mysql-oracle/&#34;&gt;this&lt;/a&gt;.&lt;/p&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;https://gryphon143.wordpress.com/2011/06/30/test/&#34;&gt;Unrar in Fedora&amp;#8230;&lt;/a&gt; (gryphon143.wordpress.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://funsurf.wordpress.com/2011/09/26/fedora-utils-just-got-easier/&#34;&gt;Fedora Utils just got easier&lt;/a&gt; (funsurf.wordpress.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://blog.amit-agarwal.co.in/2011/12/07/rpmorphan-deborphan-rpm-based-distros/&#34;&gt;rpmorphan &amp;#8211; deborphan for the rpm based distros.&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>tora on Fedora 16 for mysql and Oracle.</title>
      <link>/2012/02/06/tora-fedora-16-mysql-oracle/</link>
      <pubDate>Mon, 06 Feb 2012 05:30:45 +0000</pubDate>
      
      <guid>/2012/02/06/tora-fedora-16-mysql-oracle/</guid>
      <description>&lt;p&gt;Sometime back I had posted a &lt;a href=&#34;http://blog.amit-agarwal.com/2010/06/22/oracle-gui-client-on-linux-with-mysql-support/&#34; title=&#34;Oracle GUI client on Linux with mysql support&#34;&gt;article&lt;/a&gt; on &lt;a class=&#34;zem_slink&#34; title=&#34;TOra&#34; href=&#34;http://tora.sourceforge.net&#34; rel=&#34;homepage&#34;&gt;Tora&lt;/a&gt; on &lt;a class=&#34;zem_slink&#34; title=&#34;Fedora (operating system)&#34; href=&#34;http://www.fedoraproject.org/&#34; rel=&#34;homepage&#34;&gt;Fedora&lt;/a&gt;. But that was a while back and things have progressed and we already have Fedora 16 (aka Verne).&lt;/p&gt;
&lt;p&gt;So, awhile back I installed Tora on my Fedora 16 and here are the steps to do so:&lt;/p&gt;
&lt;p&gt;First get the Tora sources from &lt;a href=&#34;http://sourceforge.net/projects/tora/&#34;&gt;sourceforge.net&lt;/a&gt; . Download the source &lt;a class=&#34;zem_slink&#34; title=&#34;Tar (file format)&#34; href=&#34;http://en.wikipedia.org/wiki/Tar_%28file_format%29&#34; rel=&#34;wikipedia&#34;&gt;tar file&lt;/a&gt; and extract the same.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Set gnome-shell to start in fallback mode without GUI.</title>
      <link>/2012/01/26/set-gnome-shell-start-fallback-mode-gui/</link>
      <pubDate>Thu, 26 Jan 2012 13:05:25 +0000</pubDate>
      
      <guid>/2012/01/26/set-gnome-shell-start-fallback-mode-gui/</guid>
      <description>&lt;p&gt;If you run into issues with &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME Shell&#34; href=&#34;http://live.gnome.org/GnomeShell&#34; rel=&#34;homepage&#34;&gt;gnome-shell&lt;/a&gt; then gnome-shell should allow you to disable all the plugins and get the gnome-shell. But since gnome-shell is still evolving, you might run into issue where the shell does not come up. What to do in that case. You can set the shell to start in fallback mode, where there are more chances that it will come up.&lt;/p&gt;
&lt;p&gt;Alas, but you don’t have a shell or desktop session to do that. Simple, start the gnome-shell and before it is killed, do this:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Color disk usage on Fedora</title>
      <link>/2012/01/21/color-disk-usage-fedora/</link>
      <pubDate>Sat, 21 Jan 2012 12:43:40 +0000</pubDate>
      
      <guid>/2012/01/21/color-disk-usage-fedora/</guid>
      <description>&lt;p&gt;For this tip, you would need to setup the rpm-shere repository. You can get the information &lt;a href=&#34;http://blog.amit-agarwal.com/2012/01/18/interesting-repository-fedora/&#34;&gt;here&lt;/a&gt;. Once you have done that you need to install the cdu package with the following command:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install cdu&lt;/pre&gt;
&lt;p&gt;And then you can use “cdu” to view the disk usage in all beautiful colors with the command:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;cdu&lt;/pre&gt;
&lt;p&gt;and the output looks like this:&lt;/p&gt;
&lt;figure id=&#34;attachment_3140&#34; aria-describedby=&#34;caption-attachment-3140&#34; style=&#34;width: 300px&#34; class=&#34;wp-caption aligncenter&#34;&gt;[&lt;img class=&#34;size-medium wp-image-3140&#34; title=&#34;cdu screenshot&#34; src=&#34;https://i1.wp.com/blog.amit-agarwal.com/wp-content/uploads/2012/01/test-300x129.jpg?resize=300%2C129&#34; alt=&#34;cdu screenshot&#34; width=&#34;300&#34; height=&#34;129&#34; data-recalc-dims=&#34;1&#34; /&gt;][2]&lt;figcaption id=&#34;caption-attachment-3140&#34; class=&#34;wp-caption-text&#34;&gt;cdu screenshot&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://blog.amit-agarwal.co.in/2011/10/30/quickly-install-fedora/&#34;&gt;Quickly install most of the things that you need on Fedora.&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://fedoraproject.org/wiki/YumUpgradeFaq&#34;&gt;Upgrading Fedora using yum &amp;#8211; FedoraProject&lt;/a&gt; (fedoraproject.org)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://blog.amit-agarwal.co.in/2011/12/13/consistent-ethernet-device-names-verne/&#34;&gt;Consistent ethernet device names in Verne&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>Interesting repository for Fedora.</title>
      <link>/2012/01/18/interesting-repository-fedora/</link>
      <pubDate>Wed, 18 Jan 2012 08:11:19 +0000</pubDate>
      
      <guid>/2012/01/18/interesting-repository-fedora/</guid>
      <description>&lt;p&gt;Here is one repository that you can add to your Fedora to give it a few more hundred packages:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;cat &amp;gt;/etc/yum.repos.d/rpm-sphere.repo &amp;lt;&amp;lt;EOF
[rpm-sphere]
name=RPM Sphere
baseurl=http://download.opensuse.org/repositories/home:/zhonghuaren/Fedora_16/
gpgkey=http://download.opensuse.org/repositories/home:/zhonghuaren/Fedora_16/repodata/repomd.xml.key
enabled=1
gpgcheck=1
EOF&lt;/pre&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>Benchmarking the system/CPU performance</title>
      <link>/2012/01/15/benchmarking-system-cpu-performance/</link>
      <pubDate>Sun, 15 Jan 2012 07:56:44 +0000</pubDate>
      
      <guid>/2012/01/15/benchmarking-system-cpu-performance/</guid>
      <description>&lt;p&gt;Have you ever wanted to have a quick check on your CPU performance. I know that lot of people will say that this is not the right way to do this, but here is something that you can use to check the CPU speed.&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;#!/bin/bash -
#===============================================================================
#
#          FILE:  benchmark.sh
#
#         USAGE:  ./benchmark.sh
#
#   DESCRIPTION:  Benchmark the CPU
#
#       OPTIONS:  ---
#  REQUIREMENTS:  ---
#          BUGS:  ---
#         NOTES:  ---
#        AUTHOR: Amit Agarwal (aka), amit.agarwal@roamware.com
#       COMPANY: Roamware India Pvt Ltd
#       CREATED: 09/21/2011 11:46:03 AM IST
# Last modified: Wed Sep 21, 2011  12:22PM
#      REVISION:  ---
#===============================================================================

add ()
{
    COUNTER=0
    exec 2&amp;gt;&amp;1
    time=$(exec 2&amp;gt;&amp;1;(time while [[  $COUNTER -lt 100000 ]]; do ((COUNTER++)) \
        ; done))
    echo &#34;Time for 100000 additions is &#34;$time
}	# ----------  end of function add  ----------
mul ()
{
    COUNTER=0
    test=2
    exec 2&amp;gt;&amp;1
    time=$(exec 2&amp;gt;&amp;1;(time while [[  $COUNTER -lt 100000 ]]; do ((COUNTER++)) \
        ; ((test=test*2));done))
    echo &#34;Time for 100000 mul is &#34;$time
}	# ----------  end of function add  ----------
div ()
{
    COUNTER=0
    test=1000000000000
    exec 2&amp;gt;&amp;1
    time=$(exec 2&amp;gt;&amp;1;(time while [[  $COUNTER -lt 100000 ]]; do ((COUNTER++)) \
        ; (( test=test/2)); done)|tr -d &#39;\n&#39;)
    echo &#34;Time for 100000 divisions is &#34;${time}
}	# ----------  end of function add  ----------

time add
time mul
time div&lt;/pre&gt;
&lt;p&gt;And here is the output :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>conky script used to monitor server status remotely.</title>
      <link>/2012/01/12/conky-script-monitor-server-status-remotely/</link>
      <pubDate>Thu, 12 Jan 2012 07:48:00 +0000</pubDate>
      
      <guid>/2012/01/12/conky-script-monitor-server-status-remotely/</guid>
      <description>&lt;figure style=&#34;width: 300px&#34; class=&#34;wp-caption alignright&#34;&gt;[&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;A typical Conky look&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Conky-unix-program-screen-shot.png/300px-Conky-unix-program-screen-shot.png&#34; alt=&#34;A typical Conky look&#34; width=&#34;300&#34; height=&#34;279&#34; /&gt;][1]&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image via Wikipedia&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;I was looking for something to monitor few details on the server. I thought about quite a lot of applications, some open source and some scripts developed in house. But my requirements were quite petty and the scripts and applications were quite heavy. So, I thought why not conky :).&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;So, with some quick work on conky script, I was able to get what I wanted and here it is for all of you.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Consistent ethernet device names in Verne</title>
      <link>/2011/12/13/consistent-ethernet-device-names-verne/</link>
      <pubDate>Tue, 13 Dec 2011 02:50:54 +0000</pubDate>
      
      <guid>/2011/12/13/consistent-ethernet-device-names-verne/</guid>
      <description>&lt;figure style=&#34;width: 300px&#34; class=&#34;wp-caption alignright&#34;&gt;[&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;Català: Aquest es el logo de Gnome fet amb vec...&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/6/68/Gnomelogo.svg/300px-Gnomelogo.svg.png&#34; alt=&#34;Català: Aquest es el logo de Gnome fet amb vec...&#34; width=&#34;300&#34; height=&#34;364&#34; /&gt;][1]&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image via Wikipedia&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Fedora (operating system)&#34; href=&#34;http://www.fedoraproject.org/&#34; rel=&#34;homepage&#34;&gt;Fedora&lt;/a&gt; now supports consistent device names across the network with bios device names for the ethernet devices. If you upgraded your earlier version of Fedora then you may need to go to &lt;a class=&#34;zem_slink&#34; title=&#34;Superuser&#34; href=&#34;http://en.wikipedia.org/wiki/Superuser&#34; rel=&#34;wikipedia&#34;&gt;root access&lt;/a&gt; to get this working.&lt;/p&gt;
&lt;p&gt;Here is what you need to do:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>rpmorphan – deborphan for the rpm based distros.</title>
      <link>/2011/12/07/rpmorphan-deborphan-rpm-based-distros/</link>
      <pubDate>Wed, 07 Dec 2011 11:02:15 +0000</pubDate>
      
      <guid>/2011/12/07/rpmorphan-deborphan-rpm-based-distros/</guid>
      <description>&lt;div&gt;
  Lets first install the rpmorphan package:
&lt;/div&gt;
&lt;div&gt;
  &lt;div class=&#34;codecolorer-container bash solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
    &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
      &lt;tr&gt;
        &lt;td class=&#34;line-numbers&#34;&gt;
          &lt;div&gt;
            1&lt;br /&gt;
          &lt;/div&gt;
        &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;    &amp;lt;td&amp;gt;
      &amp;lt;div class=&amp;quot;bash codecolorer&amp;quot;&amp;gt;
        &amp;amp;nbsp;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;sudo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;yum install&amp;lt;/span&amp;gt; rpmorphan
      &amp;lt;/div&amp;gt;
    &amp;lt;/td&amp;gt;
  &amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
  and here is the description of the package:
&lt;/div&gt;
&lt;div&gt;
  &lt;pre class=&#34;brush: text; gutter: true; first-line: 1&#34;&gt;rpmorphan finds &#34;&lt;a class=&#34;zem_slink&#34; title=&#34;Orphan&#34; href=&#34;http://en.wikipedia.org/wiki/Orphan&#34; rel=&#34;wikipedia&#34;&gt;orphaned&lt;/a&gt;&#34;[1] packages on your system. It determines
which packages have no other packages depending on their installation,
and shows you a list of these packages.  It intends to be clone of
deborphan &lt;a class=&#34;zem_slink&#34; title=&#34;Debian&#34; href=&#34;http://www.debian.org/&#34; rel=&#34;homepage&#34;&gt;Debian&lt;/a&gt; tools for rpm packages.
&lt;p&gt;It will try to help you to remove unused packages, for example:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>quadkonsole – multiple consoles to make your life easier</title>
      <link>/2011/11/21/blog-on-quadkonsole/</link>
      <pubDate>Mon, 21 Nov 2011 10:46:58 +0000</pubDate>
      
      <guid>/2011/11/21/blog-on-quadkonsole/</guid>
      <description>&lt;p&gt;First lets install quadkonsole:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;yum install quadkonsole&lt;/pre&gt;
&lt;p&gt;Now, to launch the quadkonsole, just type quadkonsole in the run box (appears with Alt+F2).&lt;/p&gt;
&lt;p&gt;You will by default see 4 console windows in single window but you can change that with &lt;a class=&#34;zem_slink&#34; title=&#34;Command-line argument&#34; href=&#34;http://en.wikipedia.org/wiki/Command-line_argument&#34; rel=&#34;wikipedia&#34;&gt;command line options&lt;/a&gt; like so:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;quadkonsole --rows 4 --columns 4&lt;/pre&gt;
&lt;p&gt;This will initiate windows with 16 consoles. How cool is that.&lt;/p&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://www.makeuseof.com/tag/console-lets-work-windows-command-line-mode-style/&#34;&gt;Console Lets You Work In Windows Command Line Mode With Style&lt;/a&gt; (makeuseof.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://lifehacker.com/5834755/how-can-i-make-the-windows-command-prompt-better&#34;&gt;How Can I Make the Windows Command Prompt Better? [Ask Lifehacker]&lt;/a&gt; (lifehacker.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://devlicio.us/blogs/rob_reynolds/archive/2011/07/15/extend-nuget-command-line.aspx&#34;&gt;Extend NuGet Command Line&lt;/a&gt; (devlicio.us)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>mplayer – find all the installed codes for audio and video</title>
      <link>/2011/11/09/mplayer-find-installed-codes-audio-video/</link>
      <pubDate>Wed, 09 Nov 2011 07:45:34 +0000</pubDate>
      
      <guid>/2011/11/09/mplayer-find-installed-codes-audio-video/</guid>
      <description>&lt;div class=&#34;zemanta-img&#34; style=&#34;margin: 1em; display: block;&#34;&gt;
  &lt;p&gt;
    &lt;figure style=&#34;width: 216px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:MPlayer.svg&#34;&gt;&lt;img class=&#34;zemanta-img-configured&#34; title=&#34;MPlayer&#34; src=&#34;https://i2.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/zemanta//216px-MPlayer.svg_2.png?resize=216%2C185&#34; alt=&#34;MPlayer&#34; width=&#34;216&#34; height=&#34;185&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image via Wikipedia&lt;/figcaption&gt;&lt;/figure&gt;
  &lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Some time back, I was trying to find out all the codecs that are installed for my mplayer. These could be the ones that came with mplayer or the ones that I downloaded from the site and installed in the various directories.&lt;/p&gt;
&lt;p&gt;I could not find a direct way to do this, until I found this:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;mplayer -ac help -vc help&lt;/pre&gt;
&lt;p&gt;And here is the output of the command:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Quickly install most of the things that you need on Fedora.</title>
      <link>/2011/10/30/quickly-install-fedora/</link>
      <pubDate>Sun, 30 Oct 2011 12:57:45 +0000</pubDate>
      
      <guid>/2011/10/30/quickly-install-fedora/</guid>
      <description>&lt;article id=&#34;project-description&#34;&gt;easyLife is a user friendly program that installs packages on &lt;a class=&#34;zem_slink&#34; title=&#34;Fedora (operating system)&#34; href=&#34;http://www.fedoraproject.org/&#34; rel=&#34;homepage&#34;&gt;Fedora&lt;/a&gt; as well as adjustments most users want. It makes new users&amp;#8217; experience easy and fun, providing the means to set the &lt;a class=&#34;zem_slink&#34; title=&#34;Operating system&#34; href=&#34;http://en.wikipedia.org/wiki/Operating_system&#34; rel=&#34;wikipedia&#34;&gt;OS&lt;/a&gt; up quickly and painless.&lt;/article&gt; &lt;article&gt;&lt;/article&gt; &lt;article&gt;This app does not really require any more introduction.&lt;/article&gt; 
&lt;p&gt;&lt;a href=&#34;http://sourceforge.net/projects/easylife-linux/&#34;&gt;http://sourceforge.net/projects/easylife-linux/&lt;/a&gt;&lt;/p&gt;
&lt;figure id=&#34;attachment_3078&#34; aria-describedby=&#34;caption-attachment-3078&#34; style=&#34;width: 300px&#34; class=&#34;wp-caption aligncenter&#34;&gt;[&lt;img class=&#34;size-medium wp-image-3078&#34; title=&#34;Easy Linux for Fedora&#34; src=&#34;https://i1.wp.com/blog.amit-agarwal.com/wp-content/uploads/2011/10/easylinux-300x234.jpg?resize=300%2C234&#34; alt=&#34;Easy Linux for Fedora&#34; width=&#34;300&#34; height=&#34;234&#34; srcset=&#34;https://i1.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/10/easylinux.jpg?resize=300%2C234 300w, https://i1.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/10/easylinux.jpg?resize=150%2C117 150w, https://i1.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/10/easylinux.jpg?w=614 614w&#34; sizes=&#34;(max-width: 300px) 100vw, 300px&#34; data-recalc-dims=&#34;1&#34; /&gt;][1]&lt;figcaption id=&#34;caption-attachment-3078&#34; class=&#34;wp-caption-text&#34;&gt;Easy Linux for Fedora&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://blog.amit-agarwal.co.in/2010/07/23/how-to-install-ailurus-10-05-on-fedora-howtoforge-linux-howtos-and-tutorials-2/&#34;&gt;How To Install Ailurus 10.05 On Fedora | HowtoForge &amp;#8211; Linux Howtos and Tutorials&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://go.theregister.com/feed/www.theregister.co.uk/2011/10/04/fedora_16_beta_review/&#34;&gt;Fedora 16: Linux home for lost Ubuntu GNOMEs&lt;/a&gt; (go.theregister.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://k4rtik.wordpress.com/2011/10/06/build-eiskaltdc-on-fedora-16-lovelock-64-bit/&#34;&gt;Build EiskaltDC++ on Fedora 16 Lovelock 64-bit&lt;/a&gt; (k4rtik.wordpress.com)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>gnome-tweak-tool gets a fantastic new Font Selector window</title>
      <link>/2011/10/27/gnometweaktool-fantastic-font-selector-window/</link>
      <pubDate>Thu, 27 Oct 2011 12:47:11 +0000</pubDate>
      
      <guid>/2011/10/27/gnometweaktool-fantastic-font-selector-window/</guid>
      <description>&lt;p&gt;Here is the &lt;a class=&#34;zem_slink&#34; title=&#34;Quick Look&#34; href=&#34;http://www.apple.com/macosx/what-is-macosx/quick-look.html&#34; rel=&#34;homepage&#34;&gt;quick look&lt;/a&gt; at how the Font Selector looks like now. And its not just for the gnome-tweak-tool, its for all the places for font selection. I really loved it. So intuitive to use and amazingly good to look. This is what a good design and thinking can do. Kudos to Gnome team for coming up with this.&lt;/p&gt;
&lt;figure id=&#34;attachment_3077&#34; aria-describedby=&#34;caption-attachment-3077&#34; style=&#34;width: 300px&#34; class=&#34;wp-caption aligncenter&#34;&gt;[&lt;img class=&#34;size-medium wp-image-3077&#34; title=&#34;Font Selector for Verne&#34; src=&#34;https://i0.wp.com/blog.amit-agarwal.com/wp-content/uploads/2011/10/fontSelector-300x258.jpg?resize=300%2C258&#34; alt=&#34;Font Selector for Verne&#34; width=&#34;300&#34; height=&#34;258&#34; srcset=&#34;https://i2.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/10/fontSelector.jpg?resize=300%2C258 300w, https://i2.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/10/fontSelector.jpg?resize=150%2C129 150w, https://i2.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/10/fontSelector.jpg?w=556 556w&#34; sizes=&#34;(max-width: 300px) 100vw, 300px&#34; data-recalc-dims=&#34;1&#34; /&gt;][1]&lt;figcaption id=&#34;caption-attachment-3077&#34; class=&#34;wp-caption-text&#34;&gt;Font Selector for Verne&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://iliedumitrascu77.wordpress.com/2011/10/07/cum-instalam-interfata-gnome-3-in-linux-ubuntu-11-04/&#34;&gt;Cum instalam interfata Gnome 3 in Linux Ubuntu 11.04&lt;/a&gt; (iliedumitrascu77.wordpress.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://maketecheasier.com/install-custom-gnome-shell-themes/2011/09/27&#34;&gt;How to Install Custom Gnome Shell Themes&lt;/a&gt; (maketecheasier.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://www.omgubuntu.co.uk/2011/09/google-gnome-shell-theme/&#34;&gt;Stunning Google-Inspired GNOME Shell Theme&lt;/a&gt; (omgubuntu.co.uk)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>Fedora 16 screenshot with conky and bmpaenl2</title>
      <link>/2011/10/21/fedora-16-screenshot-conky-bmpaenl2/</link>
      <pubDate>Fri, 21 Oct 2011 10:34:30 +0000</pubDate>
      
      <guid>/2011/10/21/fedora-16-screenshot-conky-bmpaenl2/</guid>
      <description>&lt;p&gt;For all those who used to keep complaining about the bottom panel of Gnome which used to show a list of windows, you can get it back with bmpanel2 (there are lot of other options too, but this one is light.). You can have themes for the panel also.&lt;/p&gt;
&lt;p&gt;And the best part about using &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME Shell&#34; href=&#34;http://live.gnome.org/GnomeShell&#34; rel=&#34;homepage&#34;&gt;gnome-shell&lt;/a&gt; is that I always getting a feeling that I now have more space on the &lt;a class=&#34;zem_slink&#34; title=&#34;Desktop environment&#34; href=&#34;http://en.wikipedia.org/wiki/Desktop_environment&#34; rel=&#34;wikipedia&#34;&gt;Desktop&lt;/a&gt;. And, thus conky looks good too on the Desktop. Here’s a screenshot.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Compare files excluding certain lines.</title>
      <link>/2011/10/18/compare-files-excluding-lines/</link>
      <pubDate>Tue, 18 Oct 2011 11:12:15 +0000</pubDate>
      
      <guid>/2011/10/18/compare-files-excluding-lines/</guid>
      <description>&lt;p&gt;Quick tip, you can use any expression for the &lt;a class=&#34;zem_slink&#34; title=&#34;Sed&#34; href=&#34;http://en.wikipedia.org/wiki/Sed&#34; rel=&#34;wikipedia&#34;&gt;sed&lt;/a&gt; commands in the (). With this trick you can redirect the &lt;a class=&#34;zem_slink&#34; title=&#34;Standard streams&#34; href=&#34;http://en.wikipedia.org/wiki/Standard_streams&#34; rel=&#34;wikipedia&#34;&gt;stdout&lt;/a&gt; of 2 commands to the diff command. This might become very useful, if you want to compare 2 &lt;a class=&#34;zem_slink&#34; title=&#34;Computer file&#34; href=&#34;http://en.wikipedia.org/wiki/Computer_file&#34; rel=&#34;wikipedia&#34;&gt;files&lt;/a&gt;, excluding the first  line.&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;diff &amp;lt;(sed &#39;1d&#39; file) &amp;lt;(sed &#39;1d&#39; file2)&lt;/pre&gt;
&lt;p&gt;More interesting example is where the string &lt;a class=&#34;zem_slink&#34; title=&#34;American Broadcasting Company&#34; href=&#34;http://abc.go.com&#34; rel=&#34;homepage&#34;&gt;ABC&lt;/a&gt; is converted to abc before comparing in the second file with the following command:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Script to get yourself some conkyrc files</title>
      <link>/2011/10/08/script-conkyrc-files/</link>
      <pubDate>Sat, 08 Oct 2011 10:37:48 +0000</pubDate>
      
      <guid>/2011/10/08/script-conkyrc-files/</guid>
      <description>&lt;p&gt;Continuing from where we left, here is a script that can do all this for you 🙂&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;curl http://ubuntuforums.org/showthread.php?t=281865\&amp;page=$i | sed -n &#39;/\\/pr/ p&#39;| sed &#39;// d&#39;| sed &#39;s##\n-----------------------------------\n\n\n#&#39; &amp;gt;conkyrc
	dos2unix conkyrc
	cp conkyrc .test
	while [ $(wc -l .test|sed &#39;s/[^0-9]//g&#39;) != 0 ]
	do
		sed -n &#39;1,/------------------------/ p&#39; .test|sed &#39;$d&#39; &amp;gt;conkyrc.$count
		diff .test conkyrc.$count |sed &#39;s/^&amp;lt;.//&#39;|sed &#39;1, /---------------------/ d;2d&#39;&amp;gt;.test
		((count++))
	done&lt;/pre&gt;
&lt;p&gt;This will create couple of conkyrc.files in the &lt;a class=&#34;zem_slink&#34; title=&#34;Working directory&#34; href=&#34;http://en.wikipedia.org/wiki/Working_directory&#34; rel=&#34;wikipedia&#34;&gt;current directory&lt;/a&gt;. Each of these is one from the &lt;a class=&#34;zem_slink&#34; title=&#34;Web page&#34; href=&#34;http://en.wikipedia.org/wiki/Web_page&#34; rel=&#34;wikipedia&#34;&gt;web-page&lt;/a&gt; that I mentioned earlier. So, enjoy….&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Get yourself some conkyrc files.</title>
      <link>/2011/10/05/conkyrc-files/</link>
      <pubDate>Wed, 05 Oct 2011 15:18:56 +0000</pubDate>
      
      <guid>/2011/10/05/conkyrc-files/</guid>
      <description>&lt;p&gt;If you are looking for some nice conkyrc &lt;a class=&#34;zem_slink&#34; title=&#34;Computer file&#34; href=&#34;http://en.wikipedia.org/wiki/Computer_file&#34; rel=&#34;wikipedia&#34;&gt;files&lt;/a&gt;, then you can head over to :&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://ubuntuforums.org/showthread.php?t=281865&#34; title=&#34;conkyrc&#34;&gt;Ubuntu Forums&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In this thread you can see some very nice conkyrc files with screenshots. You can browse through the thread and get the one that you like. But if you are like me and would like to download all of them to see the features and commands in each of them then you would need to copy each of these files and paste them separately. But if you have to do everything manually then there’s not much of being on &lt;a class=&#34;zem_slink&#34; title=&#34;Linux&#34; href=&#34;http://www.kernel.org/&#34; rel=&#34;homepage&#34;&gt;Linux&lt;/a&gt; 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Creating a chroot environment – the script.</title>
      <link>/2011/09/23/creating-chroot-environment-script/</link>
      <pubDate>Fri, 23 Sep 2011 09:47:48 +0000</pubDate>
      
      <guid>/2011/09/23/creating-chroot-environment-script/</guid>
      <description>&lt;p&gt;Here is the script, very simple and effective 🙂&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;#!/bin/bash -
#===============================================================================
#
#          FILE:  mkchroot.sh
#
#         USAGE:  ./mkchroot.sh
#
#   DESCRIPTION:  Make a  chroot environ and cd to it
#
#       OPTIONS:  ---
#  REQUIREMENTS:  ---
#          BUGS:  ---
#         NOTES:  ---
#        AUTHOR: Amit Agarwal (aka), 
#       CREATED: 09/03/2011 02:53:37 PM IST
# Last modified: Sat Sep 03, 2011  03:11PM
#      REVISION:  ---
#===============================================================================

 binaries=( bash2 ls cat vi vim sudo)
#===  FUNCTION  ================================================================
#          NAME:  copy_binary
#   DESCRIPTION:  copy binary to chroot
#    PARAMETERS:
#       RETURNS:
#===============================================================================

copy_binary ()
{
   cmd=`which $1`
   echo $cmd
   cp $cmd bin/
   ldd $cmd
   while read line
   do
      while read ld
      do
         if [[ -f $ld ]]
         then
            echo copy $ld
            cp $ld lib/
            if [[ -L $ld ]]
            then
               ld1=$( ls -l $ld |sed &#39;s/.*&amp;gt; //&#39;)
               echo &#34;  copy $ld1&#34;
               cp  /lib/$ld1 lib/
            fi
         fi
      done &amp;lt; &amp;lt;(echo $line|sed &#39;s/.*&amp;gt; //&#39;|sed &#39;s/ .*//&#39;)
   done &amp;lt; &amp;lt;(ldd $cmd)
}	# ----------  end of function copy_binary  ----------

#===  FUNCTION  ================================================================
#          NAME:  init
#   DESCRIPTION:  Do the required initialization
#    PARAMETERS:
#       RETURNS:
#===============================================================================
init()
{
   mkdir -p {root,home,dev,etc,lib,usr,bin}
   mkdir -p usr/bin
   mkdir -p libexec/openssh



   mknod -m 666 dev/null c 1 3

   cd etc
   cp /etc/ld.so.cache .
   cp -avr /etc/ld.so.cache.d/ .
   cp -avr /etc/ld.so.conf.d/ .
   cp /etc/ld.so.conf .
   cp /etc/nsswitch.conf .
   cp /etc/passwd .
   cp /etc/group .
   cp /etc/hosts .
   cp /etc/resolv.conf .
   cd -
}
cd $1
if [[ -f .status ]]
then
   cat .status
   echo &#34;Not running now&#34;
else
   init
   for i in ${binaries[*]}
   do
       copy_binary $i
       cp -avr /etc/${i}* etc/
   done
   ln bin/bash2 bin/bash
   echo &#34;complete&#34; &amp;gt; .status
fi
cp -avr ~/bin/automation root/automation
sudo chroot .

&lt;/pre&gt;
&lt;p&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Creating a chroot environment in Fedora with bash and other utils.</title>
      <link>/2011/09/19/creating-chroot-environment-fedora-bash-utils/</link>
      <pubDate>Mon, 19 Sep 2011 14:59:23 +0000</pubDate>
      
      <guid>/2011/09/19/creating-chroot-environment-fedora-bash-utils/</guid>
      <description>&lt;p&gt;[ad#ad-2]&lt;/p&gt;
&lt;p&gt;I am testing some of my scripts to work on a very old system and there the versions of the most popular applications are very old, real old :(. So, some of things that I am very used to since last couple of years, do not seem to work as expected and I need to keep verifying a lot of things on the server, very inconvinient to keep testing the script on the server (need to connect on &lt;a class=&#34;zem_slink&#34; title=&#34;Virtual private network&#34; href=&#34;http://en.wikipedia.org/wiki/Virtual_private_network&#34; rel=&#34;wikipedia&#34;&gt;VPN&lt;/a&gt;) just to test some very simple things.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>ss – utility to investigate sockets.</title>
      <link>/2011/09/07/ss-utility-investigate-sockets/</link>
      <pubDate>Wed, 07 Sep 2011 06:27:46 +0000</pubDate>
      
      <guid>/2011/09/07/ss-utility-investigate-sockets/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Sometimes, you find some interesting application/command by accident, and that is just what happened a few days back. Well, I was doing a &lt;a class=&#34;zem_slink&#34; title=&#34;Secure Shell&#34; href=&#34;http://en.wikipedia.org/wiki/Secure_Shell&#34; rel=&#34;wikipedia&#34;&gt;ssh&lt;/a&gt; and as usual made my share of mistake in typing and missed the “h” from the ssh command and saw a list of &lt;a class=&#34;zem_slink&#34; title=&#34;Option (finance)&#34; href=&#34;http://en.wikipedia.org/wiki/Option_%28finance%29&#34; rel=&#34;wikipedia&#34;&gt;options&lt;/a&gt; instead of my prompt on &lt;a class=&#34;zem_slink&#34; title=&#34;Server (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/Server_%28computing%29&#34; rel=&#34;wikipedia&#34;&gt;remote server&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Now, that set me thinking and fond that its a very interesting command that comes with iproute on Fedoara, so if you want this command, then install iproute like this&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>[Solved] ssh works but scp does not</title>
      <link>/2011/08/29/solved-ssh-works-scp/</link>
      <pubDate>Mon, 29 Aug 2011 00:48:04 +0000</pubDate>
      
      <guid>/2011/08/29/solved-ssh-works-scp/</guid>
      <description>&lt;div class=&#34;zemanta-img&#34; style=&#34;margin: 1em; display: block;&#34;&gt;
  &lt;p&gt;
    &lt;figure style=&#34;width: 300px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:Ssh_binary_packet_alt.svg&#34;&gt;&lt;img title=&#34;Structure of an SSH binary packet&#34; src=&#34;https://i1.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/zemanta//300px-Ssh_binary_packet_alt.svg_1.png?resize=300%2C232&#34; alt=&#34;Structure of an SSH binary packet&#34; width=&#34;300&#34; height=&#34;232&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image via Wikipedia&lt;/figcaption&gt;&lt;/figure&gt;
  &lt;/p&gt;
&lt;/div&gt;
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;For quite sometime now, I was having this issue, that for the home system, I was able to connect to is using &lt;a class=&#34;zem_slink&#34; title=&#34;Secure Shell&#34; href=&#34;http://en.wikipedia.org/wiki/Secure_Shell&#34; rel=&#34;wikipedia&#34;&gt;ssh&lt;/a&gt; but it never worked. Fnally after quite some debugging finally I found that the issue was with thebashrc. So, everytime I had to do a scp I would have to move/rename bashrc and do the reverse action after the scp was done.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Screenshot of Gnome3 with awn</title>
      <link>/2011/08/25/screenshot-of-gnome3-with-awn/</link>
      <pubDate>Thu, 25 Aug 2011 08:47:40 +0000</pubDate>
      
      <guid>/2011/08/25/screenshot-of-gnome3-with-awn/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here is another screenshot of my laptop desktop with &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME&#34; href=&#34;http://www.gnome.org/&#34; rel=&#34;homepage&#34;&gt;Gnome 3&lt;/a&gt; and AWN (&lt;a class=&#34;zem_slink&#34; title=&#34;Avant Window Navigator&#34; href=&#34;https://launchpad.net/awn/&#34; rel=&#34;homepage&#34;&gt;Avant window Navigator&lt;/a&gt;) running. Looks beautiful, isn’t it?&lt;/p&gt;
&lt;div id=&#34;attachment_3008&#34; class=&#34;wp-caption alignleft&#34; style=&#34;width: 300px;&#34;&gt;
  &lt;p&gt;
    &lt;a href=&#34;http://blog.amit-agarwal.co.in/2011/08/25/screenshot-of-gnome3-with-awn/screenshot-5/&#34; rel=&#34;attachment wp-att-3008&#34;&gt;&lt;img class=&#34;size-medium wp-image-3008&#34; title=&#34;Screenshot&#34; src=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/08/Screenshot.png?fit=300%2C300&#34; alt=&#34;&#34; srcset=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/08/Screenshot.png?resize=300%2C187 300w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/08/Screenshot.png?resize=1024%2C640 1024w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/08/Screenshot.png?resize=150%2C93 150w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/08/Screenshot.png?w=1280 1280w&#34; sizes=&#34;(max-width: 300px) 100vw, 300px&#34; data-recalc-dims=&#34;1&#34; /&gt; &lt;/a&gt;
  &lt;/p&gt;
  &lt;p class=&#34;wp-caption-text&#34;&gt;
    &lt;/div&gt; 
&lt;pre&gt;&lt;code&gt;&amp;lt;p&amp;gt;
  By the way, with this setup I have the &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Old Style and New Style dates&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Old_Style_and_New_Style_dates&amp;quot; rel=&amp;quot;wikipedia&amp;quot;&amp;gt;old style&amp;lt;/a&amp;gt; menu also just that instead of on the top it is on the bottom just like old RH9 🙂
&amp;lt;/p&amp;gt;

&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot; style=&amp;quot;font-size: 1em;&amp;quot;&amp;gt;
  Related articles
&amp;lt;/h6&amp;gt;

&amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt;
  &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;
    &amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/2011/08/12/gnome-3-shell-themes/&amp;quot;&amp;gt;Gnome 3 shell themes&amp;lt;/a&amp;gt; (amit-agarwal.co.in)
  &amp;lt;/li&amp;gt;
  &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;
    &amp;lt;a href=&amp;quot;http://tech.slashdot.org/story/11/08/17/1943218/Interview-With-GNOME-3-Designer-Jon-McCann&amp;quot;&amp;gt;Interview With GNOME 3 Designer Jon McCann&amp;lt;/a&amp;gt; (tech.slashdot.org)
  &amp;lt;/li&amp;gt;
  &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;
    &amp;lt;a href=&amp;quot;http://linux.slashdot.org/story/11/08/04/0115232/Linus-Torvalds-Ditches-GNOME-3-For-Xfce&amp;quot;&amp;gt;Linus Torvalds Ditches GNOME 3 For Xfce&amp;lt;/a&amp;gt; (linux.slashdot.org)
  &amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;

&amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot; style=&amp;quot;margin-top: 10px; height: 15px;&amp;quot;&amp;gt;
  &amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Enhanced by Zemanta&amp;quot; href=&amp;quot;http://www.zemanta.com/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; style=&amp;quot;float: right;&amp;quot; src=&amp;quot;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&amp;quot; alt=&amp;quot;Enhanced by Zemanta&amp;quot; data-recalc-dims=&amp;quot;1&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;p&amp;gt;
&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>Gnome 3 screenshot with conky dock</title>
      <link>/2011/08/18/gnome-3-screenshot-conky-dock/</link>
      <pubDate>Thu, 18 Aug 2011 17:06:20 +0000</pubDate>
      
      <guid>/2011/08/18/gnome-3-screenshot-conky-dock/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Just to give you a idea of how beautiful it looks, here’s a screenshot 🙂&lt;/p&gt;
&lt;figure id=&#34;attachment_3000&#34; aria-describedby=&#34;caption-attachment-3000&#34; style=&#34;width: 300px&#34; class=&#34;wp-caption aligncenter&#34;&gt;[&lt;img class=&#34;size-medium wp-image-3000&#34; title=&#34;gnome3-desktop&#34; src=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/08/gnome3-desktop.jpg?resize=300%2C187&#34; alt=&#34;gnome3-desktop&#34; width=&#34;300&#34; height=&#34;187&#34; srcset=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/08/gnome3-desktop.jpg?resize=300%2C187 300w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/08/gnome3-desktop.jpg?resize=150%2C93 150w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/08/gnome3-desktop.jpg?w=640 640w&#34; sizes=&#34;(max-width: 300px) 100vw, 300px&#34; data-recalc-dims=&#34;1&#34; /&gt;][1]&lt;figcaption id=&#34;caption-attachment-3000&#34; class=&#34;wp-caption-text&#34;&gt;gnome3-desktop&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://www.omgubuntu.co.uk/2011/06/this-stairway-to-heaven-ubuntu-desktop-is-gorgeous-and-simple-to-achieve/&#34;&gt;This &amp;#8216;Stairway to Heaven&amp;#8217; Ubuntu desktop is gorgeous and simple to achieve&lt;/a&gt; (omgubuntu.co.uk)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://www.omgubuntu.co.uk/2011/08/how-to-minimal-narwhal-desktop/&#34;&gt;[How To] Make A Minimal-looking Narwhal Desktop&lt;/a&gt; (omgubuntu.co.uk)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://www.casasugar.com/Gnomes-Home-13929843&#34;&gt;Gnome Sweet Gnome&lt;/a&gt; (casasugar.com)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>Gnome 3 shell themes</title>
      <link>/2011/08/12/gnome-3-shell-themes/</link>
      <pubDate>Fri, 12 Aug 2011 00:33:31 +0000</pubDate>
      
      <guid>/2011/08/12/gnome-3-shell-themes/</guid>
      <description>&lt;div class=&#34;zemanta-img&#34; style=&#34;margin: 1em; display: block;&#34;&gt;
  &lt;p&gt;
    &lt;figure style=&#34;width: 240px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://www.flickr.com/photos/90625325@N00/5758445066&#34;&gt;&lt;img title=&#34;Working gnome-shell on an Intel 945GM&#34; src=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/zemanta//5758445066_6afef3f6e7_m1.jpg?resize=240%2C180&#34; alt=&#34;Working gnome-shell on an Intel 945GM&#34; width=&#34;240&#34; height=&#34;180&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image by grantc via Flickr&lt;/figcaption&gt;&lt;/figure&gt;
  &lt;/p&gt;
&lt;/div&gt;
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you are using &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME Shell&#34; href=&#34;http://live.gnome.org/GnomeShell&#34; rel=&#34;homepage&#34;&gt;gnome-shell&lt;/a&gt; and are bored with the same &lt;a class=&#34;zem_slink&#34; title=&#34;Default (finance)&#34; href=&#34;http://en.wikipedia.org/wiki/Default_%28finance%29&#34; rel=&#34;wikipedia&#34;&gt;default&lt;/a&gt; theme then read on…. 🙂&lt;/p&gt;
&lt;p&gt;By default changing the default theme requires that you modify the files yourself or copy few files to the required directories. Well, if this is not in your scheme of things for changing the theme, a very simple task. Now, you can simply do this with gnome &lt;a class=&#34;zem_slink&#34; title=&#34;Windows Explorer&#34; href=&#34;http://en.wikipedia.org/wiki/Windows_Explorer&#34; rel=&#34;wikipedia&#34;&gt;shell extensions&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash completion</title>
      <link>/2011/08/09/bash-completion/</link>
      <pubDate>Tue, 09 Aug 2011 03:36:37 +0000</pubDate>
      
      <guid>/2011/08/09/bash-completion/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I was working on some &lt;a class=&#34;zem_slink&#34; title=&#34;Function (mathematics)&#34; href=&#34;http://en.wikipedia.org/wiki/Function_%28mathematics%29&#34; rel=&#34;wikipedia&#34;&gt;functions&lt;/a&gt; in bash to make my life easier and realized that if I added custom &lt;a class=&#34;zem_slink&#34; title=&#34;Complete metric space&#34; href=&#34;http://en.wikipedia.org/wiki/Complete_metric_space&#34; rel=&#34;wikipedia&#34;&gt;completion&lt;/a&gt; to my functions, it will be really good. So I headed over to google and searched for what I wanted. I did get a lot of information on bash completion but not a single concrete example that could help me do what I wanted. So, with the help of &lt;a class=&#34;zem_slink&#34; title=&#34;Man page&#34; href=&#34;http://en.wikipedia.org/wiki/Man_page&#34; rel=&#34;wikipedia&#34;&gt;man pages&lt;/a&gt; and some results from the &lt;a class=&#34;zem_slink&#34; title=&#34;Google Page Creator&#34; href=&#34;http://pages.google.com&#34; rel=&#34;homepage&#34;&gt;Google pages&lt;/a&gt;, I was finally able to accomplish what I wanted. So here it is:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Total upload and download on any interface.</title>
      <link>/2011/06/05/total-upload-download-interface/</link>
      <pubDate>Sun, 05 Jun 2011 01:29:21 +0000</pubDate>
      
      <guid>/2011/06/05/total-upload-download-interface/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Something that I have been searching for a long time, finally some look inside the &amp;lt;a class=&amp;ldquo;zem_slink&amp;rdquo; title=&amp;ldquo;Procfs&amp;rdquo; rel=&amp;ldquo;wikipedia&amp;rdquo; href=&amp;ldquo;&lt;a href=&#34;http://en.wikipedia.org/wiki/Procfs%22&#34;&gt;http://en.wikipedia.org/wiki/Procfs&amp;quot;&lt;/a&gt; _mce_href=&amp;ldquo;&lt;a href=&#34;http://en.wikipedia.org/wiki/Procfs%22%3E/proc&#34;&gt;http://en.wikipedia.org/wiki/Procfs&amp;quot;&amp;gt;/proc&lt;/a&gt;&lt;/a&gt; got me what I wanted. Hope this will save someone’s day. So far, the only option I could think of was to run conky which becomes a little heave on some of the very old laptops I have to use sometimes 🙁&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      &amp;amp;nbsp;cat /proc/net/dev|grep eth2|awk &#39;{print $2/1024/1024&amp;quot;&amp;amp;nbsp; &amp;quot;$10/1024/1024}&#39;
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34; \_mce\_style=&#34;font-size: 1em;&#34;&gt;Related articles&lt;/h6&gt; 
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://jarneil.wordpress.com/2011/03/15/cpuspeed-slowing-you-down/&#34; _mce_href=&#34;http://jarneil.wordpress.com/2011/03/15/cpuspeed-slowing-you-down/&#34;&gt;CPUSPEED Slowing you down?&lt;/a&gt; (jarneil.wordpress.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://lingpipe-blog.com/2011/05/26/interface-curmudgeons/&#34; _mce_href=&#34;http://lingpipe-blog.com/2011/05/26/interface-curmudgeons/&#34;&gt;Interface Curmudgeons versus Gestures&lt;/a&gt; (lingpipe-blog.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://michaeldaranto.wordpress.com/2011/05/28/alias-in-bashrc/&#34; _mce_href=&#34;http://michaeldaranto.wordpress.com/2011/05/28/alias-in-bashrc/&#34;&gt;Alias in .bashrc&lt;/a&gt; (michaeldaranto.wordpress.com)
  &lt;/li&gt;
&lt;/ul&gt;&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34; \_mce\_style=&#34;margin-top: 10px; height: 15px;&#34;&gt;&lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34; \_mce\_href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;border: medium none; float: right;&#34; \_mce\_style=&#34;border: medium none; float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified\_e.png?w=688&#34; \_mce\_src=&#34;https://i1.wp.com/img.zemanta.com/zemified\_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34;/&gt;&lt;/a&gt;&lt;br \_mce\_bogus=&#34;1&#34;/&gt;&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>Results of Fedora 16 Release Name Voting</title>
      <link>/2011/04/20/results-fedora-16-release-voting/</link>
      <pubDate>Wed, 20 Apr 2011 02:17:48 +0000</pubDate>
      
      <guid>/2011/04/20/results-fedora-16-release-voting/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Fedora 16 is codenamed &lt;strong&gt;Verne&lt;/strong&gt;. Here are other details:&lt;/p&gt;
&lt;p&gt;The &lt;a class=&#34;zem_slink&#34; title=&#34;Voting&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Voting&#34;&gt;voting&lt;/a&gt; has concluded for the Fedora 16 release name, and the&lt;br&gt;
results are in!  Thank you to the Fedora community members who made&lt;br&gt;
name suggestions and participated in the voting.&lt;/p&gt;
&lt;p&gt;The Fedora 16 release name is: Verne&lt;/p&gt;
&lt;p&gt;Voting period:  Tuesday 2011-04-05 00:00:00 to Monday 2011-04-11 23:59:59&lt;br&gt;
Number of valid ballots cast:  421&lt;/p&gt;
&lt;p&gt;Using the &lt;a class=&#34;zem_slink&#34; title=&#34;Range voting&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Range_voting&#34;&gt;range voting&lt;/a&gt; method, each candidate could attain a maximum&lt;br&gt;
of (421*9) = 3789 votes.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>sakura – Reaaly good terminal with very few dependencies.</title>
      <link>/2011/03/30/sakura-reaaly-good-terminal-with-very-few-dependencies/</link>
      <pubDate>Wed, 30 Mar 2011 17:43:35 +0000</pubDate>
      
      <guid>/2011/03/30/sakura-reaaly-good-terminal-with-very-few-dependencies/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I was searching for something in the &lt;a class=&#34;zem_slink&#34; title=&#34;Fedora (operating system)&#34; rel=&#34;homepage&#34; href=&#34;http://www.fedoraproject.org/&#34;&gt;Fedora&lt;/a&gt; repos and found a really good terminal, sakura. Its very much like &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME Terminal&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/GNOME_Terminal&#34;&gt;Gnome-terminal&lt;/a&gt;. I did not find much difference other than using less memory.&lt;/p&gt;
&lt;p&gt;To install:&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      sudo yum install sakura
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;and the details of the package:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Name        : sakura&lt;/dt&gt;
&lt;dt&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Arch Linux&#34; rel=&#34;homepage&#34; href=&#34;http://www.archlinux.org/&#34;&gt;Arch&lt;/a&gt; : &lt;a class=&#34;zem_slink&#34; title=&#34;P6 (microarchitecture)&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/P6_%28microarchitecture%29&#34;&gt;i686&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;Version     : 2.3.8&lt;/dt&gt;
&lt;dt&gt;Release     : 1.fc14&lt;/dt&gt;
&lt;dt&gt;Size        : 137 k&lt;/dt&gt;
&lt;dt&gt;Repo        : installed&lt;/dt&gt;
&lt;dt&gt;From repo   : fedora&lt;/dt&gt;
&lt;dt&gt;Summary     : Terminal emulator based on &lt;a class=&#34;zem_slink&#34; title=&#34;GTK+&#34; rel=&#34;homepage&#34; href=&#34;http://www.gtk.org/&#34;&gt;GTK&lt;/a&gt; and VTE&lt;/dt&gt;
&lt;dt&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Uniform Resource Locator&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Uniform_Resource_Locator&#34;&gt;URL&lt;/a&gt; : &lt;a href=&#34;http://pleyades.net/david/sakura.php&#34;&gt;http://pleyades.net/david/sakura.php&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;License     : &lt;a class=&#34;zem_slink&#34; title=&#34;GNU General Public License&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/GNU_General_Public_License&#34;&gt;GPLv2&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;Description : Sakura is a &lt;a class=&#34;zem_slink&#34; title=&#34;Terminal emulator&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Terminal_emulator&#34;&gt;terminal emulator&lt;/a&gt; based on GTK and VTE. It’s a terminal emulator&lt;/dt&gt;
&lt;dd&gt;with few dependencies, so you don’t need a full &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME&#34; rel=&#34;homepage&#34; href=&#34;http://www.gnome.org/&#34;&gt;GNOME desktop&lt;/a&gt; installed to&lt;/dd&gt;
&lt;dd&gt;have a decent terminal emulator.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://www.prweb.com/releases/prweb2011/3/prweb8197821.htm&#34;&gt;Zephyr Announces Support for Internet Explorer 9&lt;/a&gt; (prweb.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://www.adafruit.com/blog/2011/01/25/vintage-terminal-emulator/&#34;&gt;Vintage Terminal Emulator&lt;/a&gt; (adafruit.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://www.ghacks.net/2011/02/25/gnome-terminal-tricks-and-tips/&#34;&gt;GNOME Terminal tricks and tips&lt;/a&gt; (ghacks.net)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;border: medium none; float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;span class=&#34;zem-script more-related pretty-attribution&#34;&gt;&lt;/span&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>use finch, less memory and cpu usage, in replacement for pidgin.</title>
      <link>/2011/03/27/use-finch-less-memory-and-cpu-usage-in-replacement-for-pidgin/</link>
      <pubDate>Sun, 27 Mar 2011 06:50:14 +0000</pubDate>
      
      <guid>/2011/03/27/use-finch-less-memory-and-cpu-usage-in-replacement-for-pidgin/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Well, if you are on linux then you have options – is a known fact. But how those options help?&lt;/p&gt;
&lt;p&gt;I was working on a machine which had very less &lt;a class=&#34;zem_slink&#34; title=&#34;Random-access memory&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Random-access_memory&#34;&gt;RAM&lt;/a&gt; and was quite old system and it was running F14. Guess what would be the state of the system with pidgin, xmms, firefox, evolution and couple of terminals. Now, this is where if you could save a few cycles of &lt;a class=&#34;zem_slink&#34; title=&#34;Central processing unit&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Central_processing_unit&#34;&gt;CPU&lt;/a&gt; then you can actullay see the difference in sluggish &lt;a class=&#34;zem_slink&#34; title=&#34;Graphical user interface&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Graphical_user_interface&#34;&gt;GUI&lt;/a&gt; and and an okay sort of GUI. So, first off, kill pidgin and use finch.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Try all colors in xterm with script before setting the color</title>
      <link>/2011/03/18/try-all-colors-in-xterm-with-script-before-setting-the-color/</link>
      <pubDate>Fri, 18 Mar 2011 07:41:39 +0000</pubDate>
      
      <guid>/2011/03/18/try-all-colors-in-xterm-with-script-before-setting-the-color/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you are looking for testing the &lt;a class=&#34;zem_slink&#34; title=&#34;Color&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Color&#34;&gt;colors&lt;/a&gt; on how they would look like in the &lt;a class=&#34;zem_slink&#34; title=&#34;Xterm&#34; rel=&#34;homepage&#34; href=&#34;http://invisible-island.net/xterm/&#34;&gt;xterm&lt;/a&gt; before you set the color then here is a small script for you.&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;2&lt;br /&gt;3&lt;br /&gt;4&lt;br /&gt;5&lt;br /&gt;6&lt;br /&gt;7&lt;br /&gt;8&lt;br /&gt;9&lt;br /&gt;10&lt;br /&gt;11&lt;br /&gt;12&lt;br /&gt;13&lt;br /&gt;14&lt;br /&gt;15&lt;br /&gt;16&lt;br /&gt;17&lt;br /&gt;18&lt;br /&gt;19&lt;br /&gt;20&lt;br /&gt;21&lt;br /&gt;22&lt;br /&gt;23&lt;br /&gt;24&lt;br /&gt;25&lt;br /&gt;26&lt;br /&gt;27&lt;br /&gt;28&lt;br /&gt;29&lt;br /&gt;30&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      #!/bin/bash -&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; #          FILE:  xterm_colors-test.sh&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; #         USAGE:  ./xterm_colors-test.sh&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; #   DESCRIPTION:  Test all the colors for xterm bg&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; #       OPTIONS:  ---&amp;lt;br /&amp;gt; #  REQUIREMENTS:  ---&amp;lt;br /&amp;gt; #          BUGS:  ---&amp;lt;br /&amp;gt; #         NOTES:  ---&amp;lt;br /&amp;gt; #        AUTHOR:   Amit Agarwal (amit.agarwal@amit-agarwal.co.in), aka&amp;lt;br /&amp;gt; #       COMPANY:  Individual&amp;lt;br /&amp;gt; #       VERSION:  1.0&amp;lt;br /&amp;gt; #       CREATED:  02/18/2011 01:02:51 PM IST&amp;lt;br /&amp;gt; #      REVISION:  1.0&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; cat /usr/share/X11/rgb.txt |sed &#39;s/\([0-9]\{1,3\}[ \t]*\)\{3\}//&#39;|sed &#39;s/^ *//&#39; &amp;gt;~/rgb.txt&amp;lt;br /&amp;gt; while read line&amp;lt;br /&amp;gt; do&amp;lt;br /&amp;gt; bg=$(echo $line)&amp;lt;br /&amp;gt; echo $line&amp;lt;br /&amp;gt; echo &amp;quot;Trying $bg color&amp;quot;&amp;lt;br /&amp;gt; xterm -bg &amp;quot;$bg&amp;quot;&amp;amp;&amp;lt;br /&amp;gt; sleep 5&amp;lt;br /&amp;gt; kill -9 $!&amp;lt;br /&amp;gt; done &amp;lt; ~/rgb.txt
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;This can be used in various ways but I will leave the choice to you. One option that I should probably still tell is :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>All in one solution for all the scripts of vim from vim.org</title>
      <link>/2011/03/09/all-in-one-solution-for-all-the-scripts-of-vim-from-vim-org/</link>
      <pubDate>Wed, 09 Mar 2011 16:39:52 +0000</pubDate>
      
      <guid>/2011/03/09/all-in-one-solution-for-all-the-scripts-of-vim-from-vim-org/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;For quite sometime now, I was looking for some console based program which would help me get the scripts from vim.org. A simple solution would have been to do a wget for the scripts. But since there are so many scripts coming up daily and with a need to search based on script ID and name of the script, I thought better to write a script that can do all of those things. Now, what was required was that the script should be either able to download this or add to the &lt;a title=&#34;GLVS&#34; href=&#34;http://www.vim.org/scripts/script.php?script_id=2444&#34; target=&#34;_blank&#34;&gt;GLVS&lt;/a&gt; script. Also note that, I had done something similar in the past &lt;a title=&#34;vim – get the list of all the scripts available.&#34; href=&#34;http://blog.amit-agarwal.co.in/2010/05/28/vim-get-the-list-of-all-the-scripts-available/&#34; target=&#34;_blank&#34;&gt;here&lt;/a&gt;. There are some additions in the below script. You can download a copy of the script &lt;a href=&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2011/03/get_vim_scripts.txt&#34;&gt;get_vim_scripts&lt;/a&gt;. Or you can copy the script from below:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>configuration for afraid-dyndns on Fedora and other similar distro.</title>
      <link>/2011/03/04/configuration-for-afraid-dyndns-on-fedora-and-other-similar-distro/</link>
      <pubDate>Fri, 04 Mar 2011 16:42:56 +0000</pubDate>
      
      <guid>/2011/03/04/configuration-for-afraid-dyndns-on-fedora-and-other-similar-distro/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;First install afraid-dyndns with the command:&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      sudo yum install afraid-dyndns
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;Now open the &lt;a class=&#34;zem_slink&#34; title=&#34;Configuration file&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Configuration_file&#34;&gt;configuration file&lt;/a&gt; /etc/afraid-dyndns.cfg and we need to change the following:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Notify = root@localhost # leave empty to suppress notifications&lt;br&gt;
CacheFile = /var/cache/afraid-dyndns/IP&lt;br&gt;
AccountHash = &lt;value&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;For the Account hash, head over to &lt;a href=&#34;http://freedns.afraid.org/api/ &#34; target=&#34;_blank&#34;&gt;&lt;a href=&#34;http://freedns.afraid.org/api/&#34;&gt;http://freedns.afraid.org/api/&lt;/a&gt; &lt;/a&gt;login and then click one of the &lt;a class=&#34;zem_slink&#34; title=&#34;XML&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/XML&#34;&gt;XML&lt;/a&gt; or the &lt;a class=&#34;zem_slink&#34; title=&#34;ASCII&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/ASCII&#34;&gt;ASCII&lt;/a&gt; links there. Once the page has loaded, look at the &lt;a class=&#34;zem_slink&#34; title=&#34;Uniform Resource Locator&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Uniform_Resource_Locator&#34;&gt;URL&lt;/a&gt; which is of form:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Gnome Tips</title>
      <link>/2011/02/25/gnome-tips/</link>
      <pubDate>Fri, 25 Feb 2011 13:03:43 +0000</pubDate>
      
      <guid>/2011/02/25/gnome-tips/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&#34;font-size: medium;&#34;&gt;Add/Edit &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME Display Manager&#34; rel=&#34;homepage&#34; href=&#34;http://www.gnome.org/projects/gdm/&#34;&gt;GDM&lt;/a&gt; Sessions&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Each session is a *.desktop file located at /usr/share/xsessions.&lt;/p&gt;
&lt;h3 id=&#34;span-stylefont-size-mediumgdm-appearancespan&#34;&gt;&lt;strong&gt;&lt;span style=&#34;font-size: medium;&#34;&gt;GDM appearance&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;You can change background image, gtk/icon theme by hands (as described at &lt;a href=&#34;https://wiki.archlinux.org/index.php/Gnome_2.28_Changes#Configuring_gdm_2.28&#34;&gt;Gnome_2.28_Changes#Configuring_gdm_2.28&lt;/a&gt;), or you can use &lt;a href=&#34;http://aur.archlinux.org/packages.php?ID=33884&#34;&gt;gdm2setup&lt;/a&gt; from the &lt;a href=&#34;https://wiki.archlinux.org/index.php/AUR&#34;&gt;AUR&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;span-stylefont-size-mediumtweakingspan&#34;&gt;&lt;strong&gt;&lt;span style=&#34;font-size: medium;&#34;&gt;Tweaking&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;If your gnome applications seem sluggish and gnome hangs at start-up after killing the previous session, it’s likely you haven’t set your /etc/hosts file correctly and your /etc/hosts file includes:&lt;/p&gt;
&lt;pre&gt;127.0.0.1       localhost.localdomain     localhost      &lt;strong&gt;YOURHOSTNAME&lt;/strong&gt;&lt;/pre&gt;
&lt;p&gt;Then run “&lt;tt&gt;/bin/hostname YOURHOSTNAME&lt;/tt&gt;” and “&lt;tt&gt;/sbin/ifconfig lo up&lt;/tt&gt;” as root.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Using ssmtp to send mail using gmail.</title>
      <link>/2011/02/19/ssmtp-send-mail-gmail/</link>
      <pubDate>Sat, 19 Feb 2011 15:18:03 +0000</pubDate>
      
      <guid>/2011/02/19/ssmtp-send-mail-gmail/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;First install the package ssmtp using the command:&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      sudo yum install ssmtp
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;Open the &lt;a class=&#34;zem_slink&#34; title=&#34;Configuration file&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Configuration_file&#34;&gt;configuration file&lt;/a&gt; for ssmtp as &lt;a class=&#34;zem_slink&#34; title=&#34;Superuser&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Superuser&#34;&gt;root user&lt;/a&gt;:&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      vim /etc/ssmtp/ssmtp.conf
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;Make the following changes to the configuration file:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href=&#34;mailto:root=**username**@gmail.com&#34;&gt;root=**username**@gmail.com&lt;/a&gt;&lt;br&gt;
mailhub=smtp.gmail.com:587&lt;br&gt;
&lt;a href=&#34;mailto:hostname=**username**@gmail.com&#34;&gt;hostname=**username**@gmail.com&lt;/a&gt;&lt;br&gt;
UseSTARTTLS=YES&lt;br&gt;
AuthUser=&lt;strong&gt;username&lt;/strong&gt;&lt;br&gt;
AuthPass=&lt;strong&gt;password&lt;/strong&gt;&lt;br&gt;
FromLineOverride=yes&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In order to make the default (root) “from” field be the server name,&lt;br&gt;
edit the /etc/ssmtp/revaliases file as root user :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>vino – connect to running GNome session like RDP</title>
      <link>/2011/02/04/vino-connect-to-running-gnome-session-like-rdp/</link>
      <pubDate>Fri, 04 Feb 2011 00:31:48 +0000</pubDate>
      
      <guid>/2011/02/04/vino-connect-to-running-gnome-session-like-rdp/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;One thing that all of us Linux users have probably missed is connecting to the running &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME&#34; rel=&#34;homepage&#34; href=&#34;http://www.gnome.org/&#34;&gt;GNome&lt;/a&gt; &lt;a class=&#34;zem_slink&#34; title=&#34;Session management&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Session_management&#34;&gt;session&lt;/a&gt; to see what is going on in the running session. This can be quite handy in couple of situations:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Debugging&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Debugging&#34;&gt;Debugging&lt;/a&gt; remote sessions – where you do not want a new session, instead want to connect to running session.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Maintaining running session from another &lt;a class=&#34;zem_slink&#34; title=&#34;Personal computer&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Personal_computer&#34;&gt;PC&lt;/a&gt;. If you are running some applications on some &lt;a class=&#34;zem_slink&#34; title=&#34;Linux&#34; rel=&#34;homepage&#34; href=&#34;http://www.kernel.org/&#34;&gt;Linux box&lt;/a&gt; and want to gracefully stop it using some commands other than kill -9 then it is best that you connect to the running session, if you are not using screen.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash mathematical calculators.</title>
      <link>/2011/01/26/bash-mathematical-calculators/</link>
      <pubDate>Tue, 25 Jan 2011 21:46:34 +0000</pubDate>
      
      <guid>/2011/01/26/bash-mathematical-calculators/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;To start with , the most simple and easy to use should be “bc”. but just for some guys who want to be more experimental, here are few more bash calulator programs. These are completely command line and thus you can completely integrate them in your shell script or use them in shell script to do some really crazy maths calculations.&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      sudo yum install calc clac
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;Lets start with installing these. Before we start, don’t blame and flame me if your favourite is not there in the list. If it is not, better is you drop me  a comment or email, and I will see, if I can include it in the list above, but remember this is only for console based calculators.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Find all the missing paths in the PATH variable in bash script</title>
      <link>/2011/01/20/find-missing-paths-path-variable-bash-script/</link>
      <pubDate>Thu, 20 Jan 2011 02:36:00 +0000</pubDate>
      
      <guid>/2011/01/20/find-missing-paths-path-variable-bash-script/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here is a simple script that will list out all the paths in the PATH variable that do not exist.&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;2&lt;br /&gt;3&lt;br /&gt;4&lt;br /&gt;5&lt;br /&gt;6&lt;br /&gt;7&lt;br /&gt;8&lt;br /&gt;9&lt;br /&gt;10&lt;br /&gt;11&lt;br /&gt;12&lt;br /&gt;13&lt;br /&gt;14&lt;br /&gt;15&lt;br /&gt;16&lt;br /&gt;17&lt;br /&gt;18&lt;br /&gt;19&lt;br /&gt;20&lt;br /&gt;21&lt;br /&gt;22&lt;br /&gt;23&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      #!/bin/bash -&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; #          FILE:  wrong_path.sh&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; #         USAGE:  ./wrong_path.sh&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; #   DESCRIPTION:  Show Directories in the PATH Which does NOT Exist&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; #       OPTIONS:  ---&amp;lt;br /&amp;gt; #  REQUIREMENTS:  ---&amp;lt;br /&amp;gt; #          BUGS:  ---&amp;lt;br /&amp;gt; #         NOTES:  ---&amp;lt;br /&amp;gt; #        AUTHOR:  Amit Agarwal (AKA), amit.agarwal@amit-agarwal.co.in&amp;lt;br /&amp;gt; #       COMPANY:  Individual&amp;lt;br /&amp;gt; #       VERSION:  1.0&amp;lt;br /&amp;gt; #       CREATED:  09/20/2009 09:15:48 AM IST&amp;lt;br /&amp;gt; #      REVISION:  ---&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; set -o nounset                              # Treat unset variables as an error&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; (IFS=:;for p in $PATH; do test -d $p || echo $p; done)
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>bash 4.0 –  new feature mapfile</title>
      <link>/2011/01/15/bash-40-feature-mapfile/</link>
      <pubDate>Fri, 14 Jan 2011 22:27:15 +0000</pubDate>
      
      <guid>/2011/01/15/bash-40-feature-mapfile/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Recently I encountered a problem where I had to create couple of arrays in bash and these were quite dynamic in nature. This script was supposed to be used by couple of guys whom I did not trust too much in opening the script and modifyikng the array. So, the solution was to put these in different files and then put them in array using bash script itself. This is when I went through the bash man page again and found an interesting new inbuilt &lt;strong&gt;&lt;em&gt;mapfile&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>perl is faster than bash in some cases.</title>
      <link>/2011/01/12/perl-faster-bash-cases/</link>
      <pubDate>Tue, 11 Jan 2011 21:45:47 +0000</pubDate>
      
      <guid>/2011/01/12/perl-faster-bash-cases/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Some days back, I had to generate some &lt;a class=&#34;zem_slink&#34; title=&#34;Data&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Data&#34;&gt;data&lt;/a&gt; to be uploaded to a database. As usual I assumed that bash should be faster and hence wrote the script to create the files in bash. But I found that even after 5 hours I was only 10% done with the data generation. Now that would mean that it would take around 50 hours to complete the data generation. Something did not look correct to me and I asked one of my colleague. He suggested I do a &lt;a class=&#34;zem_slink&#34; title=&#34;Strace&#34; rel=&#34;homepage&#34; href=&#34;http://sourceforge.net/projects/strace/&#34;&gt;strace&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Install a fully functional terminal server capable of accepting connections from RDP(Windows).</title>
      <link>/2010/12/12/install-a-fully-functional-terminal-server-capable-of-accepting-connections-from-rdpwindows/</link>
      <pubDate>Sun, 12 Dec 2010 03:28:43 +0000</pubDate>
      
      <guid>/2010/12/12/install-a-fully-functional-terminal-server-capable-of-accepting-connections-from-rdpwindows/</guid>
      <description>&lt;div class=&#34;zemanta-img&#34; style=&#34;margin: 1em; display: block;&#34;&gt;
  &lt;div&gt;
    &lt;dl class=&#34;wp-caption alignright&#34; style=&#34;width: 250px;&#34;&gt;
      &lt;dt class=&#34;wp-caption-dt&#34;&gt;
        &lt;a href=&#34;http://www.flickr.com/photos/82365211@N00/2473197800&#34;&gt;&lt;img title=&#34;Seats rebooting Linux&#34; src=&#34;https://i2.wp.com/farm3.static.flickr.com/2080/2473197800_b8838615a6_m.jpg?resize=240%2C180&#34; alt=&#34;Seats rebooting Linux&#34; width=&#34;240&#34; height=&#34;180&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
      &lt;/dt&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;dd class=&amp;quot;wp-caption-dd zemanta-img-attribution&amp;quot; style=&amp;quot;font-size: 0.8em;&amp;quot;&amp;gt;
    Image by &amp;lt;a href=&amp;quot;http://www.flickr.com/photos/82365211@N00/2473197800&amp;quot;&amp;gt;kalleboo&amp;lt;/a&amp;gt; via Flickr
  &amp;lt;/dd&amp;gt;
&amp;lt;/dl&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Inoformation on &lt;a class=&#34;zem_slink&#34; title=&#34;Xrdp&#34; rel=&#34;homepage&#34; href=&#34;http://xrdp.sourceforge.net/&#34;&gt;xrdp&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The goal of this project is to provide a fully functional &lt;a class=&#34;zem_slink&#34; title=&#34;Linux console&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Linux_console&#34;&gt;Linux terminal&lt;/a&gt; server, capable of accepting connections from &lt;a class=&#34;zem_slink&#34; title=&#34;Rdesktop&#34; rel=&#34;homepage&#34; href=&#34;http://www.rdesktop.org/&#34;&gt;rdesktop&lt;/a&gt; and &lt;a class=&#34;zem_slink&#34; title=&#34;Microsoft&#34; rel=&#34;geolocation&#34; href=&#34;http://maps.google.com/maps?ll=47.6395972222,-122.12845&amp;spn=1.0,1.0&amp;q=47.6395972222,-122.12845%20%28Microsoft%29&amp;t=h&#34;&gt;Microsoft’s&lt;/a&gt; own &lt;a class=&#34;zem_slink&#34; title=&#34;Terminal server&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Terminal_server&#34;&gt;terminal server&lt;/a&gt; / &lt;a class=&#34;zem_slink&#34; title=&#34;Remote Desktop Protocol&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Remote_Desktop_Protocol&#34;&gt;remote desktop&lt;/a&gt; clients.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      &amp;amp;nbsp;sudo yum install xrdp
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;There is not much configuration needed for this so I will not go into details. If you are stuck with something though, you can ask in the comments for the post.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>List all installed rpm packages and it’s size</title>
      <link>/2010/12/09/list-all-installed-rpm-packages-and-it%E2%80%99s-size/</link>
      <pubDate>Thu, 09 Dec 2010 03:12:44 +0000</pubDate>
      
      <guid>/2010/12/09/list-all-installed-rpm-packages-and-it%E2%80%99s-size/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you are looking for a command to see the disk usage by each of the &lt;a class=&#34;zem_slink&#34; title=&#34;Revolutions per minute&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Revolutions_per_minute&#34;&gt;rpm&lt;/a&gt;‘s then you can use this command:&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      &amp;amp;nbsp;rpm -q --queryformat &amp;quot;%10{SIZE}\t%{NAME}\n&amp;quot;
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;And if you use this command very regularly then you can create an alias like&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      &amp;amp;nbsp;alias rpm_size=&#39;rpm -q --queryformat &amp;quot;%10{SIZE}\t%{NAME}\n&amp;quot; &#39;
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;and use it like&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>New feature in Gnome/Nautilus</title>
      <link>/2010/12/05/feature-gnomenautilus/</link>
      <pubDate>Sun, 05 Dec 2010 01:39:10 +0000</pubDate>
      
      <guid>/2010/12/05/feature-gnomenautilus/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;One of the things that I never realized that I am missing in Nautilus until they put the feature in was this. When a &lt;a class=&#34;zem_slink&#34; title=&#34;Computer file&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Computer_file&#34;&gt;file&lt;/a&gt; is being copied and there is conflict, there should be option to rename the new file being copied. Also, if the file being copied is image then a small preview/thumbnail would be good.&lt;/p&gt;
&lt;p&gt;Yesterday while copying some &lt;a class=&#34;zem_slink&#34; title=&#34;Computer file&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Computer_file&#34;&gt;files&lt;/a&gt;, suddenly I noticed that this feature is there now. Pretty useful feature to have. Here’s the screen-shot.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Make any command read line enabled (on *nix)</title>
      <link>/2010/11/25/command-read-line-enabled-nix/</link>
      <pubDate>Thu, 25 Nov 2010 04:02:18 +0000</pubDate>
      
      <guid>/2010/11/25/command-read-line-enabled-nix/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Make any command read line enabled (on *nix)&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      rlwrap sqlite3 database.db
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;Enable &lt;a class=&#34;zem_slink&#34; title=&#34;GNU readline&#34; rel=&#34;homepage&#34; href=&#34;http://tiswww.tis.case.edu/%7Echet/readline/rltop.html&#34;&gt;readline&lt;/a&gt; even if the &lt;a class=&#34;zem_slink&#34; title=&#34;Command-line interface&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Command-line_interface&#34;&gt;command line&lt;/a&gt; application is not using it.&lt;/p&gt;
&lt;p&gt;* View this command to comment, vote or add to favourites * View all commands by pykler&lt;/p&gt;
&lt;p&gt;commandlinefu.com&lt;/p&gt;
&lt;p&gt;by David Winterbottom (codeinthehole.com)&lt;/p&gt;
&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Uniform Resource Locator&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Uniform_Resource_Locator&#34;&gt;URL&lt;/a&gt;: &lt;a href=&#34;http://feedproxy.google.com/~r/Command-line-fu/~3/mKEgYoyHCMA/make-any-command-read-line-enabled-on-nix&#34;&gt;http://feedproxy.google.com/~r/Command-line-fu/~3/mKEgYoyHCMA/make-any-command-read-line-enabled-on-nix&lt;/a&gt;&lt;/p&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://blog.amit-agarwal.co.in/2010/09/01/commands-output-input-command-piping-bind-key-sequence-bash/&#34;&gt;Use the last command&amp;#8217;s output as input to a command without piping and bind to it to a key sequence in bash.&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://www.kungfugrippe.com/post/929042234/dterm&#34;&gt;DTerm: A command line anywhere and everywhere Oh, man. DTerm =&amp;#8230;&lt;/a&gt; (kungfugrippe.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://hackerz4u.com/python/python-command-line-linux-bash-command-line/&#34;&gt;Python command line = Linux Bash command line&lt;/a&gt; (hackerz4u.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://infosthetics.com/archives/2010/10/data_hacks_ascii_bar_charts.html&#34;&gt;Data Hacks: Command Line ASCII Bar Charts&lt;/a&gt; (infosthetics.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://www.readwriteweb.com/hack/2010/09/commandlinefu-linux-command-he.php&#34;&gt;Hack of the Day: commandlinefu &amp;#8211; Linux Command Heaven&lt;/a&gt; (readwriteweb.com)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;border: medium none; float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;span class=&#34;zem-script more-related pretty-attribution&#34;&gt;&lt;/span&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>intercept stdout/stderr of another process or disowned process</title>
      <link>/2010/11/23/intercept-stdoutstderr-process-disowned-process/</link>
      <pubDate>Tue, 23 Nov 2010 12:51:27 +0000</pubDate>
      
      <guid>/2010/11/23/intercept-stdoutstderr-process-disowned-process/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;The command is definately going to save your day if you have &lt;a class=&#34;zem_slink&#34; title=&#34;Disownment&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Disownment&#34;&gt;disowned&lt;/a&gt; the process by mistake. Only uses &lt;a class=&#34;zem_slink&#34; title=&#34;Strace&#34; rel=&#34;homepage&#34; href=&#34;http://sourceforge.net/projects/strace/&#34;&gt;strace&lt;/a&gt; so might as &lt;a class=&#34;zem_slink&#34; title=&#34;Well intervention&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Well_intervention&#34;&gt;well work&lt;/a&gt; on &lt;a class=&#34;zem_slink&#34; title=&#34;Solaris (operating system)&#34; rel=&#34;homepage&#34; href=&#34;http://oracle.com/solaris&#34;&gt;Solaris&lt;/a&gt; also, though not tried it.&lt;/p&gt;
&lt;p&gt;intercept stdout/&lt;a class=&#34;zem_slink&#34; title=&#34;Standard streams&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Standard_streams&#34;&gt;stderr&lt;/a&gt; of another process or disowned process&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      strace -e write=1,2 -p $PID 2&amp;gt;&amp;amp;1 | sed -un &amp;quot;/^ |/p&amp;quot; | sed -ue &amp;quot;s/^.{9 }(.{50}).+/1/g&amp;quot; -e &#39;s/ //g&#39; | xxd -r -p
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;Useful to recover a output(stdout and stderr) “disown”ed or “&lt;a class=&#34;zem_slink&#34; title=&#34;Nohup&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Nohup&#34;&gt;nohup&lt;/a&gt;“ep process of other instance of ssh.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Broadcast your shell thru port 5000</title>
      <link>/2010/11/20/broadcast-shell-port-5000/</link>
      <pubDate>Sat, 20 Nov 2010 12:47:31 +0000</pubDate>
      
      <guid>/2010/11/20/broadcast-shell-port-5000/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Broadcast your shell thru port 5000&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      mkfifo /tmp/fifo;(nc -q0 -l 5000 &amp;lt; /tmp/fifo &amp;amp;);script -f /tmp/fifo
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;run&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      nc yourip 5000
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;elsewhere will produce an exact same mirror of your shell. This is handy when you want to show someone else some amazing stuff in your shell without giving them control over it.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Print all environment variables, including hidden ones</title>
      <link>/2010/11/09/print-environment-variables-including-hidden/</link>
      <pubDate>Tue, 09 Nov 2010 14:46:15 +0000</pubDate>
      
      <guid>/2010/11/09/print-environment-variables-including-hidden/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Print all &lt;a class=&#34;zem_slink&#34; title=&#34;Environment variable&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Environment_variable&#34;&gt;environment variables&lt;/a&gt;, including hidden ones&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      for _a in {A..Z} {a..z};do _z=${!${_a}*};for _i in `eval echo &amp;quot;${_z}&amp;quot;`;do echo -e &amp;quot;$_i: ${!_i}&amp;quot;;done;done|cat -Tsv
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;This uses some tricks I found while reading the bash &lt;a class=&#34;zem_slink&#34; title=&#34;Man page&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Man_page&#34;&gt;man page&lt;/a&gt; to enumerate and display all the current environment variables, including those not listed by the ‘&lt;a class=&#34;zem_slink&#34; title=&#34;Env&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Env&#34;&gt;env&lt;/a&gt;‘ command which according to the bash docs are more for internal use by &lt;a class=&#34;zem_slink&#34; title=&#34;Bash (Unix shell)&#34; rel=&#34;homepage&#34; href=&#34;http://tiswww.case.edu/php/chet/bash/bashtop.html&#34;&gt;BASH&lt;/a&gt;. The main trick is the way bash will list all environment variable names when performing expansion on ${!A*}. Then the eval builtin makes it work in a loop.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Announcing the release of Fedora 14 and upgrade procedure.</title>
      <link>/2010/11/03/announcing-the-release-of-fedora-14/</link>
      <pubDate>Wed, 03 Nov 2010 14:44:02 +0000</pubDate>
      
      <guid>/2010/11/03/announcing-the-release-of-fedora-14/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Before you read the release announcement, you can update/upgrade to F14 with :&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      &amp;amp;nbsp;sudo yum upgrade --releasever=14
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;Note : You might get some un-resolvable dependencies, you can remove those pakages and continue and it should be a smooth migration.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It’s here! It’s here! It’s really here! &lt;a class=&#34;zem_slink&#34; title=&#34;Fedora&#34; rel=&#34;homepage&#34; href=&#34;http://fedoraproject.org/&#34;&gt;Fedora&lt;/a&gt; 14 has been officially released! Fedora is a leading edge, free and open source operating system that continues to deliver innovative features to many users, with a new release approximately every six months.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Photo Editing with nice border and preparing for print.</title>
      <link>/2010/11/02/photo-editing-with-nice-border-and-preparing-for-print/</link>
      <pubDate>Tue, 02 Nov 2010 09:43:36 +0000</pubDate>
      
      <guid>/2010/11/02/photo-editing-with-nice-border-and-preparing-for-print/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Working with photos in &lt;a class=&#34;zem_slink&#34; title=&#34;Linux&#34; rel=&#34;homepage&#34; href=&#34;http://www.kernel.org/&#34;&gt;Linux&lt;/a&gt; is very easy with lots of viewers/editors/managers and what not. Not that there are not many options in &lt;a class=&#34;zem_slink&#34; title=&#34;Windows&#34; rel=&#34;homepage&#34; href=&#34;http://www.microsoft.com/WINDOWS&#34;&gt;Windows&lt;/a&gt; but most of them are not free. BEST case scenario is that you might get a evaluation version (i.e. if you do not use pirated/cracked version) of &lt;a class=&#34;zem_slink&#34; title=&#34;Computer software&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Computer_software&#34;&gt;software&lt;/a&gt;‘s. Me, being completely against pirated and cracked version or evaluation version (if not, planning to buy the same) like the freedom of choice with Linux.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>taskcoach – one of the best approach to manage your tasks</title>
      <link>/2010/10/22/taskcoach-one-of-the-best-approach-to-manage-your-tasks/</link>
      <pubDate>Fri, 22 Oct 2010 10:02:15 +0000</pubDate>
      
      <guid>/2010/10/22/taskcoach-one-of-the-best-approach-to-manage-your-tasks/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Task &lt;a class=&#34;zem_slink&#34; title=&#34;Coach (sport)&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Coach_%28sport%29&#34;&gt;coach&lt;/a&gt; is task planner with reminder, subtask and &lt;a class=&#34;zem_slink&#34; title=&#34;Timesheet&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Timesheet&#34;&gt;time tracking&lt;/a&gt;, simply put. More elaborate description :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Task Coach is a simple &lt;a class=&#34;zem_slink&#34; title=&#34;Open Source&#34; rel=&#34;wikinvest&#34; href=&#34;http://www.wikinvest.com/concept/Open_Source&#34;&gt;open source&lt;/a&gt; todo manager to manage personal tasks and todo lists. It grew out of a frustration that well-known task managers, such as those provided with &lt;a class=&#34;zem_slink&#34; title=&#34;Microsoft Outlook&#34; rel=&#34;homepage&#34; href=&#34;http://office.microsoft.com/en-us/outlook&#34;&gt;Outlook&lt;/a&gt; or &lt;a class=&#34;zem_slink&#34; title=&#34;IBM Lotus Notes&#34; rel=&#34;homepage&#34; href=&#34;http://www.ibm.com/software/lotus/products/notes/&#34;&gt;Lotus Notes&lt;/a&gt;, do not provide facilities for composite tasks. Often, tasks and other things todo consist of several activities.  Task Coach is designed to deal with composite tasks.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>List all the rpms by size – quick way to find out what is eating your disk space in root partition</title>
      <link>/2010/10/13/list-rpms-size-quick-find-eating-disk-space-root-partition/</link>
      <pubDate>Wed, 13 Oct 2010 20:38:35 +0000</pubDate>
      
      <guid>/2010/10/13/list-rpms-size-quick-find-eating-disk-space-root-partition/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here is a quick command to check the list of installed packages by their size in reverse order. Very useful if you want to remove unwanted rpms just to clean up some space on your disk:&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      rpm -q -a --qf &amp;quot;%10{SIZE}\t%{NAME}\n&amp;quot; | sort -k1,1nr |more
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;Sample output:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;78070452    kernel&lt;br&gt;
78060477    kernel&lt;br&gt;
50708634    jre&lt;br&gt;
50316408    libgcj&lt;br&gt;
48581593    wireshark&lt;br&gt;
47778643    gimp&lt;br&gt;
47674675    jre&lt;br&gt;
47303084    qt-x11&lt;br&gt;
45838912    otrs&lt;br&gt;
45657248    chromium-libs&lt;br&gt;
42070128    wxPython&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>viewnior – another image viewer on Linux (with support for GIF)</title>
      <link>/2010/09/25/viewnior-another-image-viewer-on-linux-with-support-for-gif/</link>
      <pubDate>Sat, 25 Sep 2010 16:21:26 +0000</pubDate>
      
      <guid>/2010/09/25/viewnior-another-image-viewer-on-linux-with-support-for-gif/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here is another Linux viewer (Image) that is worth a mention. URL : &amp;lt;a href=&amp;quot;http://xsisqox.github.com/Viewnior&amp;quot;&amp;gt;http://xsisqox.github.com/Viewnior&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt; :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Viewnior is an &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Image viewer&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Image_viewer&amp;quot;&amp;gt;image viewer&lt;/a&gt; program. Created to be simple, fast and elegant.  It&amp;amp;#8217;s minimalistic interface provides more screen space for your images. Among  its features are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Fullscreen &amp;amp; Slideshow&lt;/li&gt;
&lt;li&gt;Rotate, flip, save, delete images&lt;/li&gt;
&lt;li&gt;Animation support&lt;/li&gt;
&lt;li&gt;Browse only selected images&lt;/li&gt;
&lt;li&gt;Navigation window&lt;/li&gt;
&lt;li&gt;Simple interface&lt;/li&gt;
&lt;li&gt;Configurable &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Mouse (computing)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Mouse_%28computing%29&amp;quot;&amp;gt;mouse&lt;/a&gt; actions&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;The best part about the viewer is the ability to display gif inherently. Worth a look if you are using a lot of gif images.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash script to run a command and take screenshot in every loop.</title>
      <link>/2010/09/24/bash-script-to-run-a-command-and-take-screenshot-in-every-loop/</link>
      <pubDate>Fri, 24 Sep 2010 16:02:14 +0000</pubDate>
      
      <guid>/2010/09/24/bash-script-to-run-a-command-and-take-screenshot-in-every-loop/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Couple of days back, I had posted a command to display a stop timer with bash and echo. There I had also put the following gif file:&lt;/p&gt;
&lt;p&gt;&amp;lt;img class=&amp;quot;size-medium wp-image-2555&amp;quot; title=&amp;quot;bash screenshot for the script output&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/09/temp-300x170.gif&amp;quot; alt=&amp;quot;bash screenshot for the script output&amp;quot; width=&amp;quot;300&amp;quot; height=&amp;quot;170&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;Here the tricky part was to capture the jpg&amp;amp;#8217;s to create the gif file.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Preparation:&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Rename the terminal to aka – amit-capture&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Execute the command once with the import command and check the output and jpg&amp;amp;#8217;s&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash – echo command with option to display the output on the same line.</title>
      <link>/2010/09/21/bash-echo-command-with-option-to-display-the-output-on-the-same-line/</link>
      <pubDate>Tue, 21 Sep 2010 15:15:05 +0000</pubDate>
      
      <guid>/2010/09/21/bash-echo-command-with-option-to-display-the-output-on-the-same-line/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here is a nice little trick to display the output in the same line :&lt;/p&gt;
&lt;div class=&#34;codecolorer-container bash solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;bash codecolorer&amp;quot;&amp;gt;
      &amp;amp;nbsp;&amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re5&amp;quot;&amp;gt;-ne&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;output\&amp;lt;span class=&amp;quot;es1&amp;quot;&amp;gt;\r&amp;lt;/span&amp;gt;&amp;quot;&amp;lt;/span&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;The trick here is simple, first we disable the &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Newline&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Newline&amp;quot;&amp;gt;newline&lt;/a&gt; printed by &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Echo (command)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Echo_%28command%29&amp;quot;&amp;gt;echo command&lt;/a&gt; with the &amp;amp;#8221;&lt;strong&gt;-n&lt;/strong&gt;&amp;amp;#8221; option and then we enable the interpretation of the &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Backslash&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Backslash&amp;quot;&amp;gt;backslash&lt;/a&gt; characters with the &amp;amp;#8221;&lt;strong&gt;-e&lt;/strong&gt;&amp;amp;#8221; option. As the &amp;amp;#8221;\r&amp;amp;#8221; is used as &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Carriage return&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Carriage_return&amp;quot;&amp;gt;carriage return&lt;/a&gt; which brings you to the start of the line without the newline (like in &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Typewriter&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Typewriter&amp;quot;&amp;gt;typewriter&lt;/a&gt;), we will use the same to get the desired effect. So, if you wanted a stopwatch for a 100 seconds on the console then this simple bash &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;For loop&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/For_loop&amp;quot;&amp;gt;for loop&lt;/a&gt; would do the same:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>cURL – Tutorial</title>
      <link>/2010/09/15/curl-tutorial/</link>
      <pubDate>Wed, 15 Sep 2010 07:22:57 +0000</pubDate>
      
      <guid>/2010/09/15/curl-tutorial/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here are linkw to two nice tutorials on curl and how to use curl to login before we try to fetch a page. Hope you find them useful.&lt;br&gt;
&lt;a href=&#34;%5C&#34;&gt;http://curl.haxx.se/docs/httpscripting.html&lt;/a&gt; &lt;a href=&#34;%5C&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;%5C&#34;&gt;http://www.youtube.com/watch?v=XcgQUsorF_8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;%5C&#34;&gt;http://scriptasy.com/php_11/tutorial-curl-login_44.html&lt;/a&gt;&lt;/p&gt;
&lt;h6 id=&#34;related-articles-by-zemanta-zemanta-related-title&#34;&gt;Related articles by Zemanta {.&amp;quot;zemanta-related-title&amp;quot;}&lt;/h6&gt;
&lt;ul class=&#34;\&amp;quot;zemanta-article-ul\&amp;quot;&#34;&gt;
  &lt;li class=&#34;\&amp;quot;zemanta-article-ul-li\&amp;quot;&#34;&gt;
    &lt;a href=&#34;\&#34;&gt;How To Display Just The HTTP Response Code In CLI Curl&lt;/a&gt; (beerpla.net)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;border: medium none; float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;span class=&#34;zem-script more-related pretty-attribution&#34;&gt;&lt;/span&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>15 (More) Awesome Conky Configurations</title>
      <link>/2010/09/13/15-awesome-conky-configurations/</link>
      <pubDate>Mon, 13 Sep 2010 07:17:02 +0000</pubDate>
      
      <guid>/2010/09/13/15-awesome-conky-configurations/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34; style=\&#34;margin: 1em; display: block;\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34; style=\&#34;width: 310px;\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/File:Conky-unix-program-screen-shot.png\&#34;&gt;&lt;img title=\&#34;A typical Conky look\&#34; src=\&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Conky-unix-program-screen-shot.png/300px-Conky-unix-program-screen-shot.png\&#34; alt=\&#34;A typical Conky look\&#34; width=\&#34;300\&#34; height=\&#34;279\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34; style=\&#34;font-size: 0.8em;\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/File:Conky-unix-program-screen-shot.png\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;15 (More) Awesome &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Conky (software)&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://conky.sourceforge.net/&amp;quot;&amp;gt;Conky&lt;/a&gt; Configurations You may have already seen our list of awesome Conky scripts or configurations, and perhaps applied or used some of them on your own &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Linux&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.kernel.org/&amp;quot;&amp;gt;Linux&lt;/a&gt; desktop. Since that collection was quiet popular, I decided to scour the web once again to gather more Conky scripts that I could share with all of you. Now, here is another list of some of the most excellent and unique conky configurations that you could freely use. Enjoy!&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Fedora Linux – Display information about users currently logged on – whowatch</title>
      <link>/2010/09/05/fedora-linux-display-information-users-logged-whowatch/</link>
      <pubDate>Sat, 04 Sep 2010 19:01:14 +0000</pubDate>
      
      <guid>/2010/09/05/fedora-linux-display-information-users-logged-whowatch/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here is description of program/utility to display the currently logged in user in a &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Linux\&amp;quot;&#34; rel=&#34;\&amp;quot;homepage\&amp;quot;&#34; href=&#34;\&#34;&gt;Linux&lt;/a&gt; box (tried on &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Fedora\&amp;quot;&#34; rel=&#34;\&amp;quot;homepage\&amp;quot;&#34; href=&#34;\&#34;&gt;Fedora&lt;/a&gt; 13 Goddard):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href=&#34;%5C&#34;&gt;Whowatch&lt;/a&gt; is an interactive console utility that displays informations about the users currently logged on to the machine, in &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Real-time&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;real time&lt;/a&gt;. Besides standard information (&lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Login\&amp;quot;&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;login&lt;/a&gt;, &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Tty&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;tty&lt;/a&gt;, host, user&amp;amp;#8217;s &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Process&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;process&lt;/a&gt;) you can see type of &lt;a class=&#34;zem_slink&#34; title=&#34;Login&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Login&#34;&gt;login&lt;/a&gt; (ie. ssh, &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Telnet\&amp;quot;&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;telnet&lt;/a&gt;). You can also see selected user&amp;amp;#8217;s processes tree or all system processes tree.  In the process tree mode there is ability to send INT or KILL signal to selected process.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Use the last command\’s output as input to a command without piping and bind to it to a key sequence in bash.</title>
      <link>/2010/09/01/commands-output-input-command-piping-bind-key-sequence-bash/</link>
      <pubDate>Wed, 01 Sep 2010 18:42:55 +0000</pubDate>
      
      <guid>/2010/09/01/commands-output-input-command-piping-bind-key-sequence-bash/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Use the last command&amp;amp;#8217;s output as input to a command without piping and&lt;br&gt;
bind to it to a key sequence in &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Bash (Unix shell)&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://tiswww.case.edu/php/chet/bash/bashtop.html&amp;quot;&amp;gt;bash&lt;/a&gt;.&lt;/p&gt;
&lt;div class=&#34;codecolorer-container bash solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;bash codecolorer&amp;quot;&amp;gt;
      &amp;amp;nbsp;&amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;bind&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;co3&amp;quot;&amp;gt;\&#39;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;\\C-h&amp;quot;&amp;lt;/span&amp;gt;: &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;\\&amp;lt;span class=&amp;quot;es5&amp;quot;&amp;gt;`fc\\ \\-s\\`&amp;lt;/span&amp;gt;&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;co3&amp;quot;&amp;gt;\&#39;&amp;lt;/span&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;My comment : fc is the fix command of the bash builtin.&lt;/strong&gt;&lt;br&gt;
This is similar to using `!!` or&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Gmail Videochat Comes to Linux</title>
      <link>/2010/08/26/gmail-videochat-linux/</link>
      <pubDate>Thu, 26 Aug 2010 18:24:40 +0000</pubDate>
      
      <guid>/2010/08/26/gmail-videochat-linux/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;?Gmail Videochat Comes to Linux&lt;br&gt;
&amp;amp;#8221;The long wait is over and Linux users can finally use the Gmail&lt;br&gt;
Videochat! The &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Gmail&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://gmail.com&amp;quot;&amp;gt;GMail&lt;/a&gt; team recently announced the availability of voice&lt;br&gt;
and &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Videoconferencing&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Videoconferencing&amp;quot;&amp;gt;video chat&lt;/a&gt; on Linux. This feature is currently supported on &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Ubuntu (operating system)&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.ubuntu.com/&amp;quot;&amp;gt;Ubuntu&lt;/a&gt;&lt;br&gt;
and other &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Debian&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.debian.org/&amp;quot;&amp;gt;Debian&lt;/a&gt;-based &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Linux distribution&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Linux_distribution&amp;quot;&amp;gt;Linux distributions&lt;/a&gt;. &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;RPM Package Manager&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://rpm.org/&amp;quot;&amp;gt;RPM&lt;/a&gt; Support for &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Fedora&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://fedoraproject.org/&amp;quot;&amp;gt;Fedora Linux&lt;/a&gt;&lt;br&gt;
and other &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Red Hat&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.redhat.com&amp;quot;&amp;gt;Red Hat&lt;/a&gt; based distributions (like &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;CentOS&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.centos.org/&amp;quot;&amp;gt;CentOS&lt;/a&gt;) is going to be added&lt;br&gt;
soon.&amp;amp;#8221; Some screenshots of GMail Video Chat on Linux in action&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>gphotoframe Free digital photo frame for your desk.</title>
      <link>/2010/08/11/gphotoframe-free-digital-photo-frame-desk/</link>
      <pubDate>Wed, 11 Aug 2010 02:46:01 +0000</pubDate>
      
      <guid>/2010/08/11/gphotoframe-free-digital-photo-frame-desk/</guid>
      <description>&lt;!--adsense#ad#2--&gt;
&lt;p&gt;First install the gphotoframe application with the command :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo yum install gphotoframe&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;and if you want gnome-screensaver compatibility then install the package gphotoframe-gss also.&lt;/p&gt;
&lt;p&gt;Gnome Photo Frame is a photo frame gadget for the &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;GNOME&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.gnome.org/&amp;quot;&amp;gt;GNOME&lt;/a&gt; Desktop. Let&amp;amp;#8217;s see how this works.. run the command gphotoframe from a terminal:&lt;/p&gt;
&lt;p&gt;Here is what you will see :&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.com/wp-content/uploads/2010/08/Screenshot-gphotoframe.png&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;size-medium wp-image-1880&amp;quot; title=&amp;quot;Screenshot-gphotoframe&amp;quot; src=&amp;quot;http://blog.amit-agarwal.com/wp-content/uploads/2010/08/Screenshot-gphotoframe-300x227.png&amp;quot; alt=&amp;quot;Screenshot-gphotoframe&amp;quot; width=&amp;quot;300&amp;quot; height=&amp;quot;227&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Don&amp;amp;#8217;t panic on seeing the blank/black page. You need to add the source first. So &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Mouse (computing)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Mouse_%28computing%29&amp;quot;&amp;gt;right click&lt;/a&gt; on the window and go to preferences:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Using mtpaint of Fedora to modify your images and make them look different.</title>
      <link>/2010/07/31/using-mtpaint-of-fedora-to-modify-your-images-and-make-them-look-different/</link>
      <pubDate>Sat, 31 Jul 2010 03:16:35 +0000</pubDate>
      
      <guid>/2010/07/31/using-mtpaint-of-fedora-to-modify-your-images-and-make-them-look-different/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here is the description of mtpaint :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;mtPaint is a simple painting program designed for creating icons&lt;br&gt;
and pixel-based artwork. It can edit indexed palette or 24 bit &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;RGB color model&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/RGB_color_model&amp;quot;&amp;gt;RGB&lt;/a&gt;&lt;br&gt;
images and offers basic painting and palette manipulation tools.&lt;br&gt;
Its main &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;File format&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/File_format&amp;quot;&amp;gt;file format&lt;/a&gt; is &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Portable Network Graphics&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Portable_Network_Graphics&amp;quot;&amp;gt;PNG&lt;/a&gt;, although it can also handle &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;JPEG&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/JPEG&amp;quot;&amp;gt;JPEG&lt;/a&gt;, &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Graphics Interchange Format&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Graphics_Interchange_Format&amp;quot;&amp;gt;GIF&lt;/a&gt;,&lt;br&gt;
TIFF, &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;BMP file format&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/BMP_file_format&amp;quot;&amp;gt;BMP&lt;/a&gt;, &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;X PixMap&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/X_PixMap&amp;quot;&amp;gt;XPM&lt;/a&gt;, and &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;X BitMap&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/X_BitMap&amp;quot;&amp;gt;XBM&lt;/a&gt; files.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Find who is using my network – top for network utilization</title>
      <link>/2010/07/27/find-who-is-using-my-network-top-for-network-utilization/</link>
      <pubDate>Tue, 27 Jul 2010 04:09:37 +0000</pubDate>
      
      <guid>/2010/07/27/find-who-is-using-my-network-top-for-network-utilization/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Ok here is something that I have been looking for something.  Now that I have conky installed, so I can see the bandwidth usage on my desktop but was wondering for sometimes, where actually so much is being used. So did some quick search to see if I can get that info and did not have to go too far 🙂&lt;/p&gt;
&lt;p&gt;There is s  utility called iftop in the Fedora repo and at the &amp;lt;a href=&amp;quot;http://www.ex-parrot.com/~pdw/iftop/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;URL&lt;/a&gt;. Oh and how to use it, just type sudo iftop or if you have multiple network interface then you can do &amp;amp;#8221;iftop -f &lt;device name&gt;&amp;amp;#8221;. Thats pretty simple and cool.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>importing outlook pst files in evolution in Fedora 13 ( Goddard)</title>
      <link>/2010/07/25/importing-outlook-pst-files/</link>
      <pubDate>Sun, 25 Jul 2010 03:53:09 +0000</pubDate>
      
      <guid>/2010/07/25/importing-outlook-pst-files/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you were using outlook and moved to some other &amp;lt;a class=&amp;quot;zem_slink freebase/en/e-mail_client&amp;quot; title=&amp;quot;Email client&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Email_client&amp;quot;&amp;gt;mail client&lt;/a&gt; then you know the pain of moving the mails from outlook mail from outlook to any other client.&lt;/p&gt;
&lt;p&gt;If you are using evolution on &amp;lt;a class=&amp;quot;zem_slink freebase/en/fedora&amp;quot; title=&amp;quot;Fedora&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://fedoraproject.org/&amp;quot;&amp;gt;Fedora&lt;/a&gt;, then you are in luck. Just install the plug-in and select the file to import as simple as that.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo yum install evolution-pst&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Get the information on all the rpms installed on the system</title>
      <link>/2010/07/23/get-the-information-on-all-the-rpms-installed-on-the-system/</link>
      <pubDate>Fri, 23 Jul 2010 04:04:32 +0000</pubDate>
      
      <guid>/2010/07/23/get-the-information-on-all-the-rpms-installed-on-the-system/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here&amp;amp;#8217;s a one-liner to get the info on all the packages installed on your system.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;rpm -qa –info |tee All_rpms_Info&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This is what it does, when you query the rpm database with the –info parameter, then the output looks something like the below, which is quite helpful.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Name        : rpm                          Relocations: (not relocatable)&lt;br&gt;
Version     : 4.6.0                             Vendor: Fedora Project&lt;br&gt;
Release     : 0.rc3.1.fc10                  Build Date: Sat 13 Dec 2008 12:38:24 AM IST&lt;br&gt;
Install Date: Tue 13 Jan 2009 09:22:50 PM IST      Build Host: x86-5.fedora.phx.redhat.com&lt;br&gt;
Group       : System Environment/Base       Source RPM: rpm-4.6.0-0.rc3.1.fc10.src.rpm&lt;br&gt;
Size        : 3662666                          License: GPLv2+&lt;br&gt;
Signature   : DSA/SHA1, Tue 06 Jan 2009 08:20:24 PM IST, Key ID bf226fcc4ebfc273&lt;br&gt;
Packager    : Fedora Project&lt;br&gt;
URL         : &lt;a href=&#34;http://www.rpm.org/&#34;&gt;http://www.rpm.org/&lt;/a&gt;&lt;br&gt;
Summary     : The RPM package management system&lt;br&gt;
Description :&lt;br&gt;
The RPM Package Manager (RPM) is a powerful command line driven&lt;br&gt;
package management system capable of installing, uninstalling,&lt;br&gt;
verifying, querying, and updating software packages. Each software&lt;br&gt;
package consists of an archive of files along with information about&lt;br&gt;
the package like its version, a description, etc.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>How To Install Ailurus 10.05 On Fedora | HowtoForge - Linux Howtos and Tutorials</title>
      <link>/2010/07/23/how-to-install-ailurus-10-05-on-fedora-howtoforge-linux-howtos-and-tutorials-2/</link>
      <pubDate>Fri, 23 Jul 2010 04:04:31 +0000</pubDate>
      
      <guid>/2010/07/23/how-to-install-ailurus-10-05-on-fedora-howtoforge-linux-howtos-and-tutorials-2/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;For those of you who don&amp;amp;#8217;t know about ailurus:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Ailurus is cross-&amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Linux distribution&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Linux_distribution&amp;quot;&amp;gt;Linux-distribution&lt;/a&gt; &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;GNU General Public License&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/GNU_General_Public_License&amp;quot;&amp;gt;GPL&lt;/a&gt; &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Computer software&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Computer_software&amp;quot;&amp;gt;software&lt;/a&gt;, which aims at making Linux easier to use, for newcomers.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And the features include:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Ailurus can …&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;display Linux skills&lt;/li&gt;
&lt;li&gt;install popular software&lt;/li&gt;
&lt;li&gt;change &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;GNOME&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.gnome.org/&amp;quot;&amp;gt;GNOME&lt;/a&gt; settings&lt;/li&gt;
&lt;li&gt;display &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Hardware&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Hardware&amp;quot;&amp;gt;hardware&lt;/a&gt; information&lt;/li&gt;
&lt;li&gt;enable some third party repositories#&lt;/li&gt;
&lt;li&gt;clean apt/yum cache#&lt;/li&gt;
&lt;li&gt;backup and recover apt/yum status#&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;the features marked with &amp;amp;#8221;#&amp;amp;#8221; support Ubuntu/Fedora only&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Kernel ata exception — found workaround.</title>
      <link>/2010/07/20/kernel-ata-exception-still-unresolved/</link>
      <pubDate>Tue, 20 Jul 2010 03:47:13 +0000</pubDate>
      
      <guid>/2010/07/20/kernel-ata-exception-still-unresolved/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I have been getting the below errors in my system for quite sometime now, I think since F9 or before that. The offending hardware is CD drive. I looked all around the net for a solution but did not find anything. Will keep looking to solve the problem. I found various solutions being suggested like adding noirq or nobiosirq or noacpi and such. None of this helped. So for now I am happy with turning off the haldaemon as soon as the system comes up. Problem: it takes lot of time to go down 🙁&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>autoten- install nvidia, gnome color chooser and many others in one click on Fedora.</title>
      <link>/2010/07/18/autoten-install-nvidia-gnome-color-chooser-and-many-others-in-one-click-on-fedora/</link>
      <pubDate>Sun, 18 Jul 2010 13:38:53 +0000</pubDate>
      
      <guid>/2010/07/18/autoten-install-nvidia-gnome-color-chooser-and-many-others-in-one-click-on-fedora/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;There is a application/GUI called autoten from Dangermouse, find &amp;lt;a href=&amp;quot;http://dnmouse.org/autoten-2-12.fc10.noarch.rpm &amp;quot;&amp;gt;here&lt;/a&gt;, which will help you install these.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;designed to help get basics up and running fast&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;dvdplayback plus other codecs needed&lt;/li&gt;
&lt;li&gt;parental controls&lt;/li&gt;
&lt;li&gt;flash plugin&lt;/li&gt;
&lt;li&gt;video card drivers&lt;/li&gt;
&lt;li&gt;wireless drivers&lt;/li&gt;
&lt;li&gt;set up sudo&lt;/li&gt;
&lt;li&gt;java 6u7&lt;/li&gt;
&lt;li&gt;realplayer&lt;/li&gt;
&lt;li&gt;googleearth&lt;/li&gt;
&lt;li&gt;frostwire&lt;/li&gt;
&lt;li&gt;Limewire&lt;/li&gt;
&lt;li&gt;lightscribe&lt;/li&gt;
&lt;li&gt;compiz-fusion&lt;/li&gt;
&lt;li&gt;skype&lt;/li&gt;
&lt;li&gt;parental controls&lt;/li&gt;
&lt;li&gt;plus many others&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I tried it to install couple of things and it was a breeze. Here is a screenshot of the application.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Try a live Distro without burning on CD or running in VM</title>
      <link>/2010/07/18/try-a-live-distro-without-burning-on-cd-or-running-in-vm/</link>
      <pubDate>Sun, 18 Jul 2010 13:38:51 +0000</pubDate>
      
      <guid>/2010/07/18/try-a-live-distro-without-burning-on-cd-or-running-in-vm/</guid>
      <description>&lt;p&gt;I keep trying a lot of distributions and mostly I try them once and get the configurations and put them on my box :), this works best for me so that I dont have to keep re-configuring my system again and again. So, burning the disc for one time use is overhead and wastes a lot of time for me.&lt;/p&gt;
&lt;p&gt;Why burn a disc when GRUB is there to help. So today we will try to use the installed grub run a extracted iso image. Lets go step by step:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Right click menu in Gnome desktop with user entries.</title>
      <link>/2010/07/18/right-click-menu-in-gnome-desktop-with-user-entries/</link>
      <pubDate>Sun, 18 Jul 2010 13:38:49 +0000</pubDate>
      
      <guid>/2010/07/18/right-click-menu-in-gnome-desktop-with-user-entries/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I, along with couple of others I think, have been looking for this for quite some time. What I wanted is that when I right click on the desktop with GNome, I should see my entries in the default menu. I did quite  some search on this but no luck. Finally today, I did it and that too in two ways.&lt;/p&gt;
&lt;p&gt;Lets do it the Gnome way first:&lt;/p&gt;
&lt;p&gt;Install nautilus-actions using the command&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Bashstyle rpm for Fedora 11 – Style up your bash prompt.</title>
      <link>/2010/07/15/bashstyle-rpm-for-fedora-11-style-up-your-bash-prompt/</link>
      <pubDate>Thu, 15 Jul 2010 02:10:31 +0000</pubDate>
      
      <guid>/2010/07/15/bashstyle-rpm-for-fedora-11-style-up-your-bash-prompt/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;For those of you who like to show off your desktop or want your bash prompt to be colorful and useful at the same time.&lt;/p&gt;
&lt;p&gt;Lets start the day with a cartoon.&lt;/p&gt;
&lt;p&gt;[[danscartoon]]&lt;/p&gt;
&lt;p&gt;There is a nifty application called bashstyle at the sourceforge. The application helps you create a new bash prompt or select from the existing ones like the below ones:&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/06/screenshot.jpg&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;size-full wp-image-821&amp;quot; title=&amp;quot;bashstyle&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/06/screenshot.jpg&amp;quot; alt=&amp;quot;bashstyle&amp;quot; width=&amp;quot;412&amp;quot; height=&amp;quot;40&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Hotmail login from Linux machine using Firefox.</title>
      <link>/2010/07/15/hotmail-login-from-linux-machine-using-firefox/</link>
      <pubDate>Thu, 15 Jul 2010 02:10:30 +0000</pubDate>
      
      <guid>/2010/07/15/hotmail-login-from-linux-machine-using-firefox/</guid>
      <description>&lt;p&gt;Today I learnt two things. One is that Hotmail has changed the look of the email on the web. Quite good change. Looks good.&lt;/p&gt;
&lt;p&gt;Second is that when loggin in to the hotmail using my Fedora box with Firefox, I was always getting the annoying, you are not on supported browser and saw the fix on &amp;lt;a href=&amp;quot;http://www.linuxquestions.org/questions/linux-newbie-8/hotmail-problems-683894/?posted=1#post3345089&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;this&lt;/a&gt; link. The solution is as simple as changing the &amp;amp;#8221;general.useragent.vendor&amp;amp;#8221; for firefox. The way to do this is :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>concatenate compressed and uncompressed logs</title>
      <link>/2010/07/15/concatenate-compressed-and-uncompressed-logs/</link>
      <pubDate>Thu, 15 Jul 2010 02:10:28 +0000</pubDate>
      
      <guid>/2010/07/15/concatenate-compressed-and-uncompressed-logs/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;h1 id=&#34;span-stylefont-size-x-largea-hrefhttpfeedproxygooglecomrcommand-line-fu3iwfuyltygjmconcatenate-compressed-and-uncompressed-logsconcatenate-compressed-and-uncompressed-logsaspan&#34;&gt;&lt;strong&gt;&amp;lt;span style=&amp;quot;font-size: x-large;&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://feedproxy.google.com/~r/Command-line-fu/~3/iwFUyltYgjM/concatenate-compressed-and-uncompressed-logs&amp;quot;&amp;gt;concatenate compressed and uncompressed logs&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/h1&gt;
&lt;p&gt;&lt;tt&gt;$ find /var/log/apache2 -name &#39;access.log&lt;em&gt;gz&#39; -exec &amp;lt;a class=&amp;quot;zem_slink freebase/guid/9202a8c04000641f800000000001abd9&amp;quot; title=&amp;quot;Gzip&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.gzip.org/&amp;quot;&amp;gt;zcat&lt;/a&gt; {} ; -or -name &#39;access.log&lt;/em&gt;&#39; -exec cat {} ;&lt;/tt&gt; This command allows you to stream your log files, including gziped files, into one stream which can be piped to &amp;lt;a class=&amp;quot;zem_slink freebase/guid/9202a8c04000641f800000000000584b&amp;quot; title=&amp;quot;AWK&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://cm.bell-labs.com/cm/cs/awkbook/index.html&amp;quot;&amp;gt;awk&lt;/a&gt; or some other command for analysis.&lt;/p&gt;
&lt;p&gt;Note: if your version of &amp;amp;#8217;find&amp;amp;#8217; supports it, use:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Gnome Icons, themes and window decorator.</title>
      <link>/2010/07/14/gnome-icons-themes-and-window-decorator/</link>
      <pubDate>Wed, 14 Jul 2010 01:06:34 +0000</pubDate>
      
      <guid>/2010/07/14/gnome-icons-themes-and-window-decorator/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Yesterday, I had tried fusion theme, but that did not work our that good for me. Reasons multifold:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I like the features of GNome&lt;/li&gt;
&lt;li&gt;I am used to GNome&lt;/li&gt;
&lt;li&gt;Other window managers did not look that lucarative to me.&lt;/li&gt;
&lt;li&gt;Compiz was chocking my CPU..&lt;br&gt;
and so on..&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So I went back to my GNome but wanted to change the looks so searched enough today to get the right set of Icons and themes. I think I finally got some decent ones and here are the links for the icons that I liked:&lt;br&gt;
&amp;lt;a href=&amp;quot;http://www.junauza.com/2008/08/10-really-cool-icon-sets-for.html&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;http://www.junauza.com/2008/08/10-really-cool-icon-sets-for.html&lt;/a&gt;&lt;br&gt;
and this one &amp;lt;a href=&amp;quot;http://www.ubuntu-unleashed.com/2008/05/ultimate-gnome-icon-theme.html&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;here&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Configurable Linux Distro You Might Want To Try – Fedora</title>
      <link>/2010/07/14/configurable-linux-distro-you-might-want-to-try-fedora/</link>
      <pubDate>Wed, 14 Jul 2010 01:06:33 +0000</pubDate>
      
      <guid>/2010/07/14/configurable-linux-distro-you-might-want-to-try-fedora/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Rounding out the fall releases from the big cheeses in Linux comes &amp;lt;a class=&amp;quot;zem_slink freebase/en/fedora&amp;quot; title=&amp;quot;Fedora&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://fedoraproject.org/&amp;quot;&amp;gt;Fedora&lt;/a&gt; 12. &amp;lt;a href=&amp;quot;http://fedoraproject.org/&amp;quot;&amp;gt;Fedora&lt;/a&gt; is a popular &amp;lt;a class=&amp;quot;zem_slink freebase/en/linux_distribution&amp;quot; title=&amp;quot;Linux distribution&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Linux_distribution&amp;quot;&amp;gt;Linux distribution&lt;/a&gt; funded by &amp;lt;a href=&amp;quot;http://www.redhat.com/&amp;quot;&amp;gt;Red Hat&lt;/a&gt;, the most profitable Linux &amp;lt;a class=&amp;quot;zem_slink freebase/guid/9202a8c04000641f8000000006ae3af5&amp;quot; title=&amp;quot;Company&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Company&amp;quot;&amp;gt;corporation&lt;/a&gt; active today. Fedora usually sits within the top three or four most popular distributions at &amp;lt;a href=&amp;quot;http://distrowatch.com&amp;quot;&amp;gt;distrowatch.com&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Much of the company and community work that goes into Fedora will find its way into &amp;lt;a href=&amp;quot;http://www.redhat.com/rhel/&amp;quot;&amp;gt;Red Hat Enterprise Linux&lt;/a&gt;, the commercial Linux version used by governments and &amp;lt;a class=&amp;quot;zem_slink freebase/guid/9202a8c04000641f800000000004e02d&amp;quot; title=&amp;quot;Business&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Business&amp;quot;&amp;gt;businesses&lt;/a&gt; around the world. You might compare the relationship between Red Hat and Fedora to &amp;lt;a href=&amp;quot;http://www.novell.com/linux/&amp;quot;&amp;gt;Novell&lt;/a&gt; and &amp;lt;a href=&amp;quot;http://www.opensuse.org/en/&amp;quot;&amp;gt;openSUSE&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Are you swapped? Increase the performance of Linux machine.</title>
      <link>/2010/07/14/are-you-swapped-increase-the-performance-of-linux-machine/</link>
      <pubDate>Wed, 14 Jul 2010 01:06:31 +0000</pubDate>
      
      <guid>/2010/07/14/are-you-swapped-increase-the-performance-of-linux-machine/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;With the ever increasing cost of the Hardware, the amount of physical &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Random-access&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;RAM&lt;/a&gt; available on the system is increasing day by day. For example, couple of years back, I had a system which was very high end Desktop with 256MB &lt;a class=&#34;zem_slink&#34; title=&#34;Random-access memory&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Random-access_memory&#34;&gt;RAM&lt;/a&gt; and today I have a 2GB RAM Desktop. So, whats the point.&lt;/p&gt;
&lt;p&gt;The &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Linux\&amp;quot;&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;Linux&lt;/a&gt; systems (right word should be &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Linux&#34; rel=&#34;\&amp;quot;homepage\&amp;quot;&#34; href=&#34;\&#34;&gt;kernel&lt;/a&gt;) are desiged to use both RAM and &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Paging\&amp;quot;&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;swap partition&lt;/a&gt;. Swap partition is a partition on Hard disk and is used mostly like RAM. Problem is that &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Hard&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;HDD&lt;/a&gt; access is always slower than RAM access and hence inherently, the system will work little slower even if you have enough RAM not to use swap. The term &amp;amp;#8221;&lt;a class=&#34;zem_slink&#34; title=&#34;Swappiness&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Swappiness&#34;&gt;swappiness&lt;/a&gt;&amp;amp;#8221; is used to determine how the kernel should try to seam-balance between the use of RAM and swap. By default, most of the distro&amp;amp;#8217;s have a swappiness of 60. A higher value of swappiness means that the RAM will be swapped out faster.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>gnomecc color scheme - my favourite.</title>
      <link>/2010/07/11/gnomecc-color-scheme-my-favourite/</link>
      <pubDate>Sun, 11 Jul 2010 07:59:26 +0000</pubDate>
      
      <guid>/2010/07/11/gnomecc-color-scheme-my-favourite/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;my favourite &amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/06/gtkrc-2.0-gnome-color-chooser&amp;quot;&amp;gt;gtkrc-2&lt;/a&gt; file.&lt;/p&gt;
&lt;p&gt;Snapshot of how it looks.&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/06/desktop.jpg&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;size-medium wp-image-796&amp;quot; title=&amp;quot;desktop&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/06/desktop-300x187.jpg&amp;quot; alt=&amp;quot;desktop&amp;quot; width=&amp;quot;300&amp;quot; height=&amp;quot;187&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot; style=&amp;quot;margin-top: 10px; height: 15px;&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Enhanced by Zemanta&amp;quot; href=&amp;quot;http://www.zemanta.com/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; style=&amp;quot;border: medium none; float: right;&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/zemified_e1.png&amp;quot; alt=&amp;quot;Enhanced by Zemanta&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related pretty-attribution&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>CLI Color and bash prompt.. some colored fun with prompts in bash</title>
      <link>/2010/06/29/cli-color-and-bash-prompt-some-colored-fun-with-prompts-in-bash/</link>
      <pubDate>Tue, 29 Jun 2010 12:23:10 +0000</pubDate>
      
      <guid>/2010/06/29/cli-color-and-bash-prompt-some-colored-fun-with-prompts-in-bash/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;There are two ways to do it, one is with tput command. We will see that some other time, today we will consider the escape sequence way.&lt;/p&gt;
&lt;p&gt;First we need to understand the colors as understood by bash. Some time back a fried of mine gave me this little script to find the colors. You can download it &amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/2009/03/bash_colors&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Script bash colors&lt;/a&gt;. Here is the script&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;#!/bin/bash&lt;/p&gt;
&lt;p&gt;T=&amp;amp;#8217;amit agarwal&amp;amp;#8217;   # The test text&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Recovering Deleted Files With lsof</title>
      <link>/2010/06/29/recovering-deleted-files-with-lsof/</link>
      <pubDate>Tue, 29 Jun 2010 12:23:08 +0000</pubDate>
      
      <guid>/2010/06/29/recovering-deleted-files-with-lsof/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Quick update, found this nice article on how to recover deleted file, if its still open by some process.&lt;br&gt;
&amp;lt;a href=&amp;quot;http://www.serverwatch.com/tutorials/article.php/3822816&amp;quot;&amp;gt;Recovering Deleted Files With lsof&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;</description>
    </item>
    
    <item>
      <title>wordpress blog stats monitoring from remote using curl and bash and send it in mail.</title>
      <link>/2010/06/25/wordpress-blog-stats-monitoring-from-remote-using-curl-and-bash-and-send-it-in-mail/</link>
      <pubDate>Fri, 25 Jun 2010 11:47:20 +0000</pubDate>
      
      <guid>/2010/06/25/wordpress-blog-stats-monitoring-from-remote-using-curl-and-bash-and-send-it-in-mail/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here&amp;amp;#8217;s something that I had been planning to do for sometime now. I have my blog on wordpress and have Statpress plugin installed. The plugin does give me a good idea of the visits to my site. Now, I have to keep logging in every now and then to check the stats. Also since I did not want to spend some more amount 🙂 so I do not have the shell access to the server, too bad 🙁&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>6700 free and redistributable fonts for Linux.</title>
      <link>/2010/06/25/6700-free-and-redistributable-fonts-for-linux/</link>
      <pubDate>Fri, 25 Jun 2010 11:47:19 +0000</pubDate>
      
      <guid>/2010/06/25/6700-free-and-redistributable-fonts-for-linux/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Today I was searching for some good fonts for my desktop running Fedora 11 – Leonidas. In my quest to find the required fonts that I would liked, I reached some good sites so just thought would share the same with you.&lt;/p&gt;
&lt;p&gt;First, how do you use them, simple steps:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;mkdir ~/.fonts&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Now you can put your fonts in this directory. You can make sub-directories to keep your fonts organized. On F11, I did not need to refresh the font server or logout and login. 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>rawtherapee -- raw image processor.</title>
      <link>/2010/06/25/rawtherapee-raw-image-processor/</link>
      <pubDate>Fri, 25 Jun 2010 11:47:18 +0000</pubDate>
      
      <guid>/2010/06/25/rawtherapee-raw-image-processor/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:AdditiveColor.svg\&#34;&gt;&lt;img title=\&#34;Original Author: Mike Horvath New version by j...\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/300px-AdditiveColor.svg_.png\&#34; alt=\&#34;Original Author: Mike Horvath New version by j...\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:AdditiveColor.svg\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt;&amp;lt;a href=&amp;quot;http://www.rawtherapee.com/?mitem=3&amp;amp;artid=47&amp;quot;&amp;gt;Download RT v3.0 alpha 1&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://www.rawtherapee.com&#34;&gt;http://www.rawtherapee.com&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Rawtherapee is a &amp;lt;a class=&amp;quot;zem_slink freebase/en/raw_image_format&amp;quot; title=&amp;quot;Raw image format&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Raw_image_format&amp;quot;&amp;gt;RAW image&lt;/a&gt; processing software. It gives full control over many parameters to enhance the raw picture before finally exporting it to some common &amp;lt;a class=&amp;quot;zem_slink freebase/en/image_processing&amp;quot; title=&amp;quot;Image processing&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Image_processing&amp;quot;&amp;gt;image&lt;/a&gt; format.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Mod your gnome desktop, change the colors the easy way.</title>
      <link>/2010/06/25/mod-your-gnome-desktop-change-the-colors-the-easy-way/</link>
      <pubDate>Fri, 25 Jun 2010 11:47:16 +0000</pubDate>
      
      <guid>/2010/06/25/mod-your-gnome-desktop-change-the-colors-the-easy-way/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Install the autoten application. You can find the instructions in my earlier post today &amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/2009/04/20/autoten-install-nvidia-gnome-color-chooser-and-many-others-in-one-click-on-fedora/&amp;quot;&amp;gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Gnome color chooser is an application to allow you to change the color of your gnome DE in all aspects. Very easy to use GUI. Just install it and run it as gnome-color-chooser. Here&amp;amp;#8217;s a screenshot of the application.&lt;/p&gt;
&lt;p&gt;&amp;lt;img class=&amp;quot;size-full wp-image-751&amp;quot; title=&amp;quot;Gnome Color Chooser&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/gnomecolorchooser.jpg&amp;quot; alt=&amp;quot;Gnome Color Chooser&amp;quot; width=&amp;quot;346&amp;quot; height=&amp;quot;445&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;The beauty of this application is that it allows to use XML files as input so there are lot of possibilities. And one of the most lucarat5ive ones is to download a pack of color schemes from &amp;lt;a href=&amp;quot;http://gnome-look.org/CONTENT/content-files/84941-daX_UltraPack220_3v2_gnomecc.tar.bz2&amp;quot;&amp;gt;here&lt;/a&gt;.  This has 220 theme colors to select from in the form of XML files which can be used directly with Gnome Color Chooser. So enjoy.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>solang – Photo collection viewer.</title>
      <link>/2010/06/25/solang-photo-collection-viewer/</link>
      <pubDate>Fri, 25 Jun 2010 11:47:11 +0000</pubDate>
      
      <guid>/2010/06/25/solang-photo-collection-viewer/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Gnomelogo.svg\&#34;&gt;&lt;img title=\&#34;GNOME\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/300px-Gnomelogo.svg_.png\&#34; alt=\&#34;GNOME\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Gnomelogo.svg\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Name       : solang&lt;/dt&gt;
&lt;dt&gt;Arch       : i686&lt;/dt&gt;
&lt;dt&gt;Size       : 1.8 M&lt;/dt&gt;
&lt;dt&gt;Summary    : A Photo Manager for &amp;lt;a class=&amp;quot;zem_slink freebase/en/gnome&amp;quot; title=&amp;quot;GNOME&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.gnome.org/&amp;quot;&amp;gt;GNOME&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;URL        : &lt;a href=&#34;https://savannah.nongnu.org/projects/solang/&#34;&gt;https://savannah.nongnu.org/projects/solang/&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;License    : &amp;lt;a class=&amp;quot;zem_slink freebase/en/gnu_general_public_license&amp;quot; title=&amp;quot;GNU General Public License&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/GNU_General_Public_License&amp;quot;&amp;gt;GPLv3&lt;/a&gt;+&lt;/dt&gt;
&lt;dt&gt;Description: Solang is a &amp;lt;a class=&amp;quot;zem_slink freebase/en/free_content&amp;quot; title=&amp;quot;Free content&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Free_content&amp;quot;&amp;gt;free photo&lt;/a&gt; manager that will act as a front-end for&lt;/dt&gt;
&lt;dd&gt;directory based local storage as well as remote photo-storage&lt;/dd&gt;
&lt;dd&gt;systems, as can be said, on the &amp;amp;#8221;Cloud&amp;amp;#8221;. Basic editing support is&lt;/dd&gt;
&lt;dd&gt;also planned as well as a small pipelaine for RAW processing.&lt;/dd&gt;
&lt;dd&gt;&lt;/dd&gt;
&lt;dd&gt;The aim of this project is to break the performance charecteristics&lt;/dd&gt;
&lt;dd&gt;of current popular photo management &amp;lt;a class=&amp;quot;zem_slink freebase/en/computer_software&amp;quot; title=&amp;quot;Computer software&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Computer_software&amp;quot;&amp;gt;softwares&lt;/a&gt; and provide a fast&lt;/dd&gt;
&lt;dd&gt;and reliable alternative that does not place humongous demands on&lt;/dd&gt;
&lt;dd&gt;user&amp;amp;#8217;s &amp;lt;a class=&amp;quot;zem_slink freebase/en/hardware&amp;quot; title=&amp;quot;Hardware&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Hardware&amp;quot;&amp;gt;hardware&lt;/a&gt; resources even to meet basic functionality.&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot;&amp;gt;Related articles by Zemanta&lt;/h6&gt; &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://arstechnica.com/open-source/news/2010/04/ubuntu-1010-to-be-codenamed-maverick-meerkat.ars&amp;quot;&amp;gt;Ubuntu 10.10 to be codenamed Maverick Meerkat&lt;/a&gt; (arstechnica.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.howtoforge.com/the-perfect-desktop-fedora-12-i686-gnome&amp;quot;&amp;gt;The Perfect Desktop – Fedora 12 i686 (GNOME)&lt;/a&gt; (howtoforge.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://boycottnovell.com/2009/12/19/euphemism-for-lobbying/&amp;quot;&amp;gt;Why GNOME Funding is Equivalent to Lobbying and Why Novell is Likely Against GPL Enforcement&lt;/a&gt; (boycottnovell.com)&lt;/li&gt; &lt;/ul&gt; &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Reblog this post [with Zemanta]&amp;quot; href=&amp;quot;http://reblog.zemanta.com/zemified/bb959a48-b5f0-4e5f-8997-6c86961e6eff/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b11.png&amp;quot; alt=&amp;quot;Reblog this post [with Zemanta]&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related more-info pretty-attribution paragraph-reblog&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;</description>
    </item>
    
    <item>
      <title>Magic space on the current command line</title>
      <link>/2010/06/25/magic-space-on-the-current-command-line/</link>
      <pubDate>Fri, 25 Jun 2010 11:47:08 +0000</pubDate>
      
      <guid>/2010/06/25/magic-space-on-the-current-command-line/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;# For how to set up magic space for Bash see:&lt;br&gt;
# – &lt;a href=&#34;http://www.ukuug.org/events/linux2003/papers/bash_tips/#slide15&#34;&gt;http://www.ukuug.org/events/linux2003/papers/bash_tips/#slide15&lt;/a&gt;&lt;br&gt;
# – &lt;a href=&#34;http://codesnippets.joyent.com/posts/show/1690&#34;&gt;http://codesnippets.joyent.com/posts/show/1690&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;man bash 2&amp;gt;/dev/null | less -p &amp;amp;#8217;magic-space&amp;amp;#8217;&lt;/p&gt;
&lt;p&gt;man bash 2&amp;gt;/dev/null | less -p &amp;amp;#8217;Event Designators&amp;amp;#8217;&lt;/p&gt;
&lt;p&gt;man bash 2&amp;gt;/dev/null | less -p &amp;amp;#8217;\!#&amp;amp;#8217; # &amp;amp;#8221;The entire &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Command-line interface&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Command-line_interface&amp;quot;&amp;gt;command line&lt;/a&gt; typed so far.&amp;amp;#8221;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://snippets.dzone.com/posts/show/10265&amp;quot;&amp;gt;Read more :&lt;/a&gt;&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot; style=&amp;quot;font-size: 1em;&amp;quot;&amp;gt;Related articles by Zemanta&lt;/h6&gt; &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.makeuseof.com/tag/trigger-wake-lan-mac-address/&amp;quot;&amp;gt;How To Trigger Wake On LAN Using The MAC Address&lt;/a&gt; (makeuseof.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://smarterware.org/4271/projectview-lists-your-todo-txt-by-project&amp;quot;&amp;gt;Projectview Lists Your Todo.txt by Project&lt;/a&gt; (smarterware.org)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://helpdeskgeek.com/linux-tips/shell-script-backup-directory-linux/&amp;quot;&amp;gt;Back Up a Directory in Linux using a Shell Script&lt;/a&gt; (helpdeskgeek.com)&lt;/li&gt; &lt;/ul&gt; &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot; style=&amp;quot;margin-top: 10px; height: 15px;&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Reblog this post [with Zemanta]&amp;quot; href=&amp;quot;http://reblog.zemanta.com/zemified/038d79c3-59e6-41ad-a8ad-31d1af669509/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; style=&amp;quot;border: medium none; float: right;&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e39.png&amp;quot; alt=&amp;quot;Reblog this post [with Zemanta]&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related pretty-attribution&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash one liner to change/remove test pattern from config file or text file.</title>
      <link>/2010/06/25/bash-one-liner-to-changeremove-test-pattern-from-config-file-or-text-file/</link>
      <pubDate>Fri, 25 Jun 2010 11:47:05 +0000</pubDate>
      
      <guid>/2010/06/25/bash-one-liner-to-changeremove-test-pattern-from-config-file-or-text-file/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Problem:&lt;/p&gt;
&lt;p&gt;I had a directory with a lot of config files in the ini file format, i.e. name and value separated by equals. Some/all of these contained some directory names and other values which had to be replaced. But there were other place where I should not not replace them, if there was no exact match. I also needed to have a backup copy of the file that I was modifying. Since the number of files that I needed to change was multiple so was quite difficult to do it without using some script.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Change the look and feel of Fedora with emrald, change to openbox, fvwm, emerald, metacity or openbox</title>
      <link>/2010/06/25/change-the-look-and-feel-of-fedora-with-emrald-change-to-openbox-fvwm-emerald-metacity-or-openbox/</link>
      <pubDate>Fri, 25 Jun 2010 11:47:02 +0000</pubDate>
      
      <guid>/2010/06/25/change-the-look-and-feel-of-fedora-with-emrald-change-to-openbox-fvwm-emerald-metacity-or-openbox/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I have been looking for this information for quite sometime now. Did not quite find this information in the net. Finally looked through some of the packages in the repository and found the one that I was looking for. There is a rpm called fusion-icon that has quite a lot of features. The description for the package goes like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p style=\&#34;text-align: center;\&#34;&gt;The Compiz Fusion Icon is a simple panel applet for starting and controlling Compiz Fusion. Upon launch, it will attempt to start Compiz Fusion automatically. You may need to select a window decorator, if one does not appear.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>wordpress Fedora 11 desktop client.</title>
      <link>/2010/06/25/wordpress-fedora-11-desktop-client/</link>
      <pubDate>Fri, 25 Jun 2010 11:47:01 +0000</pubDate>
      
      <guid>/2010/06/25/wordpress-fedora-11-desktop-client/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Another wordpress client on Fedora for wordpress. Simple and easy to configure and use. Here&amp;amp;#8217;s how it looks.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo yum install lekhonee&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot-lekhonee.jpg&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;size-full wp-image-838&amp;quot; title=&amp;quot;screenshot-lekhonee&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot-lekhonee.jpg&amp;quot; alt=&amp;quot;screenshot-lekhonee&amp;quot; width=&amp;quot;785&amp;quot; height=&amp;quot;604&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Twiiter from Pidgin on Fedora 11 -Leonidas</title>
      <link>/2010/06/25/twiiter-from-pidgin-on-fedora-11-leonidas/</link>
      <pubDate>Fri, 25 Jun 2010 11:47:00 +0000</pubDate>
      
      <guid>/2010/06/25/twiiter-from-pidgin-on-fedora-11-leonidas/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you are twitter fan but find it difficult to follow it on your web-browser then this is for you. Just install the plugin and get going to see the twitter messages in the pidgin window.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo yum install purple-microblog&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;After installation you can add your twitter account like all other accounts and start seeing your messages.&lt;/p&gt;
&lt;p&gt;:))&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Quick one liner bash function to navigate parent directories quickly</title>
      <link>/2010/06/25/quick-one-liner-bash-function-to-navigate-parent-directories-quickly/</link>
      <pubDate>Fri, 25 Jun 2010 11:46:59 +0000</pubDate>
      
      <guid>/2010/06/25/quick-one-liner-bash-function-to-navigate-parent-directories-quickly/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;up () { for i in $(seq 1 $1) ; do cd  ..; pushd +1 ; done; }&lt;br&gt;
— if you like the popd and pushd way ..&lt;/p&gt;
&lt;p&gt;up () { for i in $(seq 1 $1) ; do cd  ..; done; }&lt;br&gt;
— otherwise .. &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/pixy4.gif&amp;quot; /&amp;gt;&lt;/div&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>find duplicate entry in a list in bash with sed</title>
      <link>/2010/06/25/find-duplicate-entry-in-a-list-in-bash-with-sed/</link>
      <pubDate>Fri, 25 Jun 2010 11:46:58 +0000</pubDate>
      
      <guid>/2010/06/25/find-duplicate-entry-in-a-list-in-bash-with-sed/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here I will take an example of rss2email list, but I guess I will be able to pass on the concept.&lt;/p&gt;
&lt;p&gt;Here is example of the output of the r2e list command:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;1: &lt;a href=&#34;http://blog.amit-agarwal.co.in/feed&#34;&gt;http://blog.amit-agarwal.co.in/feed&lt;/a&gt; (default: amitag@localhost)&lt;br&gt;
2: &lt;a href=&#34;http://feeds2.feedburner.com/AllAboutLinux&#34;&gt;http://feeds2.feedburner.com/AllAboutLinux&lt;/a&gt; (default: amitag@localhost)&lt;br&gt;
3: &lt;a href=&#34;http://feeds2.feedburner.com/Command-line-fu&#34;&gt;http://feeds2.feedburner.com/Command-line-fu&lt;/a&gt; (default: amitag@localhost)&lt;br&gt;
4: &lt;a href=&#34;http://blogs.members.freewebs.com/Members/Blogs/viewBlogRSS.jsp?userid=29731143&#34;&gt;http://blogs.members.freewebs.com/Members/Blogs/viewBlogRSS.jsp?userid=29731143&lt;/a&gt; (default: amitag@localhost)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;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.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash script to change the vim colorscheme from the list of locally available schemes</title>
      <link>/2010/06/25/bash-script-to-change-the-vim-colorscheme-from-the-list-of-locally-available-schemes/</link>
      <pubDate>Thu, 24 Jun 2010 20:51:35 +0000</pubDate>
      
      <guid>/2010/06/25/bash-script-to-change-the-vim-colorscheme-from-the-list-of-locally-available-schemes/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Vim_gloss_128.png\&#34;&gt;&lt;img title=\&#34;MacVim icon, glossy style\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Vim_gloss_128.png\&#34; alt=\&#34;MacVim icon, glossy style\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Vim_gloss_128.png\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Today I was just wondering how good it would be to have a script to change the &amp;lt;a class=&amp;quot;zem_slink freebase/en/vim&amp;quot; title=&amp;quot;Vim (text editor)&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.vim.org/&amp;quot;&amp;gt;vim&lt;/a&gt; colorscheme from the &amp;lt;a class=&amp;quot;zem_slink freebase/en/cmd_exe&amp;quot; title=&amp;quot;Command Prompt&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Command_Prompt&amp;quot;&amp;gt;command prompt&lt;/a&gt;. The plan for the script was simply to print the list of available schemes and then let the user select the actions from there on. So, here is the result:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Use GIMP to create awesome looking collage in minutes</title>
      <link>/2010/06/25/use-gimp-to-create-awesome-looking-collage-in-minutes/</link>
      <pubDate>Thu, 24 Jun 2010 20:51:33 +0000</pubDate>
      
      <guid>/2010/06/25/use-gimp-to-create-awesome-looking-collage-in-minutes/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here is an example to begin with:&lt;br&gt;
&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/300x200-dscn0161.jpg&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;alignnone size-full wp-image-1228&amp;quot; title=&amp;quot;300x200-dscn0161&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/300x200-dscn0161.jpg&amp;quot; alt=&amp;quot;300x200-dscn0161&amp;quot; width=&amp;quot;267&amp;quot; height=&amp;quot;200&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I will make another collage as an example with screenshots to take you through the process.&lt;/p&gt;
&lt;p&gt;First decide on the size of the collage. I will take 8×12 inches as example. Now, decide on what kind of collage you want. If you want similar to one above then we would need some similar photos to go in the background otherwise you can use some brush strokes as the background image. Now fire up gimp and select new image and enter the properties:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Check file usage using fuser</title>
      <link>/2010/06/25/check-file-usage-using-fuser/</link>
      <pubDate>Thu, 24 Jun 2010 20:51:30 +0000</pubDate>
      
      <guid>/2010/06/25/check-file-usage-using-fuser/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;There is a package called psmisc that provides a useful application fuser. The package provides the below (on fedora):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;/sbin/fuser&lt;br&gt;
/usr/bin/killall&lt;br&gt;
/usr/bin/peekfd&lt;br&gt;
/usr/bin/pstree&lt;br&gt;
/usr/bin/pstree.x11&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There are couple of options you can provide on the terminal to fuser. The main purpose of the binary is to check the process id of the process using the file. This can be useful if some file operation on a file is blocking something for you 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Google chrome on Fedora 11 Leonidas.</title>
      <link>/2010/06/25/google-chrome-on-fedora-11-leonidas/</link>
      <pubDate>Thu, 24 Jun 2010 20:51:28 +0000</pubDate>
      
      <guid>/2010/06/25/google-chrome-on-fedora-11-leonidas/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Earlier I had posted a article on installing &amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/2009/07/20/chrome-chromium-on-linux-repo/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;chromium on Linux&lt;/a&gt;. Chromium is the open source version of the browser which is used by Google to develop its famous browser Chrome. Now chrome rpm is available from google site to install on F11. Here&amp;amp;#8217;s how to do it. First we will add a repo for google. As root user do the following:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;cat &amp;laquo;EOF &amp;gt;/etc/yum.repos.d/google.repo&lt;/p&gt;
&lt;p&gt;[google]&lt;br&gt;
name=Google – i386&lt;br&gt;
baseurl=http://dl.google.com/linux/rpm/stable/i386&lt;br&gt;
enabled=1&lt;br&gt;
gpgcheck=1&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Script to add all the partitions to the fstab.</title>
      <link>/2010/06/25/script-add-partitions-fstab/</link>
      <pubDate>Thu, 24 Jun 2010 20:51:27 +0000</pubDate>
      
      <guid>/2010/06/25/script-add-partitions-fstab/</guid>
      <description>&lt;p&gt;I wrote a simple script today to get all the partitions on all the disks and then create &amp;lt;a class=&amp;quot;zem_slink freebase/en/fstab&amp;quot; title=&amp;quot;Fstab&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Fstab&amp;quot;&amp;gt;fstab&lt;/a&gt; entry with them. The script also gets the &amp;lt;a class=&amp;quot;zem_slink freebase/en/universally_unique_identifier&amp;quot; title=&amp;quot;Universally Unique Identifier&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Universally_Unique_Identifier&amp;quot;&amp;gt;UUID&lt;/a&gt; and uses the same to make the entry 🙂&lt;/p&gt;
&lt;div class=&#34;codecolorer-container bash solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;height:900px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;2&lt;br /&gt;3&lt;br /&gt;4&lt;br /&gt;5&lt;br /&gt;6&lt;br /&gt;7&lt;br /&gt;8&lt;br /&gt;9&lt;br /&gt;10&lt;br /&gt;11&lt;br /&gt;12&lt;br /&gt;13&lt;br /&gt;14&lt;br /&gt;15&lt;br /&gt;16&lt;br /&gt;17&lt;br /&gt;18&lt;br /&gt;19&lt;br /&gt;20&lt;br /&gt;21&lt;br /&gt;22&lt;br /&gt;23&lt;br /&gt;24&lt;br /&gt;25&lt;br /&gt;26&lt;br /&gt;27&lt;br /&gt;28&lt;br /&gt;29&lt;br /&gt;30&lt;br /&gt;31&lt;br /&gt;32&lt;br /&gt;33&lt;br /&gt;34&lt;br /&gt;35&lt;br /&gt;36&lt;br /&gt;37&lt;br /&gt;38&lt;br /&gt;39&lt;br /&gt;40&lt;br /&gt;41&lt;br /&gt;42&lt;br /&gt;43&lt;br /&gt;44&lt;br /&gt;45&lt;br /&gt;46&lt;br /&gt;47&lt;br /&gt;48&lt;br /&gt;49&lt;br /&gt;50&lt;br /&gt;51&lt;br /&gt;52&lt;br /&gt;53&lt;br /&gt;54&lt;br /&gt;55&lt;br /&gt;56&lt;br /&gt;57&lt;br /&gt;58&lt;br /&gt;59&lt;br /&gt;60&lt;br /&gt;61&lt;br /&gt;62&lt;br /&gt;63&lt;br /&gt;64&lt;br /&gt;65&lt;br /&gt;66&lt;br /&gt;67&lt;br /&gt;68&lt;br /&gt;69&lt;br /&gt;70&lt;br /&gt;71&lt;br /&gt;72&lt;br /&gt;73&lt;br /&gt;74&lt;br /&gt;75&lt;br /&gt;76&lt;br /&gt;77&lt;br /&gt;78&lt;br /&gt;79&lt;br /&gt;80&lt;br /&gt;81&lt;br /&gt;82&lt;br /&gt;83&lt;br /&gt;84&lt;br /&gt;85&lt;br /&gt;86&lt;br /&gt;87&lt;br /&gt;88&lt;br /&gt;89&lt;br /&gt;90&lt;br /&gt;91&lt;br /&gt;92&lt;br /&gt;93&lt;br /&gt;94&lt;br /&gt;95&lt;br /&gt;96&lt;br /&gt;97&lt;br /&gt;98&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;bash codecolorer&amp;quot;&amp;gt;
      &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;#!/bin/bash -&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;#===============================================================================&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;#&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;FILE: &amp;amp;nbsp;mount_add_all.sh&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;#&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; USAGE: &amp;amp;nbsp;./mount_add_all.sh&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;#&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# &amp;amp;nbsp; DESCRIPTION: &amp;amp;nbsp;Find all the &amp;lt;a class=&amp;quot;zem_slink freebase/en/disk_partitioning&amp;quot; title=&amp;quot;Disk partitioning&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Disk_partitioning&amp;quot;&amp;gt;disk partitions&amp;lt;/a&amp;gt; and all those that are not present&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; in the fstab.&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;#&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; OPTIONS: &amp;amp;nbsp;---&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# &amp;amp;nbsp;REQUIREMENTS: &amp;amp;nbsp;---&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;BUGS: &amp;amp;nbsp;---&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; NOTES: &amp;amp;nbsp;---&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;AUTHOR: &amp;amp;nbsp;&amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Digital Inspiration&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://amit-agarwal.co.in&amp;quot;&amp;gt;Amit Agarwal&amp;lt;/a&amp;gt; (AKA), amit.agarwal@amit-agarwal.co.in&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; COMPANY: &amp;amp;nbsp;Individual&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; VERSION: &amp;amp;nbsp;1.0&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; CREATED: &amp;amp;nbsp;06/19/2010 10:44:34 PM IST&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;REVISION: &amp;amp;nbsp;0.1&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;#===============================================================================&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;file&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;/tmp/fstab&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;disk_types&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;hd sd&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;count&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;co1&amp;quot;&amp;gt;${#disk_types}&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; find_disks &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#123;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;co1&amp;quot;&amp;gt;${#disk_types}&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$count&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;for&amp;lt;/span&amp;gt; i &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;in&amp;lt;/span&amp;gt; $&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;seq&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;nu0&amp;quot;&amp;gt;1&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$count&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;do&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;j&amp;lt;/span&amp;gt;=i-&amp;lt;span class=&amp;quot;nu0&amp;quot;&amp;gt;1&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$i&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$j&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$j&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;co1&amp;quot;&amp;gt;${disk_types[0]}&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;co1&amp;quot;&amp;gt;${disk_types[1]}&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; disk_array&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#91;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$j&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#93;&amp;lt;/span&amp;gt;=$&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;ls&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;lt;&amp;lt;/span&amp;gt;a &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;class&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;zem_slink freebase/en/device_file_system&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;title&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;Device file&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;rel&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;wikipedia&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;href&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;http://en.wikipedia.org/wiki/Device_file&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;/&amp;lt;/span&amp;gt;dev&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;lt;/&amp;lt;/span&amp;gt;a&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;/&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;co1&amp;quot;&amp;gt;${disk_types[$j]}&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#91;&amp;lt;/span&amp;gt;a-z&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#93;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;co1&amp;quot;&amp;gt;${disk_array[$j]}&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;done&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#125;&amp;lt;/span&amp;gt; &amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# ---------- &amp;amp;nbsp;end of function find_disks &amp;amp;nbsp;----------&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; find_partitions &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#123;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;In find_partitions&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;l&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;nu0&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;count&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;co1&amp;quot;&amp;gt;${#disk_types}&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;for&amp;lt;/span&amp;gt; i &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;in&amp;lt;/span&amp;gt; $&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;seq&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;nu0&amp;quot;&amp;gt;1&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$count&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;do&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;j&amp;lt;/span&amp;gt;=i-&amp;lt;span class=&amp;quot;nu0&amp;quot;&amp;gt;1&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;for&amp;lt;/span&amp;gt; k &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;in&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;co1&amp;quot;&amp;gt;${disk_array[$i]}&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;do&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$k&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;lt;!&amp;lt;/span&amp;gt;--loginview start--&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;&amp;lt;/span&amp;gt;disk_partitions&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#91;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$l&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#93;&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;`&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;fdisk&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re5&amp;quot;&amp;gt;-l&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$k&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;|&amp;lt;&amp;lt;/span&amp;gt;a &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;class&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;zem_slink freebase/en/grep&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;title&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;Grep&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;rel&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;wikipedia&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;href&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;http://en.wikipedia.org/wiki/Grep&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;grep&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;lt;/&amp;lt;/span&amp;gt;a&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;^/dev&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;|&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;grep&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re5&amp;quot;&amp;gt;-v&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;Extended$&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;|&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;cut&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re5&amp;quot;&amp;gt;-d&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot; &amp;quot;&amp;lt;/span&amp;gt; -f1&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;`&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;co1&amp;quot;&amp;gt;${disk_partitions[$l]}&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$l&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;lt;!&amp;lt;/span&amp;gt;--loginview end--&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;l++&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;done&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;done&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#125;&amp;lt;/span&amp;gt; &amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# ---------- &amp;amp;nbsp;end of function find_partitions &amp;amp;nbsp;----------&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; add_fat &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#123;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;# Added with script for &amp;lt;span class=&amp;quot;es2&amp;quot;&amp;gt;$label&amp;lt;/span&amp;gt; and &amp;lt;span class=&amp;quot;es2&amp;quot;&amp;gt;$k&amp;lt;/span&amp;gt;&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$file&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;&amp;lt;span class=&amp;quot;es2&amp;quot;&amp;gt;$uuid&amp;lt;/span&amp;gt; /mnt/&amp;lt;span class=&amp;quot;es2&amp;quot;&amp;gt;$label&amp;lt;/span&amp;gt; vfat&amp;amp;nbsp; nosuid,nodev,uhelper=udisks,uid=500,gid=500,shortname=mixed,dmask=0077&amp;amp;nbsp; 0 0&amp;quot;&amp;lt;/span&amp;gt; &amp;amp;nbsp;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$file&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#125;&amp;lt;/span&amp;gt; &amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# ---------- &amp;amp;nbsp;end of function add_fat &amp;amp;nbsp;----------&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; add_&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;lt;&amp;lt;/span&amp;gt;a &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;class&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;zem_slink freebase/en/ext3&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;title&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;Ext3&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;rel&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;wikipedia&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;href&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;http://en.wikipedia.org/wiki/Ext3&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;&amp;lt;/span&amp;gt;ext3&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;lt;/&amp;lt;/span&amp;gt;a&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#123;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;# Added with script for &amp;lt;span class=&amp;quot;es2&amp;quot;&amp;gt;$label&amp;lt;/span&amp;gt; and &amp;lt;span class=&amp;quot;es2&amp;quot;&amp;gt;$k&amp;lt;/span&amp;gt;&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$file&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;&amp;lt;span class=&amp;quot;es2&amp;quot;&amp;gt;$uuid&amp;lt;/span&amp;gt; /mnt/&amp;lt;span class=&amp;quot;es2&amp;quot;&amp;gt;$label&amp;lt;/span&amp;gt; ext3     defaults     0 0&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$file&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#125;&amp;lt;/span&amp;gt; &amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# ---------- &amp;amp;nbsp;end of function add_ext3 &amp;amp;nbsp;----------&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; find_UUID &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#123;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;In find_UUID with &amp;lt;span class=&amp;quot;es2&amp;quot;&amp;gt;$l&amp;lt;/span&amp;gt;&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;l--&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;for&amp;lt;/span&amp;gt; i &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;in&amp;lt;/span&amp;gt; $&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;seq&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;nu0&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$l&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;do&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;co1&amp;quot;&amp;gt;${disk_partitions[$i]}&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;for&amp;lt;/span&amp;gt; k &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;in&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;co1&amp;quot;&amp;gt;${disk_partitions[$i]}&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;do&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$k&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;lt;!&amp;lt;/span&amp;gt;--loginview start--&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;temp&amp;lt;/span&amp;gt;=$&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;blkid &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$k&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;label&amp;lt;/span&amp;gt;=$&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$temp&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;|&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;grep&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;LABEL=&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;|&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;sed&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;co3&amp;quot;&amp;gt;\&#39;&amp;lt;/span&amp;gt;s&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;/&amp;lt;/span&amp;gt;.&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;*&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;LABEL&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;//\&#39;|sed \&#39;s/&amp;quot;&amp;lt;/span&amp;gt;.&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;*//&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;co3&amp;quot;&amp;gt;\&#39;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;uuid&amp;lt;/span&amp;gt;=$&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$temp&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;|&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;grep&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;UUID=&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;|&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;sed&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;co3&amp;quot;&amp;gt;\&#39;&amp;lt;/span&amp;gt;s&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;/&amp;lt;/span&amp;gt;.&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;*&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;UUID&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;//\&#39;|sed \&#39;s/&amp;quot;&amp;lt;/span&amp;gt;.&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;*//&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;co3&amp;quot;&amp;gt;\&#39;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;atype&amp;lt;/span&amp;gt;=$&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#40;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$temp&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;|&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;grep&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;TYPE=&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;|&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;sed&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;co3&amp;quot;&amp;gt;\&#39;&amp;lt;/span&amp;gt;s&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;/&amp;lt;/span&amp;gt;.&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;*&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;re2&amp;quot;&amp;gt;TYPE&amp;lt;/span&amp;gt;=&amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;//\&#39;|sed \&#39;s/&amp;quot;&amp;lt;/span&amp;gt;.&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;*//&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;co3&amp;quot;&amp;gt;\&#39;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#41;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;lt;!&amp;lt;/span&amp;gt;--loginview end--&amp;lt;span class=&amp;quot;sy0&amp;quot;&amp;gt;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;if&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#91;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$atype&amp;lt;/span&amp;gt; = &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;vfat&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#93;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;then&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; add_fat &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$label&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$uuid&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$k&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;fi&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;if&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#91;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$atype&amp;lt;/span&amp;gt; = &amp;lt;span class=&amp;quot;st0&amp;quot;&amp;gt;&amp;quot;ext3&amp;quot;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#93;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;then&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; add_ext3 &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$label&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$uuid&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$k&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;fi&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw3&amp;quot;&amp;gt;echo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$label&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$uuid&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;re1&amp;quot;&amp;gt;$atype&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;done&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;kw1&amp;quot;&amp;gt;done&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;span class=&amp;quot;br0&amp;quot;&amp;gt;&amp;amp;#125;&amp;lt;/span&amp;gt; &amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;span class=&amp;quot;co0&amp;quot;&amp;gt;# ---------- &amp;amp;nbsp;end of function find_UUID &amp;amp;nbsp;----------&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; find_disks&amp;lt;br /&amp;gt; find_partitions&amp;lt;br /&amp;gt; find_UUID
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;&lt;h6 class=\&#34;zemanta-related-title\&#34;&gt;Related articles by Zemanta&lt;/h6&gt; &lt;ul class=\&#34;zemanta-article-ul\&#34;&gt; &lt;li class=\&#34;zemanta-article-ul-li\&#34;&gt;&lt;a href=\&#34;http://blog.amit-agarwal.co.in/2010/03/11/fedora-11-mount-options-for-vfat-and-other-volumes-for-automount/\&#34;&gt;Fedora 11 &amp;#8211; Mount options for vfat and other volumes for automount.&lt;/a&gt; (amit-agarwal.co.in)&lt;/li&gt; &lt;li class=\&#34;zemanta-article-ul-li\&#34;&gt;&lt;a href=\&#34;http://www.edugeek.net/forums/thin-client-virtual-machines/58405-esx4-cannot-create-datastore.html\&#34;&gt;ESX4 cannot create datastore&lt;/a&gt; (edugeek.net)&lt;/li&gt; &lt;li class=\&#34;zemanta-article-ul-li\&#34;&gt;&lt;a href=\&#34;http://www.brighthub.com/computing/hardware/articles/74336.aspx\&#34;&gt;Creating a Partition on an External Hard Drive&lt;/a&gt; (brighthub.com)&lt;/li&gt; &lt;li class=\&#34;zemanta-article-ul-li\&#34;&gt;&lt;a href=\&#34;http://www.lockergnome.com/it/2010/06/02/partition-assistant-v2-1/\&#34;&gt;Partition Assistant v2.1&lt;/a&gt; (lockergnome.com)&lt;/li&gt; &lt;/ul&gt; &lt;div class=\&#34;zemanta-pixie\&#34;&gt;&lt;a class=\&#34;zemanta-pixie-a\&#34; title=\&#34;Enhanced by Zemanta\&#34; href=\&#34;http://www.zemanta.com/\&#34;&gt;&lt;img class=\&#34;zemanta-pixie-img\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/zemified_c10.gif\&#34; alt=\&#34;Enhanced by Zemanta\&#34; /&gt;&lt;/a&gt;&lt;span class=\&#34;zem-script more-related more-info pretty-attribution paragraph-reblog\&#34;&gt;&lt;/span&gt;&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>Fedora 11 Leonidas — Fix HDD (Hard Disk) and CD/DVD automount issues for users other than root.</title>
      <link>/2010/06/22/fedora-11-leonidas-fix-hdd-hard-disk-and-cddvd-automount-issues-for-users-other-than-root/</link>
      <pubDate>Tue, 22 Jun 2010 02:37:48 +0000</pubDate>
      
      <guid>/2010/06/22/fedora-11-leonidas-fix-hdd-hard-disk-and-cddvd-automount-issues-for-users-other-than-root/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I have been thinking of putting this for quite some time now. By default no user (other than root) on Fedora 11 has the permission to mount CD/DVD and or ntfs/vfat partitions. So HAL automount does not work for these.&lt;/p&gt;
&lt;p&gt;Here is something you can do to fix this:&lt;/p&gt;
&lt;p&gt;Open &lt;strong&gt;System-&amp;gt; Preferences -&amp;gt; Authourizations&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-Authorizations.jpg&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;size-full wp-image-905&amp;quot; title=&amp;quot;Screenshot-Authorizations&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-Authorizations.jpg&amp;quot; alt=&amp;quot;Screenshot-Authorizations&amp;quot; width=&amp;quot;800&amp;quot; height=&amp;quot;700&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now, go to &lt;strong&gt;org -&amp;gt; hal -&amp;gt; storage&lt;/strong&gt; and make the changes to suit your needs. You can add or remove a particular user for the operation with the Grant or Block buttons or for all the users system-wide with the Edit button.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Oracle GUI client on Linux with mysql support</title>
      <link>/2010/06/22/oracle-gui-client-on-linux-with-mysql-support/</link>
      <pubDate>Tue, 22 Jun 2010 02:37:46 +0000</pubDate>
      
      <guid>/2010/06/22/oracle-gui-client-on-linux-with-mysql-support/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I was looking for some nice client for Oracle and mysql. I did find mysql-administrator and navicat to be useful but this is much better. &amp;lt;a href=&amp;quot;http://sourceforge.net/projects/tora/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Tora&lt;/a&gt; is the client that I am talking about. Installation did not take much time for me..&lt;/p&gt;
&lt;p&gt;downloaded the instant client from oracle.com and then the tora rpm from sourceforge.net. Also downloaded the tora-mysql from &lt;a href=&#34;http://rpm.pbone.net/index.php3/stat/21/year/2002/month/01/day/28&#34;&gt;http://rpm.pbone.net/index.php3/stat/21/year/2002/month/01/day/28&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then tried to install all the rpms found the rpms that were missing and installed them using yum. Once this is done install the downloaded rpms with &amp;amp;#8221;–nodeps&amp;amp;#8221; option of rpm.Put the entries in bashrc&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Fixing the Xorg X server after removing nouveau and nvidia and installing a nVidia graphics card.</title>
      <link>/2010/06/22/fixing-xorg-server-removing-nouveau-nvidia-installing-nvidia-graphics-card/</link>
      <pubDate>Tue, 22 Jun 2010 02:37:45 +0000</pubDate>
      
      <guid>/2010/06/22/fixing-xorg-server-removing-nouveau-nvidia-installing-nvidia-graphics-card/</guid>
      <description>&lt;p&gt;I updated my destop configuration recently, well thats not the news. But I was a idiot doing certain things at that time might be something interesting to my readers. I got a &amp;lt;a class=&amp;quot;zem_slink freebase/en/nvidia&amp;quot; title=&amp;quot;Nvidia&amp;quot; rel=&amp;quot;geolocation&amp;quot; href=&amp;quot;http://maps.google.com/maps?ll=37.3707277778,-121.963738889&amp;amp;spn=0.01,0.01&amp;amp;q=37.3707277778,-121.963738889%20%28Nvidia%29&amp;amp;t=h&amp;quot;&amp;gt;nVidia&lt;/a&gt; &amp;lt;a class=&amp;quot;zem_slink freebase/en/video_card&amp;quot; title=&amp;quot;Video card&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Video_card&amp;quot;&amp;gt;graphics card&lt;/a&gt;, that was not the issue but I uninstalled the drivers for it after putting it in was the issue.&lt;/p&gt;
&lt;p&gt;So, here is the story and the fix.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Enhance photos quickly with GIMP</title>
      <link>/2010/06/17/enhance-photos-quickly-with-gimp/</link>
      <pubDate>Thu, 17 Jun 2010 15:56:52 +0000</pubDate>
      
      <guid>/2010/06/17/enhance-photos-quickly-with-gimp/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Okay today I will show you how to enhance or make the photo look better with GIMP. Digital photos are good but can be made better with GIMP. I will take you step by step with the process. There are many other things that you can do but I will cover only basic stuff. So here we go.&lt;/p&gt;
&lt;p&gt;Take a photo of your choice.&lt;/p&gt;
&lt;p&gt;&amp;lt;img class=&amp;quot;size-full wp-image-503&amp;quot; title=&amp;quot;Monkey&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/dscf5962.jpg&amp;quot; alt=&amp;quot;Monkey&amp;quot; width=&amp;quot;387&amp;quot; height=&amp;quot;542&amp;quot; /&amp;gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Change pidgin status from the command line</title>
      <link>/2010/06/16/change-pidgin-status-from-the-command-line/</link>
      <pubDate>Wed, 16 Jun 2010 02:17:06 +0000</pubDate>
      
      <guid>/2010/06/16/change-pidgin-status-from-the-command-line/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&lt;tt&gt;$ purple-remote &amp;quot;setstatus?status=away&amp;amp;message=AFK&amp;quot;&lt;/tt&gt; Thanks for the comment oshazard, i wasn&amp;amp;#8217;t aware of purple-remote existence.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;lt;a href=&amp;quot;http://www.commandlinefu.com/commands/view/4554/change-pidgin-status&amp;quot;&amp;gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&amp;lt;a href=&amp;quot;http://feeds2.feedburner.com/commands/by/unixApe&amp;quot;&amp;gt;View all commands by &lt;/a&gt;&lt;strong&gt;&amp;lt;a href=&amp;quot;http://feeds2.feedburner.com/commands/by/unixApe&amp;quot;&amp;gt;unixApe&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://www.commandlinefu.com&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/header-logo.jpg&amp;quot; alt=&amp;quot;&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&amp;lt;a href=&amp;quot;http://codeinthehole.com&amp;quot;&amp;gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://feedads.g.doubleclick.net/~a/xmocNuFfObClC-QnA38odl3AWt8/0/da&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/xmocNuFfObClC-QnA38odl3AWt8/0/di&amp;quot; alt=&amp;quot;&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt;&lt;/a&gt;&lt;br&gt;
&amp;lt;a href=&amp;quot;http://feedads.g.doubleclick.net/~a/xmocNuFfObClC-QnA38odl3AWt8/1/da&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/xmocNuFfObClC-QnA38odl3AWt8/1/di&amp;quot; alt=&amp;quot;&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~r/Command-line-fu/~4/Ky02xAVnP7w&amp;quot; alt=&amp;quot;&amp;quot; width=&amp;quot;1&amp;quot; height=&amp;quot;1&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;URL: &amp;lt;a href=&amp;quot;http://feedproxy.google.com/~r/Command-line-fu/~3/Ky02xAVnP7w/change-pidgin-status&amp;quot;&amp;gt;http://feedproxy.google.com/~r/Command-line-fu/~3/Ky02xAVnP7w/change-pidgin-status&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>wmctrl – window control manager</title>
      <link>/2010/06/16/wmctrl-window-control-manager/</link>
      <pubDate>Wed, 16 Jun 2010 02:17:04 +0000</pubDate>
      
      <guid>/2010/06/16/wmctrl-window-control-manager/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Deer_Park_Globe.png\&#34;&gt;&lt;img title=\&#34;Blue globe artwork is distributed with Firefox...\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Deer_Park_Globe.png\&#34; alt=\&#34;Blue globe artwork is distributed with Firefox...\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Deer_Park_Globe.png\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&lt;strong&gt;What is &amp;lt;a class=&amp;quot;zem_slink freebase/en/wmctrl&amp;quot; title=&amp;quot;Wmctrl&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Wmctrl&amp;quot;&amp;gt;wmctrl&lt;/a&gt;?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;wmctrl  is  a  command that can be used to interact with an X Window manager that is compatible with the EWMH/NetWM specification.  wmctrl can query the &amp;lt;a class=&amp;quot;zem_slink freebase/en/window_manager&amp;quot; title=&amp;quot;Window manager&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Window_manager&amp;quot;&amp;gt;window manager&lt;/a&gt; for information, and it can request that certain window management actions be taken.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Periodically download and use as wallpaper from Flickr in Fedora using Webilder.</title>
      <link>/2010/06/16/periodically-download-and-use-as-wallpaper-from-flickr-in-fedora-using-webilder/</link>
      <pubDate>Wed, 16 Jun 2010 02:17:03 +0000</pubDate>
      
      <guid>/2010/06/16/periodically-download-and-use-as-wallpaper-from-flickr-in-fedora-using-webilder/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Ever wanted to have wallpaper downloaded from Flickr directly using the tags and then apply them as wallpaper, then the way to go is download Webilder &amp;lt;a href=&amp;quot;http://www.webilder.org/static/downloads/Webilder-0.6.3.tar.gz&amp;quot;&amp;gt;here&lt;/a&gt;. Just do the regular stuff to install the same.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;tar xvfz &lt;filename&gt;&lt;/p&gt;
&lt;p&gt;cd &lt;to the directory created&gt;&lt;/p&gt;
&lt;p&gt;./configure&lt;/p&gt;
&lt;p&gt;make&lt;/p&gt;
&lt;p&gt;sudo make install&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And then right click on the gnome panel and add the widget. Configure the tags to download and the duration to change the wallpaper and enjoy.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>17 Cool firefox tweaks.</title>
      <link>/2010/06/16/17-cool-firefox-tweaks/</link>
      <pubDate>Wed, 16 Jun 2010 02:17:02 +0000</pubDate>
      
      <guid>/2010/06/16/17-cool-firefox-tweaks/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;A very nice article on firefox can be found here. Though written for Ubuntu should be applicable to all distro&amp;amp;#8217;s.&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://www.ubuntu-inside.me/2009/07/17-cool-firefox-aboutconfig-tricks.html&amp;quot;&amp;gt;http://www.ubuntu-inside.me/2009/07/17-cool-firefox-aboutconfig-tricks.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Most of it was done in my machine even before I read the article but good to see all of them together 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>First Fedora 13 Features Listed: NFSv4, DisplayPort</title>
      <link>/2010/06/11/nfsv4-displayport/</link>
      <pubDate>Fri, 11 Jun 2010 01:52:03 +0000</pubDate>
      
      <guid>/2010/06/11/nfsv4-displayport/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Fedora 12 will not see the light of day for a few more weeks still, but the first features for Fedora 13 are now known. On the Fedora Project Wiki is now the Fedora 13 feature list. Added so far to the Fedora 13 feature list are mostly the few features that didn&amp;amp;#8217;t make it in time for Fedora 12: NFSv4 protocol by default, support for mounting NFS servers over IPv6, and yum language package plug-in…&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Let the cow speak what you want it to – ascii art with cowsay</title>
      <link>/2010/06/11/let-the-cow-speak-what-you-want-it-to-ascii-art-with-cowsay/</link>
      <pubDate>Fri, 11 Jun 2010 01:52:02 +0000</pubDate>
      
      <guid>/2010/06/11/let-the-cow-speak-what-you-want-it-to-ascii-art-with-cowsay/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;A picture is worth a thousand words. So here&amp;amp;#8217;s the thousand word posting.&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/cowsay.jpg&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;size-full wp-image-829&amp;quot; title=&amp;quot;cowsay&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/cowsay.jpg&amp;quot; alt=&amp;quot;cowsay&amp;quot; width=&amp;quot;209&amp;quot; height=&amp;quot;300&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To install it, just execute:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo yum install cowsay&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It does install a couple of other timepass things like cowthink and animalsay. So, here are some more screenshots:&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/animalsay.jpg&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;size-full wp-image-830&amp;quot; title=&amp;quot;animalsay&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/animalsay.jpg&amp;quot; alt=&amp;quot;animalsay&amp;quot; width=&amp;quot;161&amp;quot; height=&amp;quot;167&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/06/animalsay-1.jpg&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;size-full wp-image-831&amp;quot; title=&amp;quot;animalsay-1&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/06/animalsay-1.jpg&amp;quot; alt=&amp;quot;animalsay-1&amp;quot; width=&amp;quot;363&amp;quot; height=&amp;quot;187&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>email with templates (with variables) from the command line with sendmail or any other MTA.</title>
      <link>/2010/06/09/email-with-templates-with-variables-from-the-command-line-with-sendmail-or-any-other-mta/</link>
      <pubDate>Wed, 09 Jun 2010 16:57:10 +0000</pubDate>
      
      <guid>/2010/06/09/email-with-templates-with-variables-from-the-command-line-with-sendmail-or-any-other-mta/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I was trying to get templates to work on evolution and found that although templates are there in evolution mail client, its not that efficient to use. What I thus wanted was to have something that could allow me to send mails to (and cc and bcc) to specified people with predefined template, only some values changed, like changelog and so on. So I wrote a set of files and below files to achieve the same. Hope it helps you too 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Scripts to create logins from bash command – for creating multiple accounts</title>
      <link>/2010/06/09/scripts-to-create-logins-from-bash-command-for-creating-multiple-accounts/</link>
      <pubDate>Wed, 09 Jun 2010 16:57:05 +0000</pubDate>
      
      <guid>/2010/06/09/scripts-to-create-logins-from-bash-command-for-creating-multiple-accounts/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Heres the script:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;cat &amp;laquo;EOF &amp;gt; login.sh&lt;br&gt;
for i in  `cat logins` ; do&lt;br&gt;
login=`echo &amp;amp;#8221;$i&amp;amp;#8221;|awk -F&amp;amp;#8221;:&amp;amp;#8221; &#39;{print $2}&amp;amp;#8217;`;&lt;br&gt;
comment=&amp;amp;#8221;`echo &amp;amp;#8221;$i&amp;amp;#8221;|awk -F&amp;amp;#8221;:&amp;amp;#8221; &#39;{print $1}&amp;amp;#8217;`&amp;amp;#8221;;&lt;br&gt;
gr=&amp;amp;#8221;`echo &amp;amp;#8221;$i&amp;amp;#8221;|awk -F&amp;amp;#8221;:&amp;amp;#8221; &#39;{print $3}&amp;amp;#8217;`&amp;amp;#8221;;&lt;br&gt;
echo &amp;amp;#8221;login –&amp;raquo; $login –Comment –&amp;raquo; $comment  –Group –&amp;raquo;$gr  –&amp;amp;#8221;;&lt;br&gt;
echo &amp;amp;#8221;useradd -c &amp;amp;#8221;$comment&amp;amp;#8221; -d /export/home/$login -m -g $gr -s /bin/bash $login&amp;amp;#8221;&lt;br&gt;
useradd -c &amp;amp;#8221;$comment&amp;amp;#8221; -d /export/home/$login -m -g $gr -s /bin/bash $login&lt;br&gt;
done&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You would need to create file called logins to store the comment, login name and the group. The group must have already been created. Here is an example of the file:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash completion not working on Fedora</title>
      <link>/2010/06/07/bash-completion-not-working-on-fedora/</link>
      <pubDate>Sun, 06 Jun 2010 20:58:13 +0000</pubDate>
      
      <guid>/2010/06/07/bash-completion-not-working-on-fedora/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I had bash completion installed and after that I had made huge changes to my bashrc and also installed bashstyle. After this the bash-completion stopped working.&lt;/p&gt;
&lt;p&gt;I had to spend a lot of time to figure out that the easiest solution was to source the bash-completion again in the end. 🙂&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;. /etc/bash_completion&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    
    <item>
      <title>colors in bash -- script to display all the possible colors.</title>
      <link>/2010/06/07/colors-bash-script-display-colors/</link>
      <pubDate>Sun, 06 Jun 2010 20:58:11 +0000</pubDate>
      
      <guid>/2010/06/07/colors-bash-script-display-colors/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you wanted to have colors in the &lt;a class=&#34;zem_slink&#34; title=&#34;Bash (Unix shell)&#34; rel=&#34;homepage&#34; href=&#34;http://tiswww.case.edu/php/chet/bash/bashtop.html&#34;&gt;bash&lt;/a&gt; output (including the colors in PS1-4), don&amp;amp;#8217;t you keep wondering how the &lt;a class=&#34;\&amp;quot;zem_slink&#34; title=&#34;\&amp;quot;Color\&amp;quot;&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;color&lt;/a&gt; code would look on the terminal. So, I wrote this small script to show the complete color codes. This is how the output would look:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;%5C&#34;&gt;&lt;img class=&#34;\&amp;quot;size-medium&#34; title=&#34;\&amp;quot;Bash&#34; src=&#34;\&#34; alt=&#34;\&amp;quot;Bash&#34; width=&#34;\&amp;quot;221\&amp;quot;&#34; height=&#34;\&amp;quot;300\&amp;quot;&#34; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And here is the script:&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;height:900px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;2&lt;br /&gt;3&lt;br /&gt;4&lt;br /&gt;5&lt;br /&gt;6&lt;br /&gt;7&lt;br /&gt;8&lt;br /&gt;9&lt;br /&gt;10&lt;br /&gt;11&lt;br /&gt;12&lt;br /&gt;13&lt;br /&gt;14&lt;br /&gt;15&lt;br /&gt;16&lt;br /&gt;17&lt;br /&gt;18&lt;br /&gt;19&lt;br /&gt;20&lt;br /&gt;21&lt;br /&gt;22&lt;br /&gt;23&lt;br /&gt;24&lt;br /&gt;25&lt;br /&gt;26&lt;br /&gt;27&lt;br /&gt;28&lt;br /&gt;29&lt;br /&gt;30&lt;br /&gt;31&lt;br /&gt;32&lt;br /&gt;33&lt;br /&gt;34&lt;br /&gt;35&lt;br /&gt;36&lt;br /&gt;37&lt;br /&gt;38&lt;br /&gt;39&lt;br /&gt;40&lt;br /&gt;41&lt;br /&gt;42&lt;br /&gt;43&lt;br /&gt;44&lt;br /&gt;45&lt;br /&gt;46&lt;br /&gt;47&lt;br /&gt;48&lt;br /&gt;49&lt;br /&gt;50&lt;br /&gt;51&lt;br /&gt;52&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      #!/bin/bash -&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; # &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;FILE: &amp;amp;nbsp;colors.sh&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; # &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; USAGE: &amp;amp;nbsp;./colors.sh&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; # &amp;amp;nbsp; DESCRIPTION: &amp;amp;nbsp;Bash colors&amp;lt;br /&amp;gt; #&amp;lt;br /&amp;gt; # &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; OPTIONS: &amp;amp;nbsp;---&amp;lt;br /&amp;gt; # &amp;amp;nbsp;REQUIREMENTS: &amp;amp;nbsp;---&amp;lt;br /&amp;gt; # &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;BUGS: &amp;amp;nbsp;---&amp;lt;br /&amp;gt; # &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; NOTES: &amp;amp;nbsp;---&amp;lt;br /&amp;gt; # &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;AUTHOR: &amp;amp;nbsp;Amit Agarwal (AKA), amit.agarwal@amit-agarwal.co.in&amp;lt;br /&amp;gt; # &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; COMPANY: &amp;amp;nbsp;Individual&amp;lt;br /&amp;gt; # &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; VERSION: &amp;amp;nbsp;1.0&amp;lt;br /&amp;gt; # &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; CREATED: &amp;amp;nbsp;09/21/2009 06:12:07 PM IST&amp;lt;br /&amp;gt; # &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;REVISION: &amp;amp;nbsp;---&amp;lt;br /&amp;gt; #===============================================================================&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; for c in `seq 0 255`;&amp;lt;br /&amp;gt; do&amp;lt;br /&amp;gt; t=5;&amp;lt;br /&amp;gt; [[ $c -lt 108 ]]&amp;amp;&amp;amp;t=0;&amp;lt;br /&amp;gt; for i in `seq $t 5`;&amp;lt;br /&amp;gt; do&amp;lt;br /&amp;gt; #Display the codes also for easier lookup in terminal&amp;lt;br /&amp;gt; &amp;lt;!--loginview start--&amp;gt;echo $i;${c}&amp;lt;!--loginview end--&amp;gt;&amp;lt;br /&amp;gt; echo -e &amp;quot;&amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Path (computing)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Path_%28computing%29&amp;quot;&amp;gt;\\&amp;lt;/a&amp;gt;\e[0;48;$i;${c}m|| $i:$c `seq -s+0 $(($COLUMNS/2))|tr -d \&#39;[0-9]\&#39;`\\e[0m&amp;quot;;&amp;lt;br /&amp;gt; done;&amp;lt;br /&amp;gt; done&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; # setup_colors - Adds colors to array CC for global use&amp;lt;br /&amp;gt; # 30 - Black, 31 - Red, 32 - Green, 33 - Yellow, 34 - Blue,&amp;lt;br /&amp;gt; # 35 - Magenta, 36 - Blue/Green, 37 - White,&amp;lt;br /&amp;gt; # 30/42 - Black on Green \&#39;30\\;42\&#39;&amp;lt;br /&amp;gt; &amp;lt;!--loginview start--&amp;gt;function setup_colors(){&amp;lt;br /&amp;gt; declare -a CC;&amp;lt;br /&amp;gt; for i in `seq 0 7`;&amp;lt;br /&amp;gt; do&amp;lt;br /&amp;gt; ii=$(($i+7));&amp;lt;br /&amp;gt; CC[$i]=&amp;quot;\\033[1;3${i}m&amp;quot;;&amp;lt;br /&amp;gt; CC[$ii]=&amp;quot;\\033[0;3${i}m&amp;quot;;&amp;lt;br /&amp;gt; done;&amp;lt;br /&amp;gt; CC[15]=&amp;quot;\\033[30;42m&amp;quot;;&amp;lt;br /&amp;gt; R=$\&#39;\\033[0;00m\&#39;;&amp;lt;br /&amp;gt; X=$\&#39;\\033[1;37m\&#39;;&amp;lt;br /&amp;gt; export R X;&amp;lt;br /&amp;gt; }&amp;lt;br /&amp;gt; function display_colors(){&amp;lt;br /&amp;gt; for i in $(seq 0 $((${#CC[@]} - 1))); do echo -e &amp;quot;${CC[$i]}[$i]\\n$R&amp;quot;; done&amp;lt;br /&amp;gt; }
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;h6 id=&#34;related-articles-by-a-classzem_slink-titlezemanta-relhomepage-hrefhttpwwwzemantacomzemantaa-zemanta-related-title&#34;&gt;Related articles by &lt;a class=&#34;zem_slink&#34; title=&#34;Zemanta&#34; rel=&#34;homepage&#34; href=&#34;http://www.zemanta.com&#34;&gt;Zemanta&lt;/a&gt; {.&amp;quot;zemanta-related-title&amp;quot;}&lt;/h6&gt;
&lt;ul class=&#34;\&amp;quot;zemanta-article-ul\&amp;quot;&#34;&gt;
  &lt;li class=&#34;\&amp;quot;zemanta-article-ul-li\&amp;quot;&#34;&gt;
    &lt;a href=&#34;\&#34;&gt;unbound variable &amp;#8211; bash completion not working and having issues with other stuff like command not found.&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
  &lt;li class=&#34;\&amp;quot;zemanta-article-ul-li\&amp;quot;&#34;&gt;
    &lt;a href=&#34;\&#34;&gt;Modifying the bashrc or bash startup files.&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
  &lt;li class=&#34;\&amp;quot;zemanta-article-ul-li\&amp;quot;&#34;&gt;
    &lt;a href=&#34;\&#34;&gt;Nature-Inspired Colors for Home Interiors&lt;/a&gt; (interiordecorating.suite101.com)
  &lt;/li&gt;
  &lt;li class=&#34;\&amp;quot;zemanta-article-ul-li\&amp;quot;&#34;&gt;
    &lt;a href=&#34;\&#34;&gt;Dark and Light Blue Colors in Feng Shui&lt;/a&gt; (feng-shui-concepts.suite101.com)
  &lt;/li&gt;
  &lt;li class=&#34;\&amp;quot;zemanta-article-ul-li\&amp;quot;&#34;&gt;
    &lt;a href=&#34;\&#34;&gt;Delete all files in a folder that don\&amp;#8217;t match a certain file extension&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;\&amp;quot;zemanta-pixie\&amp;quot;&#34;&gt;
  &lt;a class=&#34;\&amp;quot;zemanta-pixie-a\&amp;quot;&#34; title=&#34;\&amp;quot;Reblog&#34; href=&#34;\&#34;&gt;&lt;img class=&#34;\&amp;quot;zemanta-pixie-img\&amp;quot;&#34; src=&#34;\&#34; alt=&#34;\&amp;quot;Reblog&#34; /&gt;&lt;/a&gt;&lt;span class=&#34;\&amp;quot;zem-script&#34;&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;border: medium none; float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;span class=&#34;zem-script more-related pretty-attribution&#34;&gt;&lt;/span&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>How To Install Ailurus On Fedora</title>
      <link>/2010/06/05/how-to-install-ailurus-10-05-on-fedora-howtoforge-linux-howtos-and-tutorials/</link>
      <pubDate>Sat, 05 Jun 2010 02:08:34 +0000</pubDate>
      
      <guid>/2010/06/05/how-to-install-ailurus-10-05-on-fedora-howtoforge-linux-howtos-and-tutorials/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;For those who have not yet heard about ailurus:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/ailuruslogo.png&amp;quot; alt=&amp;quot;&amp;quot; width=&amp;quot;24&amp;quot; height=&amp;quot;24&amp;quot; /&amp;gt;&lt;strong&gt;What is Ailurus?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Ailurus is cross-Linux-&amp;lt;a class=&amp;quot;zem_slink freebase/en/linux_distribution&amp;quot; title=&amp;quot;Linux distribution&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Linux_distribution&amp;quot;&amp;gt;distribution&lt;/a&gt; &amp;lt;a class=&amp;quot;zem_slink freebase/en/gnu_general_public_license&amp;quot; title=&amp;quot;GNU General Public License&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/GNU_General_Public_License&amp;quot;&amp;gt;GPL&lt;/a&gt; &amp;lt;a class=&amp;quot;zem_slink freebase/en/computer_software&amp;quot; title=&amp;quot;Computer software&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Computer_software&amp;quot;&amp;gt;software&lt;/a&gt;, which aims at making Linux easier to use, for newcomers.&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/ailuruslogo.png&amp;quot; alt=&amp;quot;&amp;quot; width=&amp;quot;24&amp;quot; height=&amp;quot;24&amp;quot; /&amp;gt;&lt;strong&gt;What does Ailurus hope to do?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Ailurus hopes to reduce the difficulty which newcomers encounter when they are using Linux.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Security — Installing and monitoring snort logs.</title>
      <link>/2010/06/04/security-installing-and-monitoring-snort-logs/</link>
      <pubDate>Fri, 04 Jun 2010 02:06:49 +0000</pubDate>
      
      <guid>/2010/06/04/security-installing-and-monitoring-snort-logs/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Snort is a very good security tool to install if you are concerned about the security of your system. I find it really useful but the problem is I keep forgetting to monitor the logs so what did I do, I installed snort and configured cron to send to logs everyday, here&amp;amp;#8217;s how.&lt;/p&gt;
&lt;p&gt;On fedora, snort is available in the repository but the rules are not. So to install snort just type in the following in a terminal:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>redet – build regular expression (regex) for any program.</title>
      <link>/2010/06/04/redet-build-regular-expression-regex-for-any-program/</link>
      <pubDate>Fri, 04 Jun 2010 02:06:46 +0000</pubDate>
      
      <guid>/2010/06/04/redet-build-regular-expression-regex-for-any-program/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Even if someone is  a regex guru there are times that people get confused with some regular expression and want to either test it out or want to some help. Behold, redet is here. Lets start with installing redet:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo yum install redet&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Once you are done with installation, just run it with redet. First you need to load the sample data, select your program and then enter the regex to test it out. Here are some screenshots to get you started.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Logwatch for Linux Systems.</title>
      <link>/2010/06/02/logwatch-for-linux-systems/</link>
      <pubDate>Wed, 02 Jun 2010 01:53:36 +0000</pubDate>
      
      <guid>/2010/06/02/logwatch-for-linux-systems/</guid>
      <description>&lt;p&gt;On my personal &amp;lt;a class=&amp;quot;zem_slink freebase/en/client&amp;quot; title=&amp;quot;Client (computing)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Client_%28computing%29&amp;quot;&amp;gt;desktop&lt;/a&gt; at home, I like to see the &amp;lt;a class=&amp;quot;zem_slink freebase/en/statistics&amp;quot; title=&amp;quot;Statistics&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Statistics&amp;quot;&amp;gt;statistics&lt;/a&gt; at least once a day, for what was installed, what was run with &amp;lt;a class=&amp;quot;zem_slink freebase/en/sudo&amp;quot; title=&amp;quot;Sudo&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.sudo.ws/&amp;quot;&amp;gt;sudo&lt;/a&gt; and other such details like &amp;lt;a class=&amp;quot;zem_slink freebase/en/kernel&amp;quot; title=&amp;quot;Kernel (computing)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Kernel_%28computing%29&amp;quot;&amp;gt;kernel&lt;/a&gt; errors.&lt;/p&gt;
&lt;p&gt;Running this monotonously every day is quite boring, so comes to rescue is logwatch. I have &amp;lt;a class=&amp;quot;zem_slink freebase/en/fedora&amp;quot; title=&amp;quot;Fedora&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://fedoraproject.org/&amp;quot;&amp;gt;Fedora&lt;/a&gt; &amp;lt;a class=&amp;quot;zem_slink freebase/en/installation&amp;quot; title=&amp;quot;Installation (computer programs)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Installation_%28computer_programs%29&amp;quot;&amp;gt;installation&lt;/a&gt; so I will talk about the location with respect to that so for your distribution it might be a little different.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>gdialog on F11 – Leonidas</title>
      <link>/2010/06/01/gdialog-on-f11-leonidas/</link>
      <pubDate>Tue, 01 Jun 2010 02:15:12 +0000</pubDate>
      
      <guid>/2010/06/01/gdialog-on-f11-leonidas/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you are using some old application or want to install some application that was developed quite some time back with GTK GUI, then you may find the application using gdialog. gdialog is no more available and is deprecated in Fedora and same functionality is provided by zenity. But the options to call zenity are slightly different so what do you do. I did a google search and found the following script. The credit of script is not mine and credit goes to &amp;amp;#8221;Mike Newman &lt;a href=&#34;mailto:mikegtn@gnome.org&#34;&gt;mikegtn@gnome.org&lt;/a&gt;&amp;amp;#8221;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>UFRaw – Open open format raw images in Linux.</title>
      <link>/2010/05/28/ufraw-open-open-format-raw-images-in-linux/</link>
      <pubDate>Thu, 27 May 2010 20:26:36 +0000</pubDate>
      
      <guid>/2010/05/28/ufraw-open-open-format-raw-images-in-linux/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&amp;lt;a class=&amp;quot;zem_slink freebase/en/ufraw&amp;quot; title=&amp;quot;UFRaw&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://ufraw.sourceforge.net/&amp;quot;&amp;gt;UFRaw&lt;/a&gt; is quite an essential program if you are using &amp;lt;a class=&amp;quot;zem_slink freebase/en/linux&amp;quot; title=&amp;quot;Linux&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Linux&amp;quot;&amp;gt;Linux&lt;/a&gt; and have a camera that supports &amp;lt;a class=&amp;quot;zem_slink freebase/en/raw_image_format&amp;quot; title=&amp;quot;Raw image format&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Raw_image_format&amp;quot;&amp;gt;raw format&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;UFRaw is a tool for opening raw format images of &amp;lt;a class=&amp;quot;zem_slink freebase/en/digital_camera&amp;quot; title=&amp;quot;Digital camera&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Digital_camera&amp;quot;&amp;gt;digital cameras&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;UFRaw supports a long list of camera&amp;amp;#8217;s. You can see the list of supported camera&amp;amp;#8217;s &amp;lt;a href=&amp;quot;http://ufraw.sourceforge.net/Cameras.html&amp;quot;&amp;gt;here&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Checking the links to your site (from affiliates) using cron and bash script.</title>
      <link>/2010/05/28/checking-links-site-affiliates-cron-bash-script/</link>
      <pubDate>Thu, 27 May 2010 20:26:33 +0000</pubDate>
      
      <guid>/2010/05/28/checking-links-site-affiliates-cron-bash-script/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you have some affiliate links and are concerned about their presence then you can setup &amp;lt;a class=&amp;quot;zem_slink freebase/guid/9202a8c04000641f80000000045c9c5b&amp;quot; title=&amp;quot;Cron&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Cron&amp;quot;&amp;gt;cron&lt;/a&gt; to check the links for you regularly. For this you need a very simple script (as below) and a cron entry (example further down).&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;#!/bin/bash –&lt;br&gt;
#===============================================================================&lt;/p&gt;
&lt;h1 id=&#34;heading&#34;&gt;&lt;/h1&gt;
&lt;p&gt;#          FILE:  checklinks.sh&lt;/p&gt;
&lt;h1 id=&#34;heading-1&#34;&gt;&lt;/h1&gt;
&lt;p&gt;#         USAGE:  ./checklinks.sh&lt;/p&gt;
&lt;h1 id=&#34;heading-2&#34;&gt;&lt;/h1&gt;
&lt;p&gt;#   DESCRIPTION:  Check if the links exists on affiliate sites&lt;/p&gt;
&lt;h1 id=&#34;heading-3&#34;&gt;&lt;/h1&gt;
&lt;p&gt;#       OPTIONS:  —&lt;br&gt;
#  REQUIREMENTS:  —&lt;br&gt;
#          BUGS:  —&lt;br&gt;
#         NOTES:  —&lt;br&gt;
#        AUTHOR:  &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Amit Agarwal&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://amit-agarwal.co.in&amp;quot;&amp;gt;Amit Agarwal&lt;/a&gt; (AKA), &lt;a href=&#34;mailto:amit.agarwal@amit-agarwal.co.in&#34;&gt;amit.agarwal@amit-agarwal.co.in&lt;/a&gt;&lt;br&gt;
#       COMPANY:  Individual&lt;br&gt;
#       VERSION:  1.0&lt;br&gt;
#       CREATED:  04/07/2010 08:19:29 AM IST&lt;br&gt;
#      REVISION:  —&lt;br&gt;
#===============================================================================&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Fedora 12 Beta now available</title>
      <link>/2010/05/27/fedora-12-beta-now-available/</link>
      <pubDate>Thu, 27 May 2010 11:44:43 +0000</pubDate>
      
      <guid>/2010/05/27/fedora-12-beta-now-available/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;h1 id=&#34;span-stylefont-size-x-largea-hrefhttplwnnetarticles357770rssfedora-12-beta-now-availableaspan&#34;&gt;&lt;strong&gt;&amp;lt;span style=&amp;quot;font-size: x-large;&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://lwn.net/Articles/357770/rss&amp;quot;&amp;gt;Fedora 12 Beta now available&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/h1&gt;
&lt;p&gt;The Fedora project has released Fedora 12 Beta. &amp;amp;#8221;We have reached the Fedora 12 Beta, the last important development milestone of Fedora 12. Only critical bug fixes will be pushed as updates leading up to the general release of Fedora 12, scheduled to be released in mid-November. We invite you to join us and participate in making Fedora 12 a solid release by downloading, testing, and providing us your valuable feedback.&amp;amp;#8221; Click below for a list of new features.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>command not found – packagekit plugin</title>
      <link>/2010/05/27/command-not-found-packagekit-plugin/</link>
      <pubDate>Thu, 27 May 2010 11:44:42 +0000</pubDate>
      
      <guid>/2010/05/27/command-not-found-packagekit-plugin/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://en.wikipedia.org/wiki/Image:Plug-InExample.png\&#34;&gt;&lt;img title=\&#34;Example of a Plug-In Framework\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/300px-Plug-InExample.png\&#34; alt=\&#34;Example of a Plug-In Framework\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image via &lt;a href=\&#34;http://en.wikipedia.org/wiki/Image:Plug-InExample.png\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you run into problems where you run some command and the command is not found and you have to install it and run the program again then why not use the command not found &amp;lt;a class=&amp;quot;zem_slink freebase/en/plugin&amp;quot; title=&amp;quot;Plug-in (computing)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Plug-in_%28computing%29&amp;quot;&amp;gt;plugin&lt;/a&gt; for Packagekit. Here is the description:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>vim - get mappings from the help tex files available with the scripts.</title>
      <link>/2010/05/27/vim-mappings-tex-files-scripts/</link>
      <pubDate>Thu, 27 May 2010 11:44:39 +0000</pubDate>
      
      <guid>/2010/05/27/vim-mappings-tex-files-scripts/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here is a simple script that will show all the vim mappings from the tex file (help file that comes with the vim scripts).&lt;/p&gt;
&lt;p&gt;This will prove to be very useful in usin gthe mappings 🙂&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;#!/bin/bash –&lt;br&gt;
#===============================================================================&lt;/p&gt;
&lt;h1 id=&#34;heading&#34;&gt;&lt;/h1&gt;
&lt;p&gt;#          FILE:  get_mappings_from_tex_for_vim.sh&lt;/p&gt;
&lt;h1 id=&#34;heading-1&#34;&gt;&lt;/h1&gt;
&lt;p&gt;#         USAGE:  ./get_mappings_from_tex_for_vim.sh&lt;/p&gt;
&lt;h1 id=&#34;heading-2&#34;&gt;&lt;/h1&gt;
&lt;p&gt;#   DESCRIPTION:  Get the mappings from tex file&lt;/p&gt;
&lt;h1 id=&#34;heading-3&#34;&gt;&lt;/h1&gt;
&lt;p&gt;#       OPTIONS:  —&lt;br&gt;
#  REQUIREMENTS:  —&lt;br&gt;
#          BUGS:  —&lt;br&gt;
#         NOTES:  —&lt;br&gt;
#        AUTHOR:  &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Amit Agarwal&amp;quot; rel=&amp;quot;self&amp;quot; href=&amp;quot;http://blog.amit-agarwal.co.in&amp;quot;&amp;gt;Amit Agarwal&lt;/a&gt; (AKA), &lt;a href=&#34;mailto:amit.agarwal@amit-agarwal.co.in&#34;&gt;amit.agarwal@amit-agarwal.co.in&lt;/a&gt;&lt;br&gt;
#       COMPANY:  Individual&lt;br&gt;
#       VERSION:  1.0&lt;br&gt;
#       CREATED:  09/06/2009 09:19:19 PM IST&lt;br&gt;
#      REVISION:  —&lt;br&gt;
#===============================================================================&lt;br&gt;
file=$1&lt;br&gt;
IFS=$(echo -e &amp;amp;#8217;\n&amp;amp;#8217;)&lt;br&gt;
for i in $(cat $file |&amp;lt;a class=&amp;quot;zem_slink freebase/en/grep&amp;quot; title=&amp;quot;Grep&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Grep&amp;quot;&amp;gt;grep&lt;/a&gt; &amp;amp;#8221;^..line&amp;amp;#8221;)&lt;br&gt;
do&lt;br&gt;
#echo $i |&amp;lt;a class=&amp;quot;zem_slink freebase/en/awk&amp;quot; title=&amp;quot;AWK&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://cm.bell-labs.com/cm/cs/awkbook/index.html&amp;quot;&amp;gt;awk&lt;/a&gt; -F&amp;amp;#8221;&amp;amp;#8217;&amp;amp;#8221; &#39;{print $2&amp;amp;#8221; &amp;amp;#8221; $3&amp;amp;#8221; &amp;amp;#8221;$4}&amp;amp;#8217;|awk -F&amp;amp;#8221;&amp;amp;&amp;amp;#8221; &#39;{print $1&amp;amp;#8221; &amp;amp;#8221;$2}&amp;amp;#8217;&lt;br&gt;
echo $i |awk -F&amp;amp;#8221;&amp;amp;#8217;&amp;amp;#8221; &#39;{&lt;br&gt;
if ( NF &amp;gt;= 4 )&lt;br&gt;
{&lt;br&gt;
print ($2&amp;amp;#8221;\t -&amp;gt;&amp;amp;#8221;$4&amp;amp;#8221;\t==&amp;raquo;&amp;amp;#8221;$NF);&lt;br&gt;
}&lt;br&gt;
else&lt;br&gt;
{&lt;br&gt;
print($2&amp;amp;#8221;\t–&amp;gt;&amp;amp;#8221;$3);&lt;br&gt;
}&lt;br&gt;
fi&lt;br&gt;
}&amp;amp;#8217;  |&amp;lt;a class=&amp;quot;zem_slink freebase/en/sed&amp;quot; title=&amp;quot;Sed&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Sed&amp;quot;&amp;gt;sed&lt;/a&gt; &amp;amp;#8217;s/\h.*(/(/&amp;amp;#8217; |sed &amp;amp;#8217;s/&amp;gt;.*&amp;amp;/&amp;gt;/&amp;amp;#8217; |sed &amp;amp;#8217;s/\t*-.&amp;gt;$//&amp;amp;#8217; |sed &amp;amp;#8217;s/\//&amp;amp;#8217;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>more powerful grep – ack</title>
      <link>/2010/05/26/more-powerful-grep-ack/</link>
      <pubDate>Wed, 26 May 2010 11:41:56 +0000</pubDate>
      
      <guid>/2010/05/26/more-powerful-grep-ack/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;For last couple of days, I have been using ack instead of grep. Here is description of ack:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Ack is designed as a replacement for grep.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There are couple of reasons I am using ack. First and foremost being it does not require a filename. So, for seaching amit in all files recursively under the current directory I can simply use&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;ack amit&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;More reasons to use ack:&lt;/p&gt;
&lt;p&gt;It supports pager option and there can be a rc file that can be used to define the default options that needs to be used with ack. Here is the contents of my &lt;strong&gt;$HOME/.ackrc&lt;/strong&gt; file.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>gnome-disk-manager – the easier way to manage disks in Gnome with Palimpsest</title>
      <link>/2010/05/25/gnome-disk-manager-the-easier-way-to-manage-disks-in-gnome-with-palimpsest/</link>
      <pubDate>Tue, 25 May 2010 11:34:00 +0000</pubDate>
      
      <guid>/2010/05/25/gnome-disk-manager-the-easier-way-to-manage-disks-in-gnome-with-palimpsest/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I had been using quite different set of tools to this but this is really good. Just install the gnome-disk-manager with&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo yum install gnome-disk-manager&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The interface is very clean and easy to understand and is it very very fast when compared to the other Graphical utilities.&lt;/p&gt;
&lt;p&gt;Here are some screenshots to take you through.&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_001.jpe&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;alignnone size-full wp-image-1204&amp;quot; title=&amp;quot;screenshot_001&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_001.jpe&amp;quot; alt=&amp;quot;screenshot_001&amp;quot; width=&amp;quot;806&amp;quot; height=&amp;quot;626&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_002.jpe&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;alignnone size-full wp-image-1205&amp;quot; title=&amp;quot;screenshot_002&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_002.jpe&amp;quot; alt=&amp;quot;screenshot_002&amp;quot; width=&amp;quot;806&amp;quot; height=&amp;quot;626&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>mussh - Multihost SSH wrapper</title>
      <link>/2010/05/25/mussh/</link>
      <pubDate>Tue, 25 May 2010 11:33:59 +0000</pubDate>
      
      <guid>/2010/05/25/mussh/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Mussh is a &amp;lt;a class=&amp;quot;zem_slink freebase/en/shell_script&amp;quot; title=&amp;quot;Shell script&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Shell_script&amp;quot;&amp;gt;shell script&lt;/a&gt; that allows you to execute a command or script over ssh on multiple hosts with one command. When possible mussh will use &amp;lt;a class=&amp;quot;zem_slink freebase/en/ssh-agent&amp;quot; title=&amp;quot;Ssh-agent&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Ssh-agent&amp;quot;&amp;gt;ssh-agent&lt;/a&gt; and RSA/DSA keys to minimize the need to enter your password more than once.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It is a utility for &amp;lt;a class=&amp;quot;zem_slink freebase/en/system_administrator&amp;quot; title=&amp;quot;System administrator&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/System_administrator&amp;quot;&amp;gt;system administrators&lt;/a&gt; maintaining more than one hosts. The utility will help the admin to execute the same command on multiple hosts with a single command.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>LPI Certification help and tutorials</title>
      <link>/2010/05/20/lpi-certification-help-and-tutorials/</link>
      <pubDate>Thu, 20 May 2010 16:43:32 +0000</pubDate>
      
      <guid>/2010/05/20/lpi-certification-help-and-tutorials/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;For the last couple of days I have been very busy but not too away from my desktop. Though I did not get time to publish anything. Here&amp;amp;#8217;s one of my other favourite distributions. Its known as elpicx. This distribution is oriented towards LPI certification exams and contains some documents and links that are quite helpful.&lt;/p&gt;
&lt;p&gt;Good thing is now it supports F9 with KDE.&lt;/p&gt;
&lt;p&gt;I found that the documents in the distro are GPL and thus I dont think that there should be any issue in re-distributing the pdfs and the links, so &amp;lt;a href=&amp;quot;http://amit.with-linux.com/elpicx/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;here&lt;/a&gt; it is. If you find anything in these docs or links that I should not link or upload them, let me know. I wil remove them.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Startup animation and theme for Fedora 12 onwards.</title>
      <link>/2010/05/20/startup-animation-theme-fedora-12-onwards/</link>
      <pubDate>Thu, 20 May 2010 16:43:31 +0000</pubDate>
      
      <guid>/2010/05/20/startup-animation-theme-fedora-12-onwards/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Since the release of &amp;lt;a class=&amp;quot;zem_slink freebase/en/fedora&amp;quot; title=&amp;quot;Fedora&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://fedoraproject.org/&amp;quot;&amp;gt;Fedora&lt;/a&gt; 12, fedora is using plymouth. Plymouth kicks in just after grub and before the Xserver starts.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Description:&lt;/p&gt;
&lt;p&gt;Plymouth provides an attractive graphical &amp;lt;a class=&amp;quot;zem_slink freebase/en/bootsplash&amp;quot; title=&amp;quot;Bootsplash&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Bootsplash&amp;quot;&amp;gt;boot animation&lt;/a&gt; in&lt;br&gt;
place of the &amp;lt;a class=&amp;quot;zem_slink freebase/en/text_messaging&amp;quot; title=&amp;quot;Text messaging&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Text_messaging&amp;quot;&amp;gt;text messages&lt;/a&gt; that normally get shown.  Text&lt;br&gt;
messages are instead redirected to a &amp;lt;a class=&amp;quot;zem_slink freebase/en/data_logger&amp;quot; title=&amp;quot;Data logger&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Data_logger&amp;quot;&amp;gt;log file&lt;/a&gt; for viewing&lt;br&gt;
after boot.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash script to change icon theme to check out all the installed themes (personal)</title>
      <link>/2010/05/19/bash-script-to-change-icon-theme-to-check-out-all-the-installed-themes-personal/</link>
      <pubDate>Wed, 19 May 2010 16:38:44 +0000</pubDate>
      
      <guid>/2010/05/19/bash-script-to-change-icon-theme-to-check-out-all-the-installed-themes-personal/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I am really annoyed with the time that is required and the number of clicks that it takes to change the gnome icon theme. So here&amp;amp;#8217;s a small script that I wrote to quickly check out all the icon themes that I have in my ~/.icons folder.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;#!/bin/bash&lt;br&gt;
[[ &amp;amp;#8221;$1&amp;amp;#8221; == &amp;amp;#8221;&amp;amp;#8221; ]] &amp;amp;&amp;amp; time=5 || time=$1&lt;br&gt;
[[ &amp;amp;#8221;$2&amp;amp;#8221; == &amp;amp;#8221;&amp;amp;#8221; ]] &amp;amp;&amp;amp; (&lt;br&gt;
cd ~/.icons&lt;br&gt;
cont=&amp;amp;#8221;y&amp;amp;#8221;&lt;br&gt;
echo &amp;amp;#8221;Select one of the icon themes&amp;amp;#8221;&lt;br&gt;
echo &amp;amp;#8221;When you like some theme just press Ctrl+c&amp;amp;#8221;&lt;br&gt;
for i in *&lt;br&gt;
do&lt;br&gt;
[[ -d $i/cursors ]] || (&lt;br&gt;
echo &amp;amp;#8221;Now trying …. : $i&amp;amp;#8221;&lt;br&gt;
gconftool-2 –type string -s  /desktop/gnome/interface/icon_theme &amp;amp;#8221;$i&amp;amp;#8221;&lt;br&gt;
sleep $time&lt;br&gt;
)&lt;br&gt;
done&lt;br&gt;
) || gconftool-2 –type string -s  /desktop/gnome/interface/icon_theme &amp;amp;#8221;$2&amp;amp;#8221;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Awk Introduction Tutorial – 7 Awk Print Examples</title>
      <link>/2010/05/19/awk-introduction-tutorial-%E2%80%93-7-awk-print-examples/</link>
      <pubDate>Wed, 19 May 2010 16:38:43 +0000</pubDate>
      
      <guid>/2010/05/19/awk-introduction-tutorial-%E2%80%93-7-awk-print-examples/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://www.daylife.com/image/0fNM7HH9s1904?utm_source=zemanta&amp;utm_medium=p&amp;utm_content=0fNM7HH9s1904&amp;utm_campaign=z1\&#34;&gt;&lt;img title=\&#34;LAS VEGAS - JANUARY 23: Dick Robertson, Presi...\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/150x104.jpg\&#34; alt=\&#34;LAS VEGAS - JANUARY 23: Dick Robertson, Presi...\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image by &lt;a href=\&#34;http://www.daylife.com/source/Getty_Images\&#34;&gt;Getty Images&lt;/a&gt; via &lt;a href=\&#34;http://www.daylife.com\&#34;&gt;Daylife&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;awk examples&lt;/p&gt;
&lt;p&gt;Awk Introduction Tutorial – 7 Awk Print Examples This is the first article on the new awk tutorial series. We’ll be posting several articles on awk in the upcoming weeks that will cover all features of awk with practical examples. In this article, let us review the fundamental awk working methodology along with 7 practical awk print examples. Note: Make sure you review our earlier […]&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Mirror or download a website with a tool much better than wget</title>
      <link>/2010/05/19/mirror-download-website-tool-wget/</link>
      <pubDate>Wed, 19 May 2010 16:38:39 +0000</pubDate>
      
      <guid>/2010/05/19/mirror-download-website-tool-wget/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you want to mirror a &amp;lt;a class=&amp;quot;zem_slink freebase/en/website&amp;quot; title=&amp;quot;Website&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Website&amp;quot;&amp;gt;website&lt;/a&gt;, the simplest tool I know if is &amp;lt;a class=&amp;quot;zem_slink freebase/en/wget&amp;quot; title=&amp;quot;Wget&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.gnu.org/software/wget/&amp;quot;&amp;gt;wget&lt;/a&gt;. Once you have used wget, you know the troubles associated with it. You also get added couple of files as search html files, which are useless and wastage of bandwidth for you as well as the &amp;lt;a class=&amp;quot;zem_slink freebase/en/web_server&amp;quot; title=&amp;quot;Web server&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Web_server&amp;quot;&amp;gt;webserver&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;lftp -e &amp;amp;#8221;mirror -c&amp;amp;#8221;  &lt;URL&gt;&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>How to write a Linux virus – well or a trojan.</title>
      <link>/2010/05/18/how-to-write-a-linux-virus-well-or-a-trojan/</link>
      <pubDate>Tue, 18 May 2010 16:35:20 +0000</pubDate>
      
      <guid>/2010/05/18/how-to-write-a-linux-virus-well-or-a-trojan/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;h1 id=&#34;a-hrefhttpwwwgeekzoneconzfoobar6229-target_blankhow-to-write-a-linux-virusa&#34;&gt;&amp;lt;a href=&amp;quot;http://www.geekzone.co.nz/foobar/6229&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;How to write a Linux virus&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;and the folloup thereof&lt;/p&gt;
&lt;h1 id=&#34;a-hrefhttpwwwgeekzoneconzfoobar6236-target_blankfollow-up-how-to-write-a-linux-virusa&#34;&gt;&amp;lt;a href=&amp;quot;http://www.geekzone.co.nz/foobar/6236&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Follow up: How to write a Linux virus&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Thats quite a lot of discussion and an interesting one too. I too liked the point that the authour is trying to make, that is Linux too is not completely safe. I would rather like to put it as not &amp;amp;#8221;Fool Proof&amp;amp;#8221;.&lt;/p&gt;
&lt;p&gt;But no one is fool. Its just the matter of time when you do something foolish. People do keep thinking about various things and keep working. That being the case, it is not too difficult that someone would actually run the program. But the caveat is that the program/virus/trojan would still show up at some places. So you need to do few more things for this to work. If you are keen on doing this, then you need to atleast add these:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>List all the installed firefox addons from the bash script</title>
      <link>/2010/05/18/list-installed-firefox-addons-bash-script/</link>
      <pubDate>Tue, 18 May 2010 16:35:18 +0000</pubDate>
      
      <guid>/2010/05/18/list-installed-firefox-addons-bash-script/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here is a one-line that would help you get the &amp;lt;a class=&amp;quot;zem_slink freebase/en/mozilla_firefox&amp;quot; title=&amp;quot;Firefox&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.mozilla.com/en-US/firefox/&amp;quot;&amp;gt;Firefox&lt;/a&gt; addons in the bash script:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;grep -hIr \&amp;lt;em:name ~/.mozilla/firefox/*.default/extensions|sed &amp;amp;#8217;s#\s*##&amp;amp;#8217;|sed &amp;amp;#8217;s#.*\(&amp;gt;.*&amp;lt;\).*#\1#&amp;amp;#8217;|sed &amp;amp;#8217;s/[&amp;lt;\|&amp;gt;]//g&amp;amp;#8217;|sort -u&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot;&amp;gt;Related articles by Zemanta&lt;/h6&gt; &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.ghacks.net/2010/05/16/firefox-3-6-4-build-4-released/&amp;quot;&amp;gt;Firefox 3.6.4 Build 4 Released&lt;/a&gt; (ghacks.net)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.webmonkey.com/2010/05/first-look-firefox-4-preview-delivers-speed-revamped-interface/&amp;quot;&amp;gt;First Look: Firefox 4 Preview Delivers Speed, Revamped Interface&lt;/a&gt; (webmonkey.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.ghacks.net/2010/05/15/protect-firefox-bookmarks-with-link-password/&amp;quot;&amp;gt;Protect Firefox Bookmarks With Link Password&lt;/a&gt; (ghacks.net)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.huffingtonpost.com/2010/05/12/mozilla-firefox-4-upgrade_n_573062.html&amp;quot;&amp;gt;Firefox 4 Upgrade Offers Simpler Design, More Privacy Control&lt;/a&gt; (huffingtonpost.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.readwriteweb.com/archives/mozilla_talks_firefox_4_sleeker_interface_better_privacy_controls.php&amp;quot;&amp;gt;Mozilla&amp;amp;#8217;s Plans for Firefox 4: Faster, Sleeker Interface, Better Privacy Controls&lt;/a&gt; (readwriteweb.com)&lt;/li&gt; &lt;/ul&gt; &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Reblog this post [with Zemanta]&amp;quot; href=&amp;quot;http://reblog.zemanta.com/zemified/6a3ffd4a-91cf-47e3-85ff-7dc3b27ffd7d/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b89.png&amp;quot; alt=&amp;quot;Reblog this post [with Zemanta]&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related more-info pretty-attribution paragraph-reblog&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Script to download all the related videos from youtube with youtube-dl</title>
      <link>/2010/05/17/script-download-related-videos-youtube-youtubedl/</link>
      <pubDate>Mon, 17 May 2010 15:59:20 +0000</pubDate>
      
      <guid>/2010/05/17/script-download-related-videos-youtube-youtubedl/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Lets cut the long discussion &amp;lt;a class=&amp;quot;zem_slink freebase/en/short_subject&amp;quot; title=&amp;quot;Short film&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Short_film&amp;quot;&amp;gt;short&lt;/a&gt; and directly give you the script. The script is combination of all the posts that I did in the past about youtube &amp;lt;a class=&amp;quot;zem_slink freebase/en/uploading_and_downloading&amp;quot; title=&amp;quot;Uploading and downloading&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Uploading_and_downloading&amp;quot;&amp;gt;downloads&lt;/a&gt;. You need to copy all the &amp;lt;a class=&amp;quot;zem_slink freebase/en/uniform_resource_locator&amp;quot; title=&amp;quot;Uniform Resource Locator&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Uniform_Resource_Locator&amp;quot;&amp;gt;URL&lt;/a&gt;&amp;amp;#8217;s in a file called &amp;amp;#8221;&lt;strong&gt;~/youtube.urls&lt;/strong&gt;&amp;amp;#8221; which you want to be downloaded. Or if you need to donwload the related videos, then save the html of the page and give it as the first argument for the script. So, here&amp;amp;#8217;s the scrit:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Downloading all related videos from youtube with youtube-dl</title>
      <link>/2010/05/16/downloading-related-videos-youtube-youtubedl/</link>
      <pubDate>Sun, 16 May 2010 15:53:16 +0000</pubDate>
      
      <guid>/2010/05/16/downloading-related-videos-youtube-youtubedl/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;How many time did you want to see all the videos (related) to the one you were watching on youtube but decided otherwise as the downloaded was not fast enough. Or has it happened to you that you wanted to &amp;lt;a class=&amp;quot;zem_slink freebase/en/uploading_and_downloading&amp;quot; title=&amp;quot;Uploading and downloading&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Uploading_and_downloading&amp;quot;&amp;gt;download&lt;/a&gt; all the related videos, in either case you can use the youtube-dl utility I blogged about some times back. First you need to get all the &amp;lt;a class=&amp;quot;zem_slink freebase/en/uniform_resource_locator&amp;quot; title=&amp;quot;Uniform Resource Locator&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Uniform_Resource_Locator&amp;quot;&amp;gt;URL&lt;/a&gt;&amp;amp;#8217;s in a &amp;lt;a class=&amp;quot;zem_slink freebase/en/text_file&amp;quot; title=&amp;quot;Text file&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Text_file&amp;quot;&amp;gt;text file&lt;/a&gt;, and the simplest way to do this is :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Remote X applications on local display in Fedora 11 (leonidas).</title>
      <link>/2010/05/13/remote-x-applications-on-local-display-in-fedora-11-leonidas/</link>
      <pubDate>Thu, 13 May 2010 17:04:34 +0000</pubDate>
      
      <guid>/2010/05/13/remote-x-applications-on-local-display-in-fedora-11-leonidas/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I wanted to open some X applications on my Fedora 11 local display over the ssh connections. I have used this in the previous versions of the Fedora and was looking to do the same in F11. Here are the things that can be done to enable this :&lt;/p&gt;
&lt;p&gt;Allow tcp connections to X server by removing -nolisten in the X server. Set the following parameter in the gdm.conf&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;DisallowTCP=false&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Easier Reinstalls</title>
      <link>/2010/05/10/easier-reinstalls/</link>
      <pubDate>Mon, 10 May 2010 15:07:46 +0000</pubDate>
      
      <guid>/2010/05/10/easier-reinstalls/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;h1 id=&#34;span-stylefont-size-x-largea-hrefhttpwwwhowtoforgecomeasier-reinstallseaa-hrefhttpwwwhowtoforgecomeasier-reinstallsasier-reinstallsaspan&#34;&gt;&lt;strong&gt;&amp;lt;span style=&amp;quot;font-size: x-large;&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.howtoforge.com/easier-reinstalls&amp;quot;&amp;gt;E&lt;/a&gt;&amp;lt;a href=&amp;quot;http://www.howtoforge.com/easier-reinstalls&amp;quot;&amp;gt;asier Reinstalls&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Easier Reinstalls&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I typically reinstall my computer operating system every six months. The reasons for this are that it cleans out the system and reinstalls require me to be in front of the computer for a total of about ten minutes so it&amp;amp;#8217;s painless. Notice I said &amp;amp;#8221;in front of the computer&amp;amp;#8221;, the system does all of the work for me with some specially crafted bash scripts.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>coproc help - a new feature in bash</title>
      <link>/2010/05/10/coproc-feature-bash/</link>
      <pubDate>Mon, 10 May 2010 15:07:45 +0000</pubDate>
      
      <guid>/2010/05/10/coproc-feature-bash/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Bash_demo.png\&#34;&gt;&lt;img title=\&#34;Screenshot of a Bash 3.1 session demonstrating...\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/300px-Bash_demo.png\&#34; alt=\&#34;Screenshot of a Bash 3.1 session demonstrating...\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Bash_demo.png\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt;In the &amp;lt;a class=&amp;quot;zem_slink freebase/en/bash&amp;quot; title=&amp;quot;Bash&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://tiswww.case.edu/php/chet/bash/bashtop.html&amp;quot;&amp;gt;bash&lt;/a&gt; version 4.0, there is a new concept called coproc. This is very useful for some of the daily tasks.&lt;/p&gt;
&lt;p&gt;co-&amp;lt;a class=&amp;quot;zem_slink freebase/guid/9202a8c04000641f800000000005a409&amp;quot; title=&amp;quot;Process (computing)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Process_%28computing%29&amp;quot;&amp;gt;process&lt;/a&gt; starts a process in the background, optionally with a NAME, with which other processes can communicate. This can be a very &amp;lt;a class=&amp;quot;zem_slink freebase/en/substitute_good&amp;quot; title=&amp;quot;Substitute good&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Substitute_good&amp;quot;&amp;gt;good substitution&lt;/a&gt; for &amp;lt;a class=&amp;quot;zem_slink freebase/guid/9202a8c04000641f800000000048fac5&amp;quot; title=&amp;quot;Pipeline (Unix)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Pipeline_%28Unix%29&amp;quot;&amp;gt;pipes&lt;/a&gt; in lots of cases. You can learn more about coproc in the link below:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Download with browse with bash and wget</title>
      <link>/2010/05/09/download-with-browse-with-bash-and-wget/</link>
      <pubDate>Sun, 09 May 2010 13:34:18 +0000</pubDate>
      
      <guid>/2010/05/09/download-with-browse-with-bash-and-wget/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Been pretty busy for last couple of days. Will be busy for another few days, but here&amp;amp;#8217;s something to munch in the meantime (Script may need changes depending on the type of file you want to download or the site you are browsing, but the chnages should be minimal):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;file=&amp;amp;#8221;/tmp/temp.dir&amp;amp;#8221;&lt;br&gt;
url=&amp;amp;#8221;URL Here&amp;amp;#8221;&lt;br&gt;
IFS=&amp;amp;#8217;&lt;br&gt;
&amp;amp;#8217;&lt;br&gt;
cont=&amp;amp;#8221;y&amp;amp;#8221;&lt;br&gt;
while [ $cont != &amp;amp;#8221;n&amp;amp;#8221; ]&lt;br&gt;
do&lt;br&gt;
name=&amp;amp;#8221;&amp;amp;#8221;&lt;br&gt;
wget &amp;amp;#8221;$url&amp;amp;#8221; -O $file -o /dev/null&lt;br&gt;
for i in $(grep href $file |grep -v Parent)&lt;br&gt;
do&lt;br&gt;
name=${i##&lt;em&gt;href=&amp;amp;#8221;}&lt;br&gt;
name=${name%%&amp;amp;#8221;&amp;gt;&lt;/em&gt;}&lt;br&gt;
echo $name&lt;br&gt;
if [[ $name == *gz ]]&lt;br&gt;
then&lt;br&gt;
cont=&amp;amp;#8221;n&amp;amp;#8221;&lt;br&gt;
fi&lt;br&gt;
done&lt;br&gt;
if [ ! $name ]&lt;br&gt;
then&lt;br&gt;
echo &amp;amp;#8221;No files here.. Exiting&amp;amp;#8221;&lt;br&gt;
exit -1&lt;br&gt;
fi&lt;br&gt;
echo&lt;br&gt;
if [ $cont == &amp;amp;#8221;n&amp;amp;#8221; ]&lt;br&gt;
then&lt;br&gt;
echo &amp;amp;#8221;Enter the filename for download :&amp;amp;#8221;&lt;br&gt;
read file&lt;br&gt;
fi&lt;br&gt;
echo &amp;amp;#8221;Select one of the options:&amp;amp;#8221;&lt;br&gt;
read product&lt;br&gt;
url=&amp;amp;#8221;$url/$product&amp;amp;#8221;&lt;br&gt;
echo &amp;amp;#8221;About to get $url&amp;amp;#8221;&lt;br&gt;
done&lt;br&gt;
wget &amp;amp;#8221;$url&amp;amp;#8221; -O $file -o /dev/null&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Transfer all the google feed URLs to rss2email.</title>
      <link>/2010/05/09/transfer-all-the-google-feed-urls-to-rss2email/</link>
      <pubDate>Sun, 09 May 2010 13:34:17 +0000</pubDate>
      
      <guid>/2010/05/09/transfer-all-the-google-feed-urls-to-rss2email/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash script to periodically change the cursor theme.</title>
      <link>/2010/05/07/bash-script-to-periodically-change-the-cursor-theme/</link>
      <pubDate>Fri, 07 May 2010 03:27:41 +0000</pubDate>
      
      <guid>/2010/05/07/bash-script-to-periodically-change-the-cursor-theme/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;blockquote&gt;
&lt;p&gt;#!/bin/bash&lt;br&gt;
[[ &amp;amp;#8221;$1&amp;amp;#8221; == &amp;amp;#8221;&amp;amp;#8221; ]] &amp;amp;&amp;amp; time=5 || time=$1&lt;br&gt;
[[ &amp;amp;#8221;$2&amp;amp;#8221; == &amp;amp;#8221;&amp;amp;#8221; ]] &amp;amp;&amp;amp; (&lt;br&gt;
cd ~/.icons&lt;br&gt;
cont=&amp;amp;#8221;y&amp;amp;#8221;&lt;br&gt;
echo &amp;amp;#8221;Select one of the icon themes&amp;amp;#8221;&lt;br&gt;
echo &amp;amp;#8221;When you like some theme just press Ctrl+c&amp;amp;#8221;&lt;br&gt;
for i in *&lt;br&gt;
do&lt;br&gt;
[[ -d $i/cursors ]] &amp;amp;&amp;amp; (&lt;br&gt;
echo &amp;amp;#8221;Now trying …. : $i&amp;amp;#8221;&lt;br&gt;
gconftool-2 –type string -s  /desktop/gnome/peripherals/mouse/cursor_theme &amp;amp;#8221;$i&amp;amp;#8221;&lt;br&gt;
sleep $time&lt;br&gt;
)&lt;br&gt;
done&lt;br&gt;
) || gconftool-2 –type string -s  /desktop/gnome/peripherals/mouse/cursor_theme &amp;amp;#8221;$2&amp;amp;#8221;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>top - looks better and is more useful with a rc file...</title>
      <link>/2010/05/07/top-rc-file/</link>
      <pubDate>Fri, 07 May 2010 03:27:39 +0000</pubDate>
      
      <guid>/2010/05/07/top-rc-file/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;top is a very useful command to find out who is eating up the &amp;lt;a class=&amp;quot;zem_slink freebase/en/central_processing_unit&amp;quot; title=&amp;quot;Central processing unit&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Central_processing_unit&amp;quot;&amp;gt;CPU&lt;/a&gt; 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&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;RCfile for &amp;amp;#8221;top&amp;amp;#8221;&lt;br&gt;
Id:a, Mode_altscr=1, Mode_irixps=0, Delay_time=5.000, Curwin=0&lt;br&gt;
Def    fieldscur=mfcAbdEgHIursOpQTvyzWjKNLX&lt;br&gt;
winflags=32184, sortindx=10, maxtasks=0&lt;br&gt;
summclr=4, msgsclr=5, headclr=5, taskclr=4&lt;br&gt;
Job    fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX&lt;br&gt;
winflags=62777, sortindx=0, maxtasks=0&lt;br&gt;
summclr=6, msgsclr=6, headclr=7, taskclr=6&lt;br&gt;
Mem    fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX&lt;br&gt;
winflags=62777, sortindx=13, maxtasks=0&lt;br&gt;
summclr=5, msgsclr=5, headclr=4, taskclr=5&lt;br&gt;
Usr    fieldscur=ABDECGfhijlopqrstuvyzMKNWX&lt;br&gt;
winflags=62777, sortindx=4, maxtasks=0&lt;br&gt;
summclr=3, msgsclr=3, headclr=2, taskclr=3&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Solved -- Errors with afraid-dyndns in Goddard (Fedora 13)</title>
      <link>/2010/05/06/solved-errors-afraiddyndns-goddard-fedora-13/</link>
      <pubDate>Thu, 06 May 2010 13:31:17 +0000</pubDate>
      
      <guid>/2010/05/06/solved-errors-afraiddyndns-goddard-fedora-13/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Since I updated to the &amp;lt;a class=&amp;quot;zem_slink freebase/en/fedora&amp;quot; title=&amp;quot;Fedora&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://fedoraproject.org/&amp;quot;&amp;gt;Fedora&lt;/a&gt; 13, I was getting error from the &amp;lt;a class=&amp;quot;zem_slink freebase/en/dynamic_dns&amp;quot; title=&amp;quot;Dynamic DNS&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Dynamic_DNS&amp;quot;&amp;gt;Dynamic DNS&lt;/a&gt; client for afraid. I was not getting enough time to fix this, so finally I decided to fix this in the night itself 🙂&lt;/p&gt;
&lt;p&gt;Problem:&lt;br&gt;
On running&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;afraid-dyndns&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I was getting the error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Entity: line 100: &amp;lt;a class=&amp;quot;zem_slink freebase/en/parsing&amp;quot; title=&amp;quot;Parsing&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Parsing&amp;quot;&amp;gt;parser&lt;/a&gt; error : Opening and ending tag mismatch: br line 99 and div&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>xterm – select font name and size from command line and set it as default</title>
      <link>/2010/05/05/xterm-select-font-name-and-size-from-command-line-and-set-it-as-default/</link>
      <pubDate>Wed, 05 May 2010 15:19:19 +0000</pubDate>
      
      <guid>/2010/05/05/xterm-select-font-name-and-size-from-command-line-and-set-it-as-default/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I have been very busy last week and specially yesterday with 20 hours of continueous work, but managed to get this working :).&lt;/p&gt;
&lt;p&gt;When you right click on Xterm with Ctrl pressed, there pops up a menu for selecting the size of the font. I have always wondered how to set this as default font and/or use this from the command line. So I searched my old homedir and looked for few of the docs that I had to get the information. Here is what I found.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Find out why a program can&#39;t seem to access to a file</title>
      <link>/2010/05/05/find-program-access-file/</link>
      <pubDate>Wed, 05 May 2010 15:19:18 +0000</pubDate>
      
      <guid>/2010/05/05/find-program-access-file/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&lt;tt&gt;$ strace php tias.php -e open,access 2&amp;gt;&amp;amp;1 | &amp;lt;a class=&amp;quot;zem_slink freebase/en/grep&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Grep&amp;quot; title=&amp;quot;Grep&amp;quot; rel=&amp;quot;wikipedia&amp;quot;&amp;gt;grep&lt;/a&gt; foo.txt&lt;/tt&gt; Sometimes a program refuses to read a file and you&amp;amp;#8217;re not sure why. You may have display_errors turned off for &amp;lt;a class=&amp;quot;zem_slink freebase/en/php&amp;quot; href=&amp;quot;http://www.php.net/&amp;quot; title=&amp;quot;PHP&amp;quot; rel=&amp;quot;homepage&amp;quot;&amp;gt;PHP&lt;/a&gt; or something. In this example, fopen(&amp;amp;#8217;/var/www/test/foo.txt&amp;amp;#8217;) was called but doesn&amp;amp;#8217;t have read access to foo.txt.&lt;/p&gt;
&lt;p&gt;Strace can tell you what went wrong. E.g., if php doesn&amp;amp;#8217;t have read access to the file, strace will say &amp;amp;#8221;EACCESS (Permission denied)&amp;amp;#8221;. Or, if the &amp;lt;a class=&amp;quot;zem_slink freebase/guid/9202a8c04000641f8000000000220ffa&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Path_%28computing%29&amp;quot; title=&amp;quot;Path (computing)&amp;quot; rel=&amp;quot;wikipedia&amp;quot;&amp;gt;file path&lt;/a&gt; you gave doesn&amp;amp;#8217;t exist, strace will say &amp;amp;#8221;ENOENT (No such file or directory)&amp;amp;#8221;, etc.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Download youtube video directly from the command line with youtube-dl</title>
      <link>/2010/05/03/download-youtube-video-command-line-youtubedl/</link>
      <pubDate>Mon, 03 May 2010 17:38:07 +0000</pubDate>
      
      <guid>/2010/05/03/download-youtube-video-command-line-youtubedl/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you keep searching for applications to &amp;lt;a class=&amp;quot;zem_slink freebase/en/uploading_and_downloading&amp;quot; title=&amp;quot;Uploading and downloading&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Uploading_and_downloading&amp;quot;&amp;gt;download&lt;/a&gt; the &amp;lt;a class=&amp;quot;zem_slink freebase/en/youtube&amp;quot; title=&amp;quot;YouTube&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.youtube.com/&amp;quot;&amp;gt;youtube&lt;/a&gt; videos or you keep searching for the firefox addons to download the embedded the video, then this is for you. Ofcouse that is the case, only if you do not want to copy it after you have watched it in the &amp;lt;a class=&amp;quot;zem_slink freebase/en/web_browser&amp;quot; title=&amp;quot;Web browser&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Web_browser&amp;quot;&amp;gt;browser&lt;/a&gt; :). If you have already watched it then you can copy it from the &amp;lt;a class=&amp;quot;zem_slink freebase/en/mozilla_firefox&amp;quot; title=&amp;quot;Firefox&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.mozilla.com/en-US/firefox/&amp;quot;&amp;gt;Firefox&lt;/a&gt; cache. I will post on that later for now lets see youtube-dl.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Local DNS Server for faster DNS response time</title>
      <link>/2010/04/30/local-dns-server-for-faster-dns-response-time/</link>
      <pubDate>Fri, 30 Apr 2010 14:01:54 +0000</pubDate>
      
      <guid>/2010/04/30/local-dns-server-for-faster-dns-response-time/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here&amp;amp;#8217;s a quick tip for faster DNS response time. I installed a local DNS server which can contact the remote DNS server and enabled caching for the local DNS server. This ensures that the response time for the DNS queries is much faster.&lt;/p&gt;
&lt;p&gt;I am on Fedora 10, so here&amp;amp;#8217;s what I was required to do:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;yum install dnsmasq&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;After this I created a file called /etc/resolve.dns with the nameserver address&amp;amp;#8217;s and heres what it looks like:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Delete all files in a folder that don&#39;t match a certain file extension</title>
      <link>/2010/04/30/delete-files-folder-match-file-extension/</link>
      <pubDate>Fri, 30 Apr 2010 14:01:52 +0000</pubDate>
      
      <guid>/2010/04/30/delete-files-folder-match-file-extension/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&lt;tt&gt;$ rm !(&lt;em&gt;.foo|&lt;/em&gt;.bar|*.baz)&lt;/tt&gt;&lt;/p&gt;
&lt;p&gt;Deletes all files in a folder that are NOT *.foo, *.bar or *.baz files. Edit the pattern inside the brackets as you like.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;lt;a href=&amp;quot;http://www.commandlinefu.com/commands/view/5351/delete-all-files-in-a-folder-that-dont-match-a-certain-file-extension&amp;quot;&amp;gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&amp;lt;a href=&amp;quot;http://feeds2.feedburner.com/commands/by/hutch&amp;quot;&amp;gt;View all commands by &lt;/a&gt;&lt;strong&gt;&amp;lt;a href=&amp;quot;http://feeds2.feedburner.com/commands/by/hutch&amp;quot;&amp;gt;hutch&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://www.commandlinefu.com&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/header-logo.jpg&amp;quot; alt=&amp;quot;&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&amp;lt;a href=&amp;quot;http://codeinthehole.com&amp;quot;&amp;gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://feedads.g.doubleclick.net/~a/kewaFMgsXI4A1vQfeLscg2Vcv8o/0/da&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/kewaFMgsXI4A1vQfeLscg2Vcv8o/0/di&amp;quot; alt=&amp;quot;&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt;&lt;/a&gt;&lt;br&gt;
&amp;lt;a href=&amp;quot;http://feedads.g.doubleclick.net/~a/kewaFMgsXI4A1vQfeLscg2Vcv8o/1/da&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/kewaFMgsXI4A1vQfeLscg2Vcv8o/1/di&amp;quot; alt=&amp;quot;&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~r/Command-line-fu/~4/TCRb2ku_V1Y&amp;quot; alt=&amp;quot;&amp;quot; width=&amp;quot;1&amp;quot; height=&amp;quot;1&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>25 Awesome GIMP Brush Sets (Download 1000&#43; FREE Brushes)</title>
      <link>/2010/04/29/25-awesome-gimp-brush-sets-download-1000-free-brushes/</link>
      <pubDate>Thu, 29 Apr 2010 14:46:31 +0000</pubDate>
      
      <guid>/2010/04/29/25-awesome-gimp-brush-sets-download-1000-free-brushes/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Tech Source From Bohol: &amp;amp;#8221;To help you further enhance the functionality of GIMP, I have here a huge collection of awesome, high-quality brushes that can be utilized for whatever projects you may have.&amp;amp;#8221;&lt;/p&gt;
&lt;p&gt;URL: &amp;lt;a href=&amp;quot;http://linuxtoday.com/news_story.php3?ltsn=2009-10-11-005-35-MM-SW&amp;quot;&amp;gt;http://linuxtoday.com/news_story.php3?ltsn=2009-10-11-005-35-MM-SW&lt;/a&gt;&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot; style=&amp;quot;font-size: 1em;&amp;quot;&amp;gt;Related articles by Zemanta&lt;/h6&gt; &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.slumpedoverkeyboarddead.com/2009/10/10/five-super-simple-photo-fixes-with-the-gimp/&amp;quot;&amp;gt;Five Super Simple Photo Fixes with The GIMP&lt;/a&gt; (slumpedoverkeyboarddead.com)&lt;/li&gt; &lt;/ul&gt; &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot; style=&amp;quot;margin-top: 10px; height: 15px;&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Reblog this post [with Zemanta]&amp;quot; href=&amp;quot;http://reblog.zemanta.com/zemified/a5cb830f-a1ff-41d0-b3e7-27bd261ff52c/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; style=&amp;quot;border: medium none; float: right;&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e12.png&amp;quot; alt=&amp;quot;Reblog this post [with Zemanta]&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related pretty-attribution&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Spruce up your firefox with lightweight themes – Personas</title>
      <link>/2010/04/29/spruce-up-your-firefox-with-lightweight-themes-personas/</link>
      <pubDate>Thu, 29 Apr 2010 14:46:30 +0000</pubDate>
      
      <guid>/2010/04/29/spruce-up-your-firefox-with-lightweight-themes-personas/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Head over to Firefox addons site  for persona &amp;lt;a href=&amp;quot;https://addons.mozilla.org/en-US/firefox/addon/10900&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;here&lt;/a&gt;. This addon will give you the ability to change the look and feel of the browser without restarting it. Though it is not completely like themes and does not change the look and feel of the buttons and plenty of other things but this does make the browser a lot better. Here are some screenshots to show you how it feels like:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Lock the hardware eject button of the cdrom</title>
      <link>/2010/04/29/lock-hardware-eject-button-cdrom/</link>
      <pubDate>Thu, 29 Apr 2010 14:46:29 +0000</pubDate>
      
      <guid>/2010/04/29/lock-hardware-eject-button-cdrom/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&lt;tt&gt;$ eject -i 1&lt;/tt&gt; This command will lock the hardware eject button of your cdrom drive. Some uses are:&lt;/p&gt;
&lt;p&gt;1: If you have a toddler and has discovered the cdrom button&lt;/p&gt;
&lt;p&gt;2: If you are carrying a laptop in a bag or case and don&amp;amp;#8217;t want it to eject if the button is inadvertently pressed.&lt;/p&gt;
&lt;p&gt;To unlock the button use:&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;eject -i 0&lt;/tt&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;lt;a href=&amp;quot;http://www.commandlinefu.com/commands/view/5390/lock-the-hardware-eject-button-of-the-cdrom&amp;quot;&amp;gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&amp;lt;a href=&amp;quot;http://feeds2.feedburner.com/commands/by/mdelatorre&amp;quot;&amp;gt;View all commands by &lt;/a&gt;&lt;strong&gt;&amp;lt;a href=&amp;quot;http://feeds2.feedburner.com/commands/by/mdelatorre&amp;quot;&amp;gt;mdelatorre&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://www.commandlinefu.com&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/header-logo.jpg&amp;quot; alt=&amp;quot;&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Upgrade to Fedora 13 from your existing version using yum.</title>
      <link>/2010/04/21/upgrade-fedora-13-existing-version-yum/</link>
      <pubDate>Wed, 21 Apr 2010 15:47:06 +0000</pubDate>
      
      <guid>/2010/04/21/upgrade-fedora-13-existing-version-yum/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Well. this time it seems to be very simple :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;yum –releasever=13 upgrade&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;update 22/April/2010:&lt;br&gt;
The key file will not be there so there are two options for you in this case:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Install the following rpms from the downloaded rpms with &amp;amp;#8221;yum –nogpg localinstall&amp;amp;#8221;&lt;br&gt;
a) fedora-release&lt;br&gt;
b) fedora-release-notes&lt;/li&gt;
&lt;li&gt;Run the whole upgrade with –nogpg option.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Issue observed after the upgrade:&lt;br&gt;
The new kernel was not added in the grub menu and I had to manually add the below entry in the &amp;lt;a class=&amp;quot;zem_slink freebase/en/gnu_grub&amp;quot; title=&amp;quot;GNU GRUB&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.gnu.org/software/grub/&amp;quot;&amp;gt;menu.lst&lt;/a&gt; file:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Liquid rescale and remove objects from the images.</title>
      <link>/2010/04/12/liquid-rescale-and-remove-objects-from-the-images/</link>
      <pubDate>Mon, 12 Apr 2010 02:38:01 +0000</pubDate>
      
      <guid>/2010/04/12/liquid-rescale-and-remove-objects-from-the-images/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Ever wanted to remove some unwanted object from an image. Wonder how many thinkgs you have to do, clone and delete and what not:)&lt;/p&gt;
&lt;p&gt;There is a simpler way, just paint it in foreground color. Does that sound ridiculous, not any more with Liquid Rescale. First install the plugin for liquid rescale for gimp.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;yum install gimp-lqr-plugin&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Now, just follow simple instructions below:&lt;/p&gt;
&lt;blockquote&gt;
&lt;ol&gt;
&lt;li&gt;in the menu, choose &lt;em&gt;Layer&lt;/em&gt; and then &lt;em&gt;Liquid Rescale&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;click on the &lt;em&gt;New&lt;/em&gt; button in the &lt;em&gt;Discard features&lt;/em&gt; section on the right: a new layer will be created&lt;/li&gt;
&lt;li&gt;put the plugin window on one side of the screen without closing it, and go back to work on the gimp main windows&lt;/li&gt;
&lt;li&gt;choose the paint tool and paint over the area you wish to remove&lt;/li&gt;
&lt;li&gt;go back to the plugin window&lt;/li&gt;
&lt;li&gt;click the &lt;em&gt;Refresh&lt;/em&gt; button at the bottom: you should see your discard mask appear in the preview&lt;/li&gt;
&lt;li&gt;optionally, in the &lt;em&gt;Mode&lt;/em&gt; box on the left choose &lt;em&gt;Lqr + scale back&lt;/em&gt; or &lt;em&gt;Lqr + Lqr back&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;click the &lt;em&gt;Auto size&lt;/em&gt; button at the bottom of the &lt;em&gt;Discard features&lt;/em&gt; section (optionally choose the scaling direction in the box at the side of the button before clicking it).&lt;/li&gt;
&lt;li&gt;click &lt;em&gt;OK&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;p&gt;Could it get any simpler.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>recursively add directory and files to cvs from Linux.</title>
      <link>/2010/04/12/recursively-add-directory-and-files-to-cvs-from-linux/</link>
      <pubDate>Mon, 12 Apr 2010 02:37:59 +0000</pubDate>
      
      <guid>/2010/04/12/recursively-add-directory-and-files-to-cvs-from-linux/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Go to the directory which you want to add to cvs and execute the following:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;cvs login&lt;/p&gt;
&lt;p&gt;find . -type d -exec cvs add {} \;&lt;/p&gt;
&lt;p&gt;find . -type f -exec cvs add {} \;&lt;/p&gt;
&lt;p&gt;cvs commit&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;That was simple 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Afraid Dynamic DNS client in Fedora with Email indicating the changed to original IP.</title>
      <link>/2010/04/12/afraid-dynamic-dns-client-in-fedora-with-email-indicating-the-changed-to-original-ip/</link>
      <pubDate>Mon, 12 Apr 2010 02:37:54 +0000</pubDate>
      
      <guid>/2010/04/12/afraid-dynamic-dns-client-in-fedora-with-email-indicating-the-changed-to-original-ip/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34; style=\&#34;margin: 1em; display: block;\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34; style=\&#34;width: 136px;\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://www.crunchbase.com/product/fedora\&#34;&gt;&lt;img title=\&#34;Image representing Fedora as depicted in Crunc...\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/21266v1-max-450x450.png\&#34; alt=\&#34;Image representing Fedora as depicted in Crunc...\&#34; width=\&#34;126\&#34; height=\&#34;41\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34; style=\&#34;font-size: 0.8em;\&#34;&gt;Image via &lt;a href=\&#34;http://www.crunchbase.com\&#34;&gt;CrunchBase&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you have your domain in the Dynamic DNS located at : &amp;lt;a href=&amp;quot;http://freedns.afraid.org&amp;quot;&amp;gt;Freedns&lt;/a&gt; then you know how difficult it is to get the Dynamic DNS client to work with Fedora. Not that it does not work, but you need to configure it properly and there are lot of parameters. But not any more. Now you can install the afraid Dynamic DNS client and just put your Account Hash in the config file and you are ready with the setup to update the DNS entry whenever your IP changes. So lets get started:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>F12 Wallpaper Sprinting</title>
      <link>/2010/04/11/f12-wallpaper-sprinting/</link>
      <pubDate>Sun, 11 Apr 2010 09:11:59 +0000</pubDate>
      
      <guid>/2010/04/11/f12-wallpaper-sprinting/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I’ve been working with Jon McCann, Charlie Brej, Nicu Buculei, Jeremy Perry, María Leandro, and Ian Weller’s help and critique the past few days on trying to come up with a slicker version of the F12 background for the final. 1 newly color-managed Thinkpad, 4 Gimp brushes, several CC-BY and CC-BY-SA textures from Flickr, 2 dozen SLR photos of shower water, and &amp;lt;a href=&amp;quot;http://duffy.fedorapeople.org/art/f12/oct%2020/&amp;quot;&amp;gt;62 mockups&lt;/a&gt; later… this is what we have so far. Please let me know what you think. &lt;strong&gt;We are working to get it packaged by this coming Tuesday&lt;/strong&gt; so we can make it, and be awesome while we’re at it. If you have any suggestions or modifications you’d like to propose please reply here or on design-team at lists dot fedoraproject dot org.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Jokes – many to be downloaded once..</title>
      <link>/2010/04/11/jokes-many-to-be-downloaded-once/</link>
      <pubDate>Sun, 11 Apr 2010 09:11:55 +0000</pubDate>
      
      <guid>/2010/04/11/jokes-many-to-be-downloaded-once/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;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&amp;amp;#8217;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&amp;amp;#8217;s the one liner to get lot of jokes in one file.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;#!/bin/bash&lt;br&gt;
for i in `echo 000{0..9} 00{10..99} 0{100..999} {1000..1600}` ; do links -dump &lt;a href=&#34;http://www.robsjokes.com/$i/index.html&#34;&gt;http://www.robsjokes.com/$i/index.html&lt;/a&gt; | sed &amp;amp;#8217;/Random Joke/,/Next Joke/!d&amp;amp;#8217; | sed &amp;amp;#8217;/^$/,/^$/!d&amp;amp;#8217; &amp;raquo; ~/Rob.jokes ; echo &amp;amp;#8217;%&amp;amp;#8217; &amp;raquo; ~/Rob.jokes ;echo $i; done&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Linux Links — collection of universe.. all links on everything about linux</title>
      <link>/2010/04/11/linux-links-collection-of-universe-all-links-on-everything-about-linux/</link>
      <pubDate>Sun, 11 Apr 2010 09:11:46 +0000</pubDate>
      
      <guid>/2010/04/11/linux-links-collection-of-universe-all-links-on-everything-about-linux/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://loll.sourceforge.net/linux/links/&amp;quot;&amp;gt;LoLL&lt;/a&gt; is a sourceforge project which maintains a well commented and categorized list of links on linux. This is a very nice list and has very nice links. Probably there is nothing that you will not find here which do not interest you. Definately worth a look.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Bugzilla Automation with perl — add, update or query any bug in Bugzilla using perl and www series modules for perl.</title>
      <link>/2010/04/11/bugzilla-automation-with-perl-add-update-or-query-any-bug-in-bugzilla-using-perl-and-www-series-modules-for-perl/</link>
      <pubDate>Sun, 11 Apr 2010 09:11:43 +0000</pubDate>
      
      <guid>/2010/04/11/bugzilla-automation-with-perl-add-update-or-query-any-bug-in-bugzilla-using-perl-and-www-series-modules-for-perl/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Today I was trying to do some queries and see if I could create a new bug or update a existing bug in the Bugzilla. The one that I was trying to access was on version 2.0 and not on 3.0. This being the case, the XMLRPC interface was not working properly and to top it all, I was wanted to query quite a lot of bugs. So, I went out to evaluate how to avoid the manual work and get this done faster. Here&amp;amp;#8217;s some of my findings:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash script to change vim colorscheme based on the available themes</title>
      <link>/2010/04/11/bash-script-change-vim-colorscheme-based-themes/</link>
      <pubDate>Sun, 11 Apr 2010 09:11:41 +0000</pubDate>
      
      <guid>/2010/04/11/bash-script-change-vim-colorscheme-based-themes/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Vim_gloss_128.png\&#34;&gt;&lt;img title=\&#34;MacVim icon, glossy style\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Vim_gloss_128.png\&#34; alt=\&#34;MacVim icon, glossy style\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Vim_gloss_128.png\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt;Here&amp;amp;#8217;s one script that you may find useful. A little variation or wrapper for this script can make your life colorful 🙂&lt;/p&gt;
&lt;p&gt;You can write a wrapper to this to take one of the inputs randomly and then use it in alias to start &amp;lt;a class=&amp;quot;zem_slink freebase/en/vim&amp;quot; title=&amp;quot;Vim (text editor)&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.vim.org/&amp;quot;&amp;gt;vim&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Adding date to Photographs.</title>
      <link>/2010/04/07/adding-date-to-photographs/</link>
      <pubDate>Wed, 07 Apr 2010 07:56:12 +0000</pubDate>
      
      <guid>/2010/04/07/adding-date-to-photographs/</guid>
      <description>&lt;p&gt;This is one of the common things that I want to do when I want to print the photos and its truely boring job to do given the fact that the Date Photo taken is already in the image taken by the Digital Photos. So finally I wrote a simple script to do this. Here it is for anyone who might be interested:&lt;/p&gt;
&lt;p&gt;(Note you will need the program called anotate, written by me, posted earlier and exiftool)&amp;lt;pre style=&amp;quot;padding-left: 30px;&amp;quot;&amp;gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Create your own splash screen for gimp</title>
      <link>/2010/04/05/create-your-own-splash-screen-for-gimp/</link>
      <pubDate>Mon, 05 Apr 2010 02:36:26 +0000</pubDate>
      
      <guid>/2010/04/05/create-your-own-splash-screen-for-gimp/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Wilber-huge-alpha.png\&#34;&gt;&lt;img title=\&#34;Category:Created with GIMP\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/300px-Wilber-huge-alpha.png\&#34; alt=\&#34;Category:Created with GIMP\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Wilber-huge-alpha.png\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Gimp allows you to set the &amp;lt;a class=&amp;quot;zem_slink freebase/en/splash_screen&amp;quot; title=&amp;quot;Splash screen&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Splash_screen&amp;quot;&amp;gt;splash screen&lt;/a&gt; very easily. All you need to do is copy the image to ~/.gimp-/splashes/. There is &amp;lt;a class=&amp;quot;zem_slink freebase/en/betting&amp;quot; title=&amp;quot;Betting (poker)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Betting_%28poker%29&amp;quot;&amp;gt;no limit&lt;/a&gt; on the size or color. You just copy all the images you like to have as splash and one of them would be randomly picked up from the said direcotory for the splash image.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>using gigolo for all your network mounting needs</title>
      <link>/2010/04/01/using-gigolo-2/</link>
      <pubDate>Thu, 01 Apr 2010 01:43:19 +0000</pubDate>
      
      <guid>/2010/04/01/using-gigolo-2/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Chdir_example.png\&#34;&gt;&lt;img title=\&#34;A user\&#39;s view of the file system in Unix-like ...\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/300px-Chdir_example.png\&#34; alt=\&#34;A user\&#39;s view of the file system in Unix-like ...\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Chdir_example.png\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Have you ever thought that there should be one central location or application to connect to all you required servers with whichever &amp;lt;a class=&amp;quot;zem_slink freebase/en/protocol&amp;quot; title=&amp;quot;Protocol (computing)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Protocol_%28computing%29&amp;quot;&amp;gt;protocol&lt;/a&gt;. If you did, the you wishes are granted.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Change cursor and couple of other settings in window managers like fluxbox and fvwm (except gnome and KDE)</title>
      <link>/2010/03/28/change-cursor-and-couple-of-other-settings-in-window-managers-like-fluxbox-and-fvwm-except-gnome-and-kde/</link>
      <pubDate>Sun, 28 Mar 2010 11:58:34 +0000</pubDate>
      
      <guid>/2010/03/28/change-cursor-and-couple-of-other-settings-in-window-managers-like-fluxbox-and-fvwm-except-gnome-and-kde/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;First off, get cursor theme from &amp;lt;a href=&amp;quot;http://gnome-look.org/index.php?xsortmode=high&amp;amp;page=0&amp;amp;xcontentmode=36&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;here&lt;/a&gt;. You can download the one of your choice. Now create a directory &amp;amp;#8221;~/.icons&amp;amp;#8221; if it does not exist. Extract the file you just downloaded in this directory. [If you are using GNome then you could have dropped the tar file itself in the Desktop properties window and selected the theme from there. I have since the days of RH9 not used KDE and so am not sure how to do this in KDE, sorry guys.]&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Break Free and let firefox remember all the passwords even the ones that are not saved by default</title>
      <link>/2010/03/28/break-free-and-let-firefox-remember-all-the-passwords-even-the-ones-that-are-not-saved-by-default/</link>
      <pubDate>Sun, 28 Mar 2010 11:58:33 +0000</pubDate>
      
      <guid>/2010/03/28/break-free-and-let-firefox-remember-all-the-passwords-even-the-ones-that-are-not-saved-by-default/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here we go against one more security policy of most of the sites like Bank and paypal and so on. These sites do not allow Firefox or any other browser to save the password. This is using some tags in the html/code of the page that would mark the field as not completeable or savable. So, what do you do?&lt;/p&gt;
&lt;p&gt;I am on a home computer to which no one has access so why not save the password!! Let do it. There are couple of hacks that have been found to make firefox remember all the passwords. Here are a few of them (but Linux is not covered in any of them).&amp;lt;h1 id=&amp;quot;article-title&amp;quot;&amp;gt;&amp;lt;a title=&amp;quot;Permanent Link to Tweak Firefox’s Password Saver Without An Extension&amp;quot; rel=&amp;quot;bookmark&amp;quot; href=&amp;quot;http://cybernetnews.com/2006/06/07/tweak-firefoxs-password-saver-without-an-extension/&amp;quot;&amp;gt;Tweak Firefox’s Password Saver Without An Extension&lt;/a&gt;&lt;/h1&gt; &amp;lt;h1 id=&amp;quot;article-title&amp;quot;&amp;gt;&amp;lt;a title=&amp;quot;Permanent Link to Make Firefox Remember Passwords without a Bookmarklet&amp;quot; rel=&amp;quot;bookmark&amp;quot; href=&amp;quot;http://cybernetnews.com/2009/02/13/firefox-remember-passwords/&amp;quot;&amp;gt;Make Firefox Remember Passwords without a Bookmarklet&lt;/a&gt;&lt;/h1&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Fedora 11 ready for deployment.</title>
      <link>/2010/03/26/fedora-11-ready-for-deployment/</link>
      <pubDate>Fri, 26 Mar 2010 02:30:51 +0000</pubDate>
      
      <guid>/2010/03/26/fedora-11-ready-for-deployment/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Couple of days back, Fedora removed the directory for the release 11. But if you were on Fedora 11 Preview then the update automatically moved the version up to Fedora 11. So, update and install of any application using the repo was not working.&lt;/p&gt;
&lt;p&gt;Now it looks like this time the date should be met, as today I saw that at-least the directories for staging are created and so hopes of having a update tomorrow looks positive and also I would be able to install the other applications that I have been trying to install since Friday.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Recursive Regular Expressions</title>
      <link>/2010/03/24/recursive-regular-expressions/</link>
      <pubDate>Wed, 24 Mar 2010 03:39:42 +0000</pubDate>
      
      <guid>/2010/03/24/recursive-regular-expressions/</guid>
      <description>&lt;p&gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/yo-dawg-regex.jpg&amp;quot; alt=&amp;quot;Yo dawg, I heard you liked regular expressions, so I put a regex in your regex so you can match while you match!&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt; The &amp;lt;a class=&amp;quot;zem_slink freebase/en/regular_expression&amp;quot; title=&amp;quot;Regular expression&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Regular_expression&amp;quot;&amp;gt;regular expressions&lt;/a&gt; we use in our daily lives are actually not that “regular.” Most of the languages support some kind of extended regular expressions that are computationally more powerful than the “&amp;lt;a href=&amp;quot;http://en.wikipedia.org/wiki/Regular_expression&amp;quot;&amp;gt;regular&lt;/a&gt;” regular expressions as defined by the &amp;lt;a href=&amp;quot;http://en.wikipedia.org/wiki/Formal_language&amp;quot;&amp;gt;formal language theory&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash – change theme for gtk in gnome and take screenshot from script.</title>
      <link>/2010/03/24/bash-change-theme-for-gtk-in-gnome-and-take-screenshot-from-script/</link>
      <pubDate>Wed, 24 Mar 2010 03:39:41 +0000</pubDate>
      
      <guid>/2010/03/24/bash-change-theme-for-gtk-in-gnome-and-take-screenshot-from-script/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I wrote a blog on bash script to change the icon/cursor theme using a bash script. Lets extend the same concept a little more and use the script to change the gtk theme for gnome and at the same time take a screenshot also.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;#!/bin/bash&lt;br&gt;
path=&amp;amp;#8221;/tmp/screenshot&amp;amp;#8221;&lt;br&gt;
[[ &amp;amp;#8221;$1&amp;amp;#8221; == &amp;amp;#8221;&amp;amp;#8221; ]] &amp;amp;&amp;amp; time=5 || time=$1&lt;br&gt;
[[ &amp;amp;#8221;$2&amp;amp;#8221; == &amp;amp;#8221;&amp;amp;#8221; ]] &amp;amp;&amp;amp; (&lt;br&gt;
cd ~/.themes&lt;br&gt;
cont=&amp;amp;#8221;y&amp;amp;#8221;&lt;br&gt;
echo &amp;amp;#8221;Select one of the icon themes&amp;amp;#8221;&lt;br&gt;
echo &amp;amp;#8221;When you like some theme just press Ctrl+c&amp;amp;#8221;&lt;br&gt;
for i in *&lt;br&gt;
do&lt;br&gt;
[[ -d $i/cursors ]] || (&lt;br&gt;
echo &amp;amp;#8221;Now trying …. : $i&amp;amp;#8221;&lt;br&gt;
gconftool-2 –type string -s  /desktop/gnome/interface/gtk_theme &amp;amp;#8221;$i&amp;amp;#8221;&lt;br&gt;
sleep 1&lt;br&gt;
j=$(echo &amp;amp;#8221;$path/$i&amp;amp;#8221;).jpg&lt;br&gt;
import -window root -quality 95 &amp;amp;#8221;$j&amp;amp;#8221;&lt;br&gt;
sleep $time&lt;br&gt;
)&lt;br&gt;
done&lt;br&gt;
) || gconftool-2 –type string -s  /desktop/gnome/interface/gtk_theme &amp;amp;#8221;$2&amp;amp;#8221;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Add a image to the list of background files in gnome</title>
      <link>/2010/03/23/add-a-image-to-the-list-of-background-files-in-gnome/</link>
      <pubDate>Tue, 23 Mar 2010 03:29:10 +0000</pubDate>
      
      <guid>/2010/03/23/add-a-image-to-the-list-of-background-files-in-gnome/</guid>
      <description>&lt;p&gt;In Gnome, when you right click on the desktop background you will get a menu for &amp;amp;#8221;Change Desktop backgound. The images displayed in this menu are quite a few but if you want to add your own (read: more than some 5-6 files) then it takes really some time in using the GUI to add them. And if you want to add a few 10&amp;amp;#8217;s of file, like say 50 then you are done.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Just days wait to a great operating system.</title>
      <link>/2010/03/22/just-days-wait-to-a-great-operating-system/</link>
      <pubDate>Mon, 22 Mar 2010 03:11:43 +0000</pubDate>
      
      <guid>/2010/03/22/just-days-wait-to-a-great-operating-system/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Was thinking about writing this for some time now.. but guess someone already did that &amp;lt;a href=&amp;quot;http://www.junauza.com/2009/05/fedora-11-leonidas-is-almost-ready-to.html&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To get the list of features you can check out this &amp;lt;a href=&amp;quot;http://fedoraproject.org/wiki/Releases/11/FeatureList&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;page&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here is a brief from the page:&amp;lt;table border=&amp;quot;0&amp;quot;&amp;gt;A simple, modular system service to manage devices and designed to partially replace&lt;/p&gt;&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      hal
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;. Users gain a graphical disk management application called&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>More windows Microsoft like openoffice and keet it working.</title>
      <link>/2010/03/22/more-windows-microsoft-like-openoffice-and-keet-it-working/</link>
      <pubDate>Mon, 22 Mar 2010 03:11:42 +0000</pubDate>
      
      <guid>/2010/03/22/more-windows-microsoft-like-openoffice-and-keet-it-working/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Some people say that &amp;lt;a href=&amp;quot;http://www.openoffice.org/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;OpenOffice &lt;/a&gt;doesn&amp;amp;#8217;t completely suit their requirement as compared to the Microsoft Office. Though most of the times I do not have that problem 🙂 But there are still couple of things that do not work with OO seamlessly and thus if you want better OO (with respect to working with MS files more seamlessly) here&amp;amp;#8217;s something worth a try.&lt;/p&gt;
&lt;p&gt;You can try the &amp;lt;a href=&amp;quot;http://go-oo.org/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;go-oo&lt;/a&gt; OO.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Fedora 12 Released</title>
      <link>/2010/03/12/fedora-12-released/</link>
      <pubDate>Fri, 12 Mar 2010 13:24:31 +0000</pubDate>
      
      <guid>/2010/03/12/fedora-12-released/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;&lt;div class=\&#34;zemanta-img\&#34; style=\&#34;margin: 1em; display: block;\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34; style=\&#34;width: 136px;\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://docs.fedoraproject.org/release-notes/f12/en-US/html/\&#34; target=\&#34;_blank\&#34;&gt;&lt;img title=\&#34;Image representing Fedora as depicted in Crunc...\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/21266v1-max-450x450.png\&#34; alt=\&#34;Image representing Fedora as depicted in Crunc...\&#34; width=\&#34;126\&#34; height=\&#34;41\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34; style=\&#34;font-size: 0.8em;\&#34;&gt;Image via &lt;a href=\&#34;http://www.crunchbase.com\&#34;&gt;CrunchBase&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt;Fedora 12, the latest version of the popular open-source operating systems for desktops and servers, has been released: &amp;amp;#8221;The Fedora Project, a Red Hat, Inc. sponsored and community-supported open source collaboration, today announced the availability of Fedora 12, the latest version of its free, open-source operating system distribution…..&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Fedora 11 - Mount options for vfat and other volumes for automount.</title>
      <link>/2010/03/11/fedora-11-mount-options-for-vfat-and-other-volumes-for-automount/</link>
      <pubDate>Thu, 11 Mar 2010 12:57:29 +0000</pubDate>
      
      <guid>/2010/03/11/fedora-11-mount-options-for-vfat-and-other-volumes-for-automount/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I have been searching to look for how to change the default umask and dmask for the auto-mounted directories. I searched all the google and bing pages that I could, but to no avail. But I found some interesting info though.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Fedora now uses DeviceKit for managing the disks and Devicekit calls udev for actually mounting and unmounting the disks. The operation is controlled by policykit to determine who can do what?&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Mount and unmount/umount images(iso/img) from nautilus (Fixed not mounting in Fedora)</title>
      <link>/2010/03/09/mount-and-unmountumount-imagesiso-img-from-nautilus-fixed-not-mounting-in-fedora/</link>
      <pubDate>Tue, 09 Mar 2010 03:52:03 +0000</pubDate>
      
      <guid>/2010/03/09/mount-and-unmountumount-imagesiso-img-from-nautilus-fixed-not-mounting-in-fedora/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Get the Nautilus Script &amp;lt;a href=&amp;quot;http://gnome-look.org/content/show.php/moiso?content=84301&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;here&lt;/a&gt;. So what is required is that you have the necessary permission to run mount and umount as normal user with sudo command. If you are using gksu or gnomesu then you can change this in the script that you will get. Once you have got the script then you can run the installer for the script that comes in the package.&lt;/p&gt;
&lt;p&gt;If you are running this is Fedora then you would need to make one more change other than the ones done by the installer, which is to allow sudo from non tty devices. Since this will be running from the nautilus so the script will not have any tty device and hence you would need to comment the following in the /etc/sudoers file:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>swaks – Swiff army nife for SMTP</title>
      <link>/2010/03/09/swaks-swiff-army-nife-for-smtp/</link>
      <pubDate>Tue, 09 Mar 2010 03:52:02 +0000</pubDate>
      
      <guid>/2010/03/09/swaks-swiff-army-nife-for-smtp/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you are having issues with the &amp;lt;a class=&amp;quot;zem_slink freebase/en/simple_mail_transfer_protocol&amp;quot; title=&amp;quot;Simple Mail Transfer Protocol&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol&amp;quot;&amp;gt;SMTP&lt;/a&gt; Server, then sometimes you just wish you had a swiss army knife to test the same and then you would not have to spend your precious time on some silly mistake that you may have made. Your wish is now fulfilled.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;a class=&amp;quot;zem_slink freebase/en/military_of_switzerland&amp;quot; title=&amp;quot;Military of Switzerland&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Military_of_Switzerland&amp;quot;&amp;gt;Swiss Army&lt;/a&gt; Knife SMTP: A &amp;lt;a class=&amp;quot;zem_slink freebase/en/command_line_interface&amp;quot; title=&amp;quot;Command-line interface&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Command-line_interface&amp;quot;&amp;gt;command line&lt;/a&gt; SMTP tester.  Swaks can test various aspects of your SMTP &amp;lt;a class=&amp;quot;zem_slink freebase/en/server&amp;quot; title=&amp;quot;Server (computing)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Server_%28computing%29&amp;quot;&amp;gt;server&lt;/a&gt;, including &amp;lt;a class=&amp;quot;zem_slink freebase/en/transport_layer_security&amp;quot; title=&amp;quot;Transport Layer Security&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Transport_Layer_Security&amp;quot;&amp;gt;TLS&lt;/a&gt; and AUTH.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Email web statistics from the hosted website using awstats page.</title>
      <link>/2010/03/08/email-web-statistics-from-the-hosted-website-using-awstats-page/</link>
      <pubDate>Mon, 08 Mar 2010 03:48:33 +0000</pubDate>
      
      <guid>/2010/03/08/email-web-statistics-from-the-hosted-website-using-awstats-page/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I want to see the stats for my websites mailed to me directly like Google analytics does. Sure enough I can see them on the hosting cpanel page on awstats, but I dont want to check that everyday. An easier solution would be to have that mailed to my email address everyday using cron. Let&amp;amp;#8217;s try to do that today:&lt;/p&gt;
&lt;p&gt;First we would need to get the address of the page for the statistics, which would look like this:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>New GTK and metacity themes from Ian</title>
      <link>/2010/03/05/new-gtk-and-metacity-themes-from-ian/</link>
      <pubDate>Fri, 05 Mar 2010 02:07:45 +0000</pubDate>
      
      <guid>/2010/03/05/new-gtk-and-metacity-themes-from-ian/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here are two themes from Ian.. Link: &lt;a href=&#34;http://ardchoille42.blogspot.com/2009/09/new-gtk2-and-metacity-themes.html&#34;&gt;http://ardchoille42.blogspot.com/2009/09/new-gtk2-and-metacity-themes.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/09/GTK-DarkTurrican.tar.gz&amp;quot;&amp;gt;GTK-DarkTurrican.tar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/09/GTK-LightTurrican.tar.gz&amp;quot;&amp;gt;GTK-LightTurrican.tar&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>FVWM window manager.</title>
      <link>/2010/03/05/fvwm-window-manager/</link>
      <pubDate>Fri, 05 Mar 2010 02:07:44 +0000</pubDate>
      
      <guid>/2010/03/05/fvwm-window-manager/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://www.fvwm.org/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Home Page&lt;/a&gt; of fvwm.&lt;/p&gt;
&lt;p&gt;So Now I am trying different window managers. My requirement is simple, alt+tab should allow me to swicht the windows and the window manager should be light but configurable and should show the programs/applications that are installed on my system. The last requirement comes from the fact that I am quite forgetful person and keep forgetting about the application to use for the particular purpose. So Window Manager should not be CPU and Memory hogging like Gnome or KDE but still should be decent and not like &amp;amp;#8221;X&amp;amp;#8221; or hackedbox.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Minimize the download size for updates.</title>
      <link>/2010/02/10/minimize-the-download-size-for-updates/</link>
      <pubDate>Wed, 10 Feb 2010 15:19:52 +0000</pubDate>
      
      <guid>/2010/02/10/minimize-the-download-size-for-updates/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Fedora has rolled out presto repositories. What this means to the users is that the download size for the updates would be greatly reduced. To use the feature, first install the yum plugin:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo yum install yum-presto.noarch&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Presto uses delta rpms. These delta rpms are quite small in size (eg few kbs instead of 15 MB for firefox 3.5). These delta rpms are used to re-create the original rpm and this is completely transparent to the end user. So, next time when you update with the plugin installed you will see the difference in the download size.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Openoffice.org and/or Excel useful tips.</title>
      <link>/2010/02/10/openoffice-org-andor-excel-useful-tips/</link>
      <pubDate>Wed, 10 Feb 2010 15:19:48 +0000</pubDate>
      
      <guid>/2010/02/10/openoffice-org-andor-excel-useful-tips/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Today I was working on Excel sheets and had to do quite a lot of manipulations. Here are some of those:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Find the value of the cell whose number is stored in another cell.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can use the indirect function.&lt;/p&gt;
&lt;p&gt;Here is example:&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_0022.jpe&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;size-full wp-image-959&amp;quot; title=&amp;quot;indirect&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_0022.jpe&amp;quot; alt=&amp;quot;indirect&amp;quot; width=&amp;quot;354&amp;quot; height=&amp;quot;98&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;That&amp;amp;#8217;s cool and easy.&lt;/p&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Indirect reference with some constant values.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can add constant and cell id with &amp;amp;#8221;&lt;strong&gt;&amp;amp;&lt;/strong&gt;&amp;amp;#8221;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Annotating the photograph with comments.</title>
      <link>/2010/02/10/annotating-the-photograph-with-comments/</link>
      <pubDate>Wed, 10 Feb 2010 15:19:46 +0000</pubDate>
      
      <guid>/2010/02/10/annotating-the-photograph-with-comments/</guid>
      <description>&lt;p&gt;There is a nice Linux command called convert. This command can be used in various ways to do image manipulation. One of them is to embark your image with some text. Here is how to do it.&lt;/p&gt;
&lt;p&gt;**echo &amp;amp;#8221;Annotating the image &amp;amp;#8221;$2&amp;amp;#8221; with $1&amp;amp;#8221;&lt;br&gt;
convert -font  Verdana -pointsize 40 -fill red -draw &amp;amp;#8221;text 100,100 &amp;amp;#8221;$1&amp;amp;#8221;&amp;amp;#8221; &amp;amp;#8221;$2&amp;amp;#8221; &amp;amp;#8221;$2&amp;amp;#8221;&lt;br&gt;
**&lt;/p&gt;
&lt;p&gt;It will be good idea to save this as &amp;amp;#8221;annotate&amp;amp;#8221; as we will use this later too.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>PackageKit error File \”/usr/share/PackageKit/helpers/yum/yumBackend.py\”, line 1215, in _get_depends_not_installed – Resolved</title>
      <link>/2010/02/04/packagekit-error-file-usrsharepackagekithelpersyumyumbackendpy-line-1215-in-_get_depends_not_installed-resolved/</link>
      <pubDate>Thu, 04 Feb 2010 15:58:45 +0000</pubDate>
      
      <guid>/2010/02/04/packagekit-error-file-usrsharepackagekithelpersyumyumbackendpy-line-1215-in-_get_depends_not_installed-resolved/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;In packagekit, if you getting the error below:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br&gt;
File &amp;amp;#8221;/usr/share/PackageKit/helpers/yum/yumBackend.py&amp;amp;#8221;, line 1215, in _get_depends_not_installed&lt;br&gt;
rc, msgs =  self.yumbase.buildTransaction()&lt;br&gt;
File &amp;amp;#8221;/usr/lib/python2.6/site-packages/yum/__init__.py&amp;amp;#8221;, line 719, in buildTransaction&lt;br&gt;
self.plugins.run(&amp;amp;#8217;postresolve&amp;amp;#8217;, rescode=rescode, restring=restring)&lt;br&gt;
File &amp;amp;#8221;/usr/lib/python2.6/site-packages/yum/plugins.py&amp;amp;#8221;, line 179, in run&lt;br&gt;
func(conduitcls(self, self.base, conf, **kwargs))&lt;br&gt;
File &amp;amp;#8221;/usr/lib/yum-plugins/remove-with-leaves.py&amp;amp;#8221;, line 71, in postresolve_hook&lt;br&gt;
if opts.remove_leaves or remove_always:&lt;br&gt;
AttributeError: &amp;amp;#8217;NoneType&amp;amp;#8217; object has no attribute &amp;amp;#8217;&lt;strong&gt;remove_leaves&lt;/strong&gt;&amp;amp;#8217;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;then you can resolve it. The solution to the problem is there in the traceback, luckily this time.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Packagekit Error</title>
      <link>/2010/02/04/packagekit-error/</link>
      <pubDate>Thu, 04 Feb 2010 15:58:36 +0000</pubDate>
      
      <guid>/2010/02/04/packagekit-error/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;With the latest update on my Fedora 10(F10) I started getting this error when ever I wanted to use the gnome package kit (I was able to use yum though):&lt;br&gt;
failed to get a TID: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface &amp;amp;#8221;org.freedesktop.PackageKit.Transaction&amp;amp;#8221; member &amp;amp;#8221;SetLocale&amp;amp;#8221; error name &amp;amp;#8221;(unset)&amp;amp;#8221; destination &amp;amp;#8221;org.freedesktop.PackageKit&amp;amp;#8221;) (0)&lt;/p&gt;
&lt;p&gt;I searched couple of forums but did not find any good resource on what was happening. Finally I decided to rollback Packagekit and dbus. And Yahoooooooooooo, it started working again.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>kernel source code — the easier way to get it with git.</title>
      <link>/2010/02/04/kernel-source-code-the-easier-way-to-get-it-with-git/</link>
      <pubDate>Thu, 04 Feb 2010 15:58:34 +0000</pubDate>
      
      <guid>/2010/02/04/kernel-source-code-the-easier-way-to-get-it-with-git/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;The simplest way to get the kernel code is :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If you want to get the other branches then head over to &amp;lt;a href=&amp;quot;http://git.kernel.org&amp;quot;&amp;gt;&amp;amp;#8221;Kernel Git Page&amp;amp;#8221;&lt;/a&gt;&lt;/p&gt;
&lt;div&gt;
  &lt;span style=\&#34;background-color: #ffffff;\&#34;&gt;This will get the Linux kernel tree. As of today , 12 days ago, the tree was tagged to 2.6.31.&lt;/span&gt;
&lt;/div&gt;
&lt;div&gt;
  &lt;span style=\&#34;background-color: #ffffff;\&#34;&gt;Now thats cool, but do you want it to be simpler and do not want to know the git command get to what you want to do that is learn linux kernel then here\&amp;#8217;s what you can do :&lt;/span&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;div&gt;
  &lt;span style=\&#34;background-color: #ffffff;\&#34;&gt;sudo yum install teamgit&lt;/span&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div&gt;
  &lt;span style=\&#34;background-color: #ffffff;\&#34;&gt;Here is the interface that you will get to add new repo:&lt;/span&gt;
&lt;/div&gt;
&lt;div&gt;
  &lt;span style=\&#34;background-color: #ffffff;\&#34;&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Crossfire game server.. free connection.</title>
      <link>/2010/02/04/crossfire-game-server-free-connection/</link>
      <pubDate>Thu, 04 Feb 2010 15:58:27 +0000</pubDate>
      
      <guid>/2010/02/04/crossfire-game-server-free-connection/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I have setup a Free to use Crossfire game server. If you want to play the game, you can connect to amit.themafia.info&lt;/p&gt;
&lt;p&gt;For playing the game you would need the client to connect to it which you can install with&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;yum install crossfire-client&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;then you can run the game with &amp;amp;#8221;cfclient&amp;amp;#8221; and then connect to amit.themafia.info.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Teddy on Desktop just for fun.</title>
      <link>/2010/02/04/teddy-on-desktop-just-for-fun/</link>
      <pubDate>Thu, 04 Feb 2010 15:58:24 +0000</pubDate>
      
      <guid>/2010/02/04/teddy-on-desktop-just-for-fun/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;People often complain that Linux users are mostly geeks. Does that seem to be true if you have a package that is just to display a teddy in the desktop. True, its completely true that Fedora has a package called xteddy, whose whole purpose is to display a teddy on the desktop and I must admit that it really looks very good on the desktop 🙂&lt;/p&gt;
&lt;p&gt;Here&amp;amp;#8217;s a snapshot:&lt;/p&gt;
&lt;p&gt;&amp;lt;img class=&amp;quot;size-full wp-image-645&amp;quot; title=&amp;quot;xteddy&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/teddy.jpg&amp;quot; alt=&amp;quot;xteddy&amp;quot; width=&amp;quot;840&amp;quot; height=&amp;quot;525&amp;quot; /&amp;gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Seders\’s grab bag – Tutorials</title>
      <link>/2010/01/24/sederss-grab-bag-tutorials/</link>
      <pubDate>Sun, 24 Jan 2010 15:45:56 +0000</pubDate>
      
      <guid>/2010/01/24/sederss-grab-bag-tutorials/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://sed.sourceforge.net/grabbag/tutorials/&amp;quot;&amp;gt;http://sed.sourceforge.net/grabbag/tutorials/&lt;/a&gt;&lt;/p&gt;
&lt;h1 id=&#34;span-stylefont-size-x-largea-hrefhttpsedsourceforgenetgrabbagseder8217saa-hrefhttpsedsourceforgenetgrabbag-grab-bagaspan&#34;&gt;&lt;strong&gt;&amp;lt;span style=&amp;quot;font-size: x-large;&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://sed.sourceforge.net/grabbag/&amp;quot;&amp;gt;seder&amp;amp;#8217;s&lt;/a&gt;&amp;lt;a href=&amp;quot;http://sed.sourceforge.net/grabbag/&amp;quot;&amp;gt; grab bag&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://sed.sourceforge.net/grabbag/scripts/&amp;quot;&amp;gt;scripts&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://sed.sourceforge.net/grabbag/tutorials/&amp;quot;&amp;gt;tutorials&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://sed.sourceforge.net/grabbag/seders/&amp;quot;&amp;gt;seders&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://sed.sourceforge.net/grabbag/ssed/&amp;quot;&amp;gt;ssed&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://sed.sourceforge.net/grabbag/links/&amp;quot;&amp;gt;links&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://sed.sourceforge.net/grabbag/tutorials/#intros&amp;quot;&amp;gt;Intros&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://sed.sourceforge.net/grabbag/tutorials/#advanced&amp;quot;&amp;gt;Advanced&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://sed.sourceforge.net/grabbag/tutorials/#misc&amp;quot;&amp;gt;Miscellaneous&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;span-stylefont-size-largesed-tutorialsspan&#34;&gt;&lt;strong&gt;&amp;lt;span style=&amp;quot;font-size: large;&amp;quot;&amp;gt;Sed Tutorials&lt;/span&gt;&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;If you have written anything about sed – whether an introduction, how sed got you out of a real-life situation, or perhaps an advanced technique you&amp;amp;#8217;ve discovered – you may like have your work published here. &amp;lt;a href=&amp;quot;mailto:bonzini@gnu.org&amp;quot;&amp;gt;Your contribution&lt;/a&gt; will be very welcome.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>shotwell- Photo organizer for Linux in Gnome</title>
      <link>/2010/01/21/shotwell-photo-organizer-for-linux-in-gnome/</link>
      <pubDate>Thu, 21 Jan 2010 12:08:00 +0000</pubDate>
      
      <guid>/2010/01/21/shotwell-photo-organizer-for-linux-in-gnome/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here is description of shotwell:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Shotwell is a new &amp;lt;a class=&amp;quot;zem_slink freebase/en/open_source&amp;quot; title=&amp;quot;Open Source&amp;quot; rel=&amp;quot;wikinvest&amp;quot; href=&amp;quot;http://www.wikinvest.com/concept/Open_Source&amp;quot;&amp;gt;open source&lt;/a&gt; photo organizer designed for the &amp;lt;a class=&amp;quot;zem_slink freebase/en/gnome&amp;quot; title=&amp;quot;GNOME&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.gnome.org/&amp;quot;&amp;gt;GNOME&lt;/a&gt; &amp;lt;a class=&amp;quot;zem_slink freebase/en/desktop_environment&amp;quot; title=&amp;quot;Desktop environment&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Desktop_environment&amp;quot;&amp;gt;desktop environment&lt;/a&gt;. It allows you to import photos from your camera, view and edit them, and share them with others.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Link to shotwell:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://www.yorba.org/shotwell/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;http://www.yorba.org/shotwell/&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Here are some &amp;lt;a class=&amp;quot;zem_slink freebase/en/screenshot&amp;quot; title=&amp;quot;Screenshot&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Screenshot&amp;quot;&amp;gt;screenshots&lt;/a&gt; from the application.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Get a lot of spam — use spamassasin.</title>
      <link>/2010/01/19/get-a-lot-of-spam-use-spamassasin/</link>
      <pubDate>Tue, 19 Jan 2010 03:11:19 +0000</pubDate>
      
      <guid>/2010/01/19/get-a-lot-of-spam-use-spamassasin/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you get a lot of spam into your local inbox and do not want your service provider to filter them for you, like me :), then you can use spamassasin.&lt;/p&gt;
&lt;p&gt;The benefit with this approach is that all the spam will be delivered to your local inbox and you do not need to do anything on the server. You can blacklist, whitelist, report message as spam all on your client and it would not change anything on the server. So you control your mail, isn&amp;amp;#8217;t that great. What to do, start with minimal things:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail</title>
      <link>/2010/01/18/mail-server-setup-with-exim-mysql-cyrus-imapd-horde-webmail/</link>
      <pubDate>Mon, 18 Jan 2010 15:24:08 +0000</pubDate>
      
      <guid>/2010/01/18/mail-server-setup-with-exim-mysql-cyrus-imapd-horde-webmail/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I was thinking of doing this for some time but never got time to do this. So finally I took some time off yesterday to do the setup. &amp;lt;a href=&amp;quot;http://www.howtoforge.com/exim-mysql-cyrus-imapd-horde-centos5.1-p2&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Here&lt;/a&gt; is  a good link on the instructions for the CentOS, but on Fedora also they hold good.&lt;/p&gt;
&lt;p&gt;So what you need to do is basically install exim, imp, horde, horde-enhanced and cyrus* packages and then configure imap server and exim to do the mailing part and setup horde to view the mail. To install the packages use the command below:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>View information on all the rpms installed.</title>
      <link>/2010/01/16/view-information-on-all-the-rpms-installed/</link>
      <pubDate>Sat, 16 Jan 2010 15:52:17 +0000</pubDate>
      
      <guid>/2010/01/16/view-information-on-all-the-rpms-installed/</guid>
      <description>&lt;p&gt;This post if applicable to all the distro&amp;amp;#8217;s which are based on rpm.&lt;/p&gt;
&lt;p&gt;If you look at the number of rpms installed on your system, you will see it somewhere around 500-2000. Noe thats a pretty huge number. So sometimes I keep wondering what are these rpms for. Heres a command that can help you figure out what these rpms are for:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;rpm -qa –info&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And if you want to find info on all the files and put it in a file too:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>using mypaint of linux continued.</title>
      <link>/2010/01/16/using-mypaint-of-linux-continued/</link>
      <pubDate>Sat, 16 Jan 2010 15:52:16 +0000</pubDate>
      
      <guid>/2010/01/16/using-mypaint-of-linux-continued/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Some more screenshots here:&lt;br&gt;
&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/10/Screenshot-3.resized.jpg&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-3.resized-150x150.jpg&amp;quot; alt=&amp;quot;Screenshot-3&amp;quot; title=&amp;quot;Screenshot-3&amp;quot; width=&amp;quot;150&amp;quot; height=&amp;quot;150&amp;quot; class=&amp;quot;size-thumbnail wp-image-1283&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/10/Screenshot-4.resized.jpg&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-4.resized-150x150.jpg&amp;quot; alt=&amp;quot;Screenshot-4&amp;quot; title=&amp;quot;Screenshot-4&amp;quot; width=&amp;quot;150&amp;quot; height=&amp;quot;150&amp;quot; class=&amp;quot;size-thumbnail wp-image-1284&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/10/Screenshot-6.resized.jpg&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-6.resized-150x95.jpg&amp;quot; alt=&amp;quot;Screenshot-6&amp;quot; title=&amp;quot;Screenshot-6&amp;quot; width=&amp;quot;150&amp;quot; height=&amp;quot;95&amp;quot; class=&amp;quot;size-thumbnail wp-image-1285&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/10/Screenshot-8.resized.jpg&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-8.resized-150x145.jpg&amp;quot; alt=&amp;quot;Screenshot-8&amp;quot; title=&amp;quot;Screenshot-8&amp;quot; width=&amp;quot;150&amp;quot; height=&amp;quot;145&amp;quot; class=&amp;quot;size-thumbnail wp-image-1286&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/10/Screenshot-7.resized.jpg&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-7.resized-150x150.jpg&amp;quot; alt=&amp;quot;Screenshot-7&amp;quot; title=&amp;quot;Screenshot-7&amp;quot; width=&amp;quot;150&amp;quot; height=&amp;quot;150&amp;quot; class=&amp;quot;size-thumbnail wp-image-1287&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/10/Screenshot-9.resized.jpg&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-9.resized-150x150.jpg&amp;quot; alt=&amp;quot;Screenshot-9&amp;quot; title=&amp;quot;Screenshot-9&amp;quot; width=&amp;quot;150&amp;quot; height=&amp;quot;150&amp;quot; class=&amp;quot;size-thumbnail wp-image-1288&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[ad#ad-1]&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/10/Screenshot-10.resized.jpg&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-10.resized-150x150.jpg&amp;quot; alt=&amp;quot;Screenshot-10&amp;quot; title=&amp;quot;Screenshot-10&amp;quot; width=&amp;quot;150&amp;quot; height=&amp;quot;150&amp;quot; class=&amp;quot;size-thumbnail wp-image-1289&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>GoOo released new version of Open Office.</title>
      <link>/2010/01/11/gooo-released-new-version-of-open-office/</link>
      <pubDate>Mon, 11 Jan 2010 16:33:19 +0000</pubDate>
      
      <guid>/2010/01/11/gooo-released-new-version-of-open-office/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;GoOo repository for Fedora at &lt;a href=&#34;http://go-oo.mirrorbrain.org/stable/linux-i586/&#34;&gt;http://go-oo.mirrorbrain.org/stable/linux-i586/&lt;/a&gt; has released the new version of GoOo packages.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Send mail to yourself and read in your favourite client and configure the rules to move to directory.</title>
      <link>/2010/01/10/send-mail-to-yourself-and-read-in-your-favourite-client-and-configure-the-rules-to-move-to-directory/</link>
      <pubDate>Sun, 10 Jan 2010 16:31:11 +0000</pubDate>
      
      <guid>/2010/01/10/send-mail-to-yourself-and-read-in-your-favourite-client-and-configure-the-rules-to-move-to-directory/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;By default when you send a mail using sendmail, the mail goes to the default directory. What I wanted to do was, use rss2email, to send the mails and then sort them in different folders depending on the From address.&lt;/p&gt;
&lt;p&gt;Sendmail uses procmail to deliver mail locally. So here&amp;amp;#8217;s what I had to do:&lt;/p&gt;
&lt;p&gt;Configure the rss2email to send the mail to amit@localhost&lt;/p&gt;
&lt;p&gt;Next, configure the procmail to deliver mail to my home directory. To do this we will use the &lt;dot&gt;procmailrc file in the home directory. The contents of the file are :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>The document editor that is revolutionary and breaking the typewriter paradigm.</title>
      <link>/2010/01/08/the-document-editor-that-is-revolutionary-and-breaking-the-typewriter-paradigm/</link>
      <pubDate>Fri, 08 Jan 2010 03:02:51 +0000</pubDate>
      
      <guid>/2010/01/08/the-document-editor-that-is-revolutionary-and-breaking-the-typewriter-paradigm/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Today, I thought I will try something different for word processor requirements, for non-text files. For text  files, vi rocks for me 🙂&lt;/p&gt;
&lt;p&gt;So, I tried LyX, here is the description of the editor:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Description: LyX is a modern approach to writing documents which breaks with the&lt;/dt&gt;
&lt;dd&gt;obsolete &amp;amp;#8221;typewriter paradigm&amp;amp;#8221; of most other document preparation&lt;/dd&gt;
&lt;dd&gt;systems.  It is designed for people who want professional quality&lt;/dd&gt;
&lt;dd&gt;output with a minimum of time and effort, without becoming&lt;/dd&gt;
&lt;dd&gt;specialists in typesetting.  The major innovation in LyX is WYSIWYM&lt;/dd&gt;
&lt;dd&gt;(What You See Is What You Mean). That is, the author focuses on&lt;/dd&gt;
&lt;dd&gt;content, not on the details of formatting. This allows for greater&lt;/dd&gt;
&lt;dd&gt;productivity, and leaves the final typesetting to the backends&lt;/dd&gt;
&lt;dd&gt;(like LaTeX) that are specifically designed for the task.  With&lt;/dd&gt;
&lt;dd&gt;LyX, the author can concentrate on the contents of his writing, and&lt;/dd&gt;
&lt;dd&gt;let the computer take care of the rest.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;lt;img src=&amp;quot;file:///tmp/moz-screenshot.jpg&amp;quot; alt=&amp;quot;&amp;quot; /&amp;gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Simple rss to email service for your feeds on Linux with your/ISP server.</title>
      <link>/2010/01/01/simple-rss-to-email-service-for-your-feeds-on-linux-with-yourisp-server/</link>
      <pubDate>Fri, 01 Jan 2010 03:35:04 +0000</pubDate>
      
      <guid>/2010/01/01/simple-rss-to-email-service-for-your-feeds-on-linux-with-yourisp-server/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;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&amp;amp;#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.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>query and downgrade selected packages based on version or repository</title>
      <link>/2009/12/24/query-and-downgrade-selected-packages-based-on-version-or-repository/</link>
      <pubDate>Thu, 24 Dec 2009 07:37:11 +0000</pubDate>
      
      <guid>/2009/12/24/query-and-downgrade-selected-packages-based-on-version-or-repository/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;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&amp;amp;D. Anyway to downgrade I had to device some mechanism and here it is:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;rpm -qa –qf &amp;amp;#8221;%-30{NAME}%-20{RELEASE}\n&amp;amp;#8221; |grep fc12 |awk &#39;{print $1}&amp;amp;#8217;|tr &amp;amp;#8217;\n&amp;amp;#8217; &amp;amp;#8217; &amp;amp;#8217; &amp;gt;downgrade&lt;/p&gt;
&lt;p&gt;yum downgrade `cat downgrade`&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    
    <item>
      <title>Finding all numbers that are bigger than 1 in vim</title>
      <link>/2009/12/24/finding-all-numbers-that-are-bigger-than-1-in-vim/</link>
      <pubDate>Thu, 24 Dec 2009 07:37:08 +0000</pubDate>
      
      <guid>/2009/12/24/finding-all-numbers-that-are-bigger-than-1-in-vim/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;/^([2-9]d*|1d+)&lt;br&gt;
If we have a csv like structure&lt;/p&gt;
&lt;p&gt;The trick here is simple, lets look at the regex from the begining:&lt;/p&gt;
&lt;p&gt;^ – start from the begining&lt;br&gt;
() – start and end of block&lt;br&gt;
[] – digits within this. So we are looking from 2 to 9 to exclude the numbers begining with 1&lt;br&gt;
d – search for digits&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;– search for one or more&lt;br&gt;
| – or operation&lt;br&gt;
1 – search for numbers begining with 1&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;– containing atleast one occurence or more.&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot;&amp;gt;Related articles by Zemanta&lt;/h6&gt; &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://sparksspace.blogspot.com/2009/10/adding-leading-zeros-in-excel.html&amp;quot;&amp;gt;Adding Leading Zeros in Excel&lt;/a&gt; (sparksspace.blogspot.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://blog.creativethink.com/2009/11/the-best-thing-about-2010.html&amp;quot;&amp;gt;The Best Thing About &amp;amp;#8221;2010&amp;amp;#8221;&lt;/a&gt; (creativethink.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.revenews.com/jackbusch/google-goggles-the-world-is-your-hyperlink/&amp;quot;&amp;gt;Google Goggles: The World is Your Hyperlink&lt;/a&gt; (revenews.com)&lt;/li&gt; &lt;/ul&gt; &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; href=&amp;quot;http://reblog.zemanta.com/zemified/e022d83e-669e-4cad-894c-cdab54a1946c/&amp;quot; title=&amp;quot;Reblog this post [with Zemanta]&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e34.png&amp;quot; alt=&amp;quot;Reblog this post [with Zemanta]&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related more-info pretty-attribution paragraph-reblog&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    
    <item>
      <title>Chrome – Chromium on Linux (repo)</title>
      <link>/2009/12/19/chrome-chromium-on-linux-repo/</link>
      <pubDate>Sat, 19 Dec 2009 07:51:51 +0000</pubDate>
      
      <guid>/2009/12/19/chrome-chromium-on-linux-repo/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;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:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo vi /etc/yum.repos.d/chrome.repo&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;and add the following lines&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;name=Chromium Test Packages&lt;br&gt;
baseurl=http://spot.fedorapeople.org/chromium/F$releasever/&lt;br&gt;
enabled=1&lt;br&gt;
gpgcheck=0&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Once this is done, you can install the browser with yum as follows:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo yum install chromium&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;[[danscartoon]]&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Compiz/Beryl issue on Fedora.</title>
      <link>/2009/12/15/compizberyl-issue-on-fedora/</link>
      <pubDate>Tue, 15 Dec 2009 04:04:12 +0000</pubDate>
      
      <guid>/2009/12/15/compizberyl-issue-on-fedora/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;compiz (core) – Fatal: Root visual is not a GL visual.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;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&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>gnome-shell and gnome-do on F11 Screenshots</title>
      <link>/2009/12/02/gnome-shell-and-gnome-do-on-f11-screenshots/</link>
      <pubDate>Wed, 02 Dec 2009 15:02:25 +0000</pubDate>
      
      <guid>/2009/12/02/gnome-shell-and-gnome-do-on-f11-screenshots/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here are some screenshots of gnome-shell :&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_0011.jpe&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;size-full wp-image-1246&amp;quot; title=&amp;quot;Gnome Shell&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_0011.jpe&amp;quot; alt=&amp;quot;Gnome Shell&amp;quot; width=&amp;quot;840&amp;quot; height=&amp;quot;525&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot.png&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;size-full wp-image-1247&amp;quot; title=&amp;quot;Gnome Shell&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot.png&amp;quot; alt=&amp;quot;Gnome Shell&amp;quot; width=&amp;quot;840&amp;quot; height=&amp;quot;525&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-1.png&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;size-full wp-image-1248&amp;quot; title=&amp;quot;Gnome Shell&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-1.png&amp;quot; alt=&amp;quot;Gnome Shell&amp;quot; width=&amp;quot;840&amp;quot; height=&amp;quot;525&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-2.png&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;size-full wp-image-1249&amp;quot; title=&amp;quot;Gnome Shell&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-2.png&amp;quot; alt=&amp;quot;Gnome Shell&amp;quot; width=&amp;quot;840&amp;quot; height=&amp;quot;525&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Using snmp trap receiver on Fedora (Linux)</title>
      <link>/2009/11/25/using-snmp-trap-receiver-on-fedora-linux/</link>
      <pubDate>Wed, 25 Nov 2009 16:25:19 +0000</pubDate>
      
      <guid>/2009/11/25/using-snmp-trap-receiver-on-fedora-linux/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;First off install the net-snmp things:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo yum install net-snmp net-snmp-utils&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;After that it will run out of the box with the command:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo snmptrapd -A -d -n -Lf trap.log&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Some interesting links:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;a class=&amp;quot;fixed&amp;quot; href=&amp;quot;http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmptrap&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmptrap&lt;/a&gt;&lt;br&gt;
&amp;lt;a class=&amp;quot;fixed&amp;quot; href=&amp;quot;http://net-snmp.sourceforge.net/wiki/index.php/TUT:Configuring_snmptrapd#Matching_SNMPv2_OIDs&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;http://net-snmp.sourceforge.net/wiki/index.php/TUT:Configuring_snmptrapd#Matching_SNMPv2_OIDs&lt;/a&gt;&lt;br&gt;
&amp;lt;a class=&amp;quot;fixed&amp;quot; href=&amp;quot;http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    
    <item>
      <title>internal error from PackageKit  — packagekit Error Type: &lt;type &#39;exceptions.TypeError&#39;&gt;</title>
      <link>/2009/11/25/internal-error-from-packagekit-packagekit-error-type/</link>
      <pubDate>Wed, 25 Nov 2009 16:25:18 +0000</pubDate>
      
      <guid>/2009/11/25/internal-error-from-packagekit-packagekit-error-type/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you get the below error then there is a bug files &amp;lt;a href=&amp;quot;https://bugzilla.redhat.com/show_bug.cgi?id=476352&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Error Type:&lt;br&gt;
Error Value: &amp;amp;#8217;NoneType&amp;amp;#8217; object is unsubscriptable&lt;br&gt;
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2280, in&lt;/p&gt;
&lt;p&gt;main()&lt;br&gt;
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2277, in main&lt;br&gt;
backend.dispatcher(sys.argv[1:])&lt;br&gt;
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 600, in&lt;br&gt;
dispatcher&lt;br&gt;
self.dispatch_command(args[0], args[1:])&lt;br&gt;
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 526, in&lt;br&gt;
dispatch_command&lt;br&gt;
self.refresh_cache()&lt;br&gt;
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1130, in&lt;br&gt;
refresh_cache&lt;br&gt;
self.yumbase.repos.populateSack(which=[repo.id], mdtype=&amp;amp;#8217;metadata&amp;amp;#8217;,&lt;br&gt;
cacheonly=1)&lt;br&gt;
File : /usr/lib/python2.5/site-packages/yum/repos.py, line 223, in&lt;br&gt;
populateSack&lt;br&gt;
self.doSetup()&lt;br&gt;
File : /usr/lib/python2.5/site-packages/yum/repos.py, line 71, in doSetup&lt;br&gt;
self.ayum.plugins.run(&amp;amp;#8217;postreposetup&amp;amp;#8217;)&lt;br&gt;
File : /usr/lib/python2.5/site-packages/yum/plugins.py, line 178, in run&lt;br&gt;
func(conduitcls(self, self.base, conf, **kwargs))&lt;br&gt;
File : /usr/lib/yum-plugins/rpm-warm-cache.py, line 31, in postreposetup_hook&lt;br&gt;
if commands[0] in (&amp;amp;#8217;upgrade&amp;amp;#8217;, &amp;amp;#8217;install&amp;amp;#8217;, &amp;amp;#8217;remove&amp;amp;#8217;):&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>feh – versatile image viewer works from command line too.</title>
      <link>/2009/11/21/feh-versatile-image-viewer-works-from-command-line-too/</link>
      <pubDate>Sat, 21 Nov 2009 02:13:27 +0000</pubDate>
      
      <guid>/2009/11/21/feh-versatile-image-viewer-works-from-command-line-too/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;To install :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo yum install feh&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;From the info for the feh package:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;feh – versatile image viewer works from command line too&lt;br&gt;
premier image file handling library. feh has many features,&lt;br&gt;
from simple single file viewing, to multiple file modes using&lt;br&gt;
a slideshow or multiple windows. feh supports the creation of&lt;br&gt;
montages as index prints with many user-configurable options.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;One of the reasons, I install feh as one of the first packages on any installation is the reason that it can open multiple images like in stack. To make things even more simpler I create a alias like this:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Calculations</title>
      <link>/2009/11/17/calculations/</link>
      <pubDate>Tue, 17 Nov 2009 14:18:34 +0000</pubDate>
      
      <guid>/2009/11/17/calculations/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/perl-one-liners.jpg&amp;quot; alt=&amp;quot;Perl One Liners&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt;This is the third part of a seven-part article on &lt;strong&gt;famous Perl one-liners&lt;/strong&gt;. In this part I will create various one-liners for &lt;strong&gt;calculations&lt;/strong&gt;. See &amp;lt;a href=&amp;quot;http://www.catonmat.net/blog/perl-one-liners-explained-part-one/&amp;quot;&amp;gt;part one&lt;/a&gt; for introduction of the series.&lt;/p&gt;
&lt;p&gt;Famous Perl one-liners is my attempt to create “&lt;strong&gt;perl1line.txt&lt;/strong&gt;” that is similar to “&amp;lt;a href=&amp;quot;http://www.catonmat.net/blog/awk-one-liners-explained-part-one/&amp;quot;&amp;gt;awk1line.txt&lt;/a&gt;” and “&amp;lt;a href=&amp;quot;http://www.catonmat.net/blog/sed-one-liners-explained-part-one/&amp;quot;&amp;gt;sed1line.txt&lt;/a&gt;” that have been so popular among Awk and Sed programmers.&lt;/p&gt;
&lt;p&gt;The article on famous Perl one-liners will consist of at least seven parts:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>No sound on Fedora 11 Leonidas – resolved.</title>
      <link>/2009/11/12/no-sound-on-fedora-11-leonidas-resolved/</link>
      <pubDate>Thu, 12 Nov 2009 02:59:31 +0000</pubDate>
      
      <guid>/2009/11/12/no-sound-on-fedora-11-leonidas-resolved/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I have been trying to get the sound working on the F11 install that I had. Searched all the sites and blogs I could find. Nothing seemed to be working.&lt;/p&gt;
&lt;p&gt;Finally I did a&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;alsactl init&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;and WOW, I have got my sound. Worht a try if you too are having issues with sound.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Access the disk image created by Qemu using guestfish in Fedora.</title>
      <link>/2009/11/11/access-the-disk-image-created-by-qemu-using-guestfish-in-fedora/</link>
      <pubDate>Wed, 11 Nov 2009 02:57:06 +0000</pubDate>
      
      <guid>/2009/11/11/access-the-disk-image-created-by-qemu-using-guestfish-in-fedora/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you are used to using Qemu for doing some experiments with different distro&amp;amp;#8217;s then you would also understand the problem of having to do ftp/ssh to copy the files from virtual machine to local machine. Also you have to run the machine to do that. How would you like to have a application that can help you copy the files to and from the  image without having to run the VM. That&amp;amp;#8217;s exactly what the guestfish does. How to do it, quick demo here:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Linux xdg-open — replacement for start in windows</title>
      <link>/2009/11/05/linux-xdg-open-replacement-for-start-in-windows/</link>
      <pubDate>Thu, 05 Nov 2009 03:56:30 +0000</pubDate>
      
      <guid>/2009/11/05/linux-xdg-open-replacement-for-start-in-windows/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;if you want to open any document with the default document handler from the bash prompt or command prompt in linux then the simplest way to do that is use &amp;amp;#8221;&lt;strong&gt;xdg-open&lt;/strong&gt;&amp;amp;#8221;.&lt;/p&gt;
&lt;p&gt;This can also be used in bash scripts to allow users to select which document to open without worrying about if a particular application is installed or not. Example could be where you have list of documents in the current directory (same kind or of different format.) and you want the user to select the document. In such a scenario you can take the user input for the filename and user &amp;amp;#8221;&lt;strong&gt;xdg-open filename&lt;/strong&gt;&amp;amp;#8221; to open the file irrespective of the file type or worrying about if xpdf is installed or abiword is installed or not.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>rebuild rpm from installed rpm with rpmrebuild</title>
      <link>/2009/10/22/rebuild-rpm-from-installed-rpm-with-rpmrebuild/</link>
      <pubDate>Thu, 22 Oct 2009 02:16:19 +0000</pubDate>
      
      <guid>/2009/10/22/rebuild-rpm-from-installed-rpm-with-rpmrebuild/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Ever happened to you that you downloaded and installed  a rpm and then deleted the package? If your answer is yes, then there is a solution.&lt;/p&gt;
&lt;p&gt;Come to the fairyland of rpmrebuild. Create the rpm from the installed files  and give a new number if required.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo yum install rpmrebuild&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Simplest use is to&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;rpmrebuild &lt;package name&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;but I personally like the one mentioned below:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;rpmrebuild -R -v -P –pug-from-db &lt;package name&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>RPMFusion release for YUM.</title>
      <link>/2009/10/17/rpmfusion-release-for-yum/</link>
      <pubDate>Sat, 17 Oct 2009 02:46:59 +0000</pubDate>
      
      <guid>/2009/10/17/rpmfusion-release-for-yum/</guid>
      <description>&lt;p&gt;For people who have used yum on Fedora, you must have seen that couple of packages that you require are on Livna and couple of them on DAG and some others on FreshRPMs and Dribble. And for those of you, who have tried to install the packages from all these repositories, I know it is difficult. The repo&amp;amp;#8217;s never worked too well together.&lt;/p&gt;
&lt;p&gt;So finallly there is a nice solution to all these problems, &amp;lt;a href=&amp;quot;http://rpmfusion.org/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;RPMFusion&lt;/a&gt; is the solution. This is a effort to merge the repo in all the four above mentioned repo. just now installed the repo and am updating my system and definately hope to get a lot lesser problems now. 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>On screen display of a command</title>
      <link>/2009/10/08/on-screen-display-of-a-command/</link>
      <pubDate>Thu, 08 Oct 2009 03:23:02 +0000</pubDate>
      
      <guid>/2009/10/08/on-screen-display-of-a-command/</guid>
      <description>&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/category/linux/&amp;quot;&amp;gt;Bookmark this category&lt;/a&gt;&lt;br&gt;
delay: 2d On screen display of a command. $ date|osd_cat This is very useful if you need to show someone some text from a distance. (Like someone standing over your shoulder…)&lt;/p&gt;
&lt;p&gt;I&amp;amp;#8217;d recommend aliasing it to something like:&lt;/p&gt;
&lt;p&gt;alias osd_cat=&amp;amp;#8221;osd_cat -o 400 -s 8 -c blue -d 60 -f osd_cat -f -*-bitstream vera sans-*-*-*–200-*-*-*-*-*-*-*&amp;amp;#8221;&lt;/p&gt;
&lt;p&gt;xosd is the utility that provides osd_cat.&lt;/p&gt;
&lt;p&gt;* View this command to comment, vote or add to favourites * View all commands by din7&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>root shell auditing and syslog entry for all commands of shell</title>
      <link>/2009/10/08/root-shell-auditing-and-syslog-entry-for-all-commands-of-shell/</link>
      <pubDate>Thu, 08 Oct 2009 02:28:51 +0000</pubDate>
      
      <guid>/2009/10/08/root-shell-auditing-and-syslog-entry-for-all-commands-of-shell/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;A lot of times there is a need to log all the messages and the output of the shell to the file or syslog. Sometimes I need that for some user too. &lt;strong&gt;script&lt;/strong&gt; command can be used to do this but then sometimes you cannot tell the user the session is logged or you can ask the user to run this command and it should be automatically done. And sometimes there is a need put the output in the syslog so that the root user has more control and also mail for syslog is sufficient to be analyzed rather than looking for other files. Finally I found this :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>top command with rc to make it more useful and beautiful.</title>
      <link>/2009/09/17/top-command-with-rc-to-make-it-more-useful-and-beautiful/</link>
      <pubDate>Thu, 17 Sep 2009 16:28:48 +0000</pubDate>
      
      <guid>/2009/09/17/top-command-with-rc-to-make-it-more-useful-and-beautiful/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Just for fun, somedays back I was reading the top command. This command is something that I have been using since long time and have never read the man page so I thought let me do that. And yes, it was worth while to look at that page. I came to know that top supports toprc file and that it can be used to configure the way top looks. So:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Managing your remote site locally – sitecopy.</title>
      <link>/2009/06/12/managing-your-remote-site-locally-sitecopy/</link>
      <pubDate>Fri, 12 Jun 2009 16:49:34 +0000</pubDate>
      
      <guid>/2009/06/12/managing-your-remote-site-locally-sitecopy/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you are managing a remote site, web server that you do not have direct access to (terminal or ssh) and you have to do it with cpanel, then I know how much pain it is. I had the same issue until recently when I discovered &amp;lt;a href=&amp;quot;http://http://www.manyfish.co.uk/sitecopy/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;sitecopy&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Description of sitecopy:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sitecopy allows you to easily maintain remote Web sites.  The program will upload files to the server which have changed locally, and delete files from the server which have been removed locally, to keep the remote site synchronized with the local site, with a single command. sitecopy will also optionally try to spot files you move locally, and move them remotely.  FTP and WebDAV servers are supported.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Diary and Journal on your linux Desktop</title>
      <link>/2009/05/26/diary-and-journal-on-your-linux-desktop/</link>
      <pubDate>Tue, 26 May 2009 15:34:04 +0000</pubDate>
      
      <guid>/2009/05/26/diary-and-journal-on-your-linux-desktop/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://digitaldump.wordpress.com/projects/rednotebook/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;RedNotebook&lt;/a&gt; is a diary and journel for the *nix OS. This is a great software with some very good features.&lt;/p&gt;
&lt;p&gt;This is available on fedora repo and hence to install you can just type:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo yum install rednotebook&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Some features to note are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Enter text for individual days and navigate using a fancy calendar&lt;/li&gt;
&lt;li&gt;Add Categories to days and fill them with small content&lt;/li&gt;
&lt;li&gt;Tag your entries&lt;/li&gt;
&lt;li&gt;Format your text &lt;strong&gt;bold&lt;/strong&gt;, &lt;em&gt;italic&lt;/em&gt; or &amp;lt;span style=&amp;quot;text-decoration: underline;&amp;quot;&amp;gt;underlined&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Insert Images, files and links to websites&lt;/li&gt;
&lt;li&gt;Links and mail addresses are recognized automatically&lt;/li&gt;
&lt;li&gt;(Live-) Search&lt;/li&gt;
&lt;li&gt;Automatic saving&lt;/li&gt;
&lt;li&gt;Backup to zip archive&lt;/li&gt;
&lt;li&gt;Word Clouds with most often used words and tags&lt;/li&gt;
&lt;li&gt;Create a template for each day&lt;/li&gt;
&lt;li&gt;Export the journal to HTML, Latex or plain text&lt;/li&gt;
&lt;li&gt;RedNotebook is Open Source Software, you are free to use and redistribute it under the terms of the GPL&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    
    <item>
      <title>MinGW – compile windows software on Linux</title>
      <link>/2009/02/15/mingw-compile-windows-software-on-linux/</link>
      <pubDate>Sun, 15 Feb 2009 12:52:37 +0000</pubDate>
      
      <guid>/2009/02/15/mingw-compile-windows-software-on-linux/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;For all the windows developer out there, it is impossible to switch to Linux just because someone is looking for the Windows exe. Sooooooo bad. Not any more. There has been the MinGW compiler (and others) to compile the C programs on Linux box to run on Windows box. These cross compilers create windows exe and thus these can run on Windows natively without additional dll&amp;amp;#8217;s. That&amp;amp;#8217;s quite good, so how to do it.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
