UFRaw – Open open format raw images in Linux.

2010-05-27 1 min read Fedora Linux Photo

<a class="zem_slink freebase/en/ufraw" title="UFRaw" rel="homepage" href="http://ufraw.sourceforge.net/">UFRaw is quite an essential program if you are using <a class="zem_slink freebase/en/linux" title="Linux" rel="wikipedia" href="http://en.wikipedia.org/wiki/Linux">Linux and have a camera that supports <a class="zem_slink freebase/en/raw_image_format" title="Raw image format" rel="wikipedia" href="http://en.wikipedia.org/wiki/Raw_image_format">raw format.

UFRaw is a tool for opening raw format images of <a class="zem_slink freebase/en/digital_camera" title="Digital camera" rel="wikipedia" href="http://en.wikipedia.org/wiki/Digital_camera">digital cameras.

UFRaw supports a long list of camera&#8217;s. You can see the list of supported camera&#8217;s <a href="http://ufraw.sourceforge.net/Cameras.html">here.

Continue reading

Checking the links to your site (from affiliates) using cron and bash script.

2010-05-27 2 min read Fedora Learning Linux Uncategorized

If you have some affiliate links and are concerned about their presence then you can setup <a class="zem_slink freebase/guid/9202a8c04000641f80000000045c9c5b" title="Cron" rel="wikipedia" href="http://en.wikipedia.org/wiki/Cron">cron to check the links for you regularly. For this you need a very simple script (as below) and a cron entry (example further down).

#!/bin/bash –
#===============================================================================

#          FILE:  checklinks.sh

#         USAGE:  ./checklinks.sh

#   DESCRIPTION:  Check if the links exists on affiliate sites

#       OPTIONS:  —
#  REQUIREMENTS:  —
#          BUGS:  —
#         NOTES:  —
#        AUTHOR:  <a class="zem_slink" title="Amit Agarwal" rel="homepage" href="http://amit-agarwal.co.in">Amit Agarwal (AKA), amit.agarwal@amit-agarwal.co.in
#       COMPANY:  Individual
#       VERSION:  1.0
#       CREATED:  04/07/2010 08:19:29 AM IST
#      REVISION:  —
#===============================================================================

Continue reading

Fedora 12 Beta now available

2010-05-27 1 min read Fedora Linux

<span style="font-size: x-large;"><a href="http://lwn.net/Articles/357770/rss">Fedora 12 Beta now available

The Fedora project has released Fedora 12 Beta. &#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.&#8221; Click below for a list of new features.

Continue reading

command not found – packagekit plugin

2010-05-27 0 min read Fedora Linux
\"Example
Image via Wikipedia

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 <a class="zem_slink freebase/en/plugin" title="Plug-in (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Plug-in_%28computing%29">plugin for Packagekit. Here is the description:

Continue reading

vim - get mappings from the help tex files available with the scripts.

2010-05-27 2 min read Fedora Learning Linux Vim Tips

Here is a simple script that will show all the vim mappings from the tex file (help file that comes with the vim scripts).

This will prove to be very useful in usin gthe mappings 🙂

#!/bin/bash –
#===============================================================================

#          FILE:  get_mappings_from_tex_for_vim.sh

#         USAGE:  ./get_mappings_from_tex_for_vim.sh

#   DESCRIPTION:  Get the mappings from tex file

#       OPTIONS:  —
#  REQUIREMENTS:  —
#          BUGS:  —
#         NOTES:  —
#        AUTHOR:  <a class="zem_slink" title="Amit Agarwal" rel="self" href="http://blog.amit-agarwal.co.in">Amit Agarwal (AKA), amit.agarwal@amit-agarwal.co.in
#       COMPANY:  Individual
#       VERSION:  1.0
#       CREATED:  09/06/2009 09:19:19 PM IST
#      REVISION:  —
#===============================================================================
file=$1
IFS=$(echo -e &#8217;\n&#8217;)
for i in $(cat $file |<a class="zem_slink freebase/en/grep" title="Grep" rel="wikipedia" href="http://en.wikipedia.org/wiki/Grep">grep &#8221;^..line&#8221;)
do
#echo $i |<a class="zem_slink freebase/en/awk" title="AWK" rel="homepage" href="http://cm.bell-labs.com/cm/cs/awkbook/index.html">awk -F&#8221;&#8217;&#8221; '{print $2&#8221; &#8221; $3&#8221; &#8221;$4}&#8217;|awk -F&#8221;&&#8221; '{print $1&#8221; &#8221;$2}&#8217;
echo $i |awk -F&#8221;&#8217;&#8221; '{
if ( NF >= 4 )
{
print ($2&#8221;\t ->&#8221;$4&#8221;\t==»&#8221;$NF);
}
else
{
print($2&#8221;\t–>&#8221;$3);
}
fi
}&#8217;  |<a class="zem_slink freebase/en/sed" title="Sed" rel="wikipedia" href="http://en.wikipedia.org/wiki/Sed">sed &#8217;s/\h.*(/(/&#8217; |sed &#8217;s/>.*&/>/&#8217; |sed &#8217;s/\t*-.>$//&#8217; |sed &#8217;s/\//&#8217;

Continue reading

more powerful grep – ack

2010-05-26 2 min read Bash Fedora

For last couple of days, I have been using ack instead of grep. Here is description of ack:

Ack is designed as a replacement for grep.

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

ack amit

More reasons to use ack:

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 $HOME/.ackrc file.

Continue reading

gnome-disk-manager – the easier way to manage disks in Gnome with Palimpsest

2010-05-25 1 min read Fedora GNOME Linux

I had been using quite different set of tools to this but this is really good. Just install the gnome-disk-manager with

sudo yum install gnome-disk-manager

The interface is very clean and easy to understand and is it very very fast when compared to the other Graphical utilities.

Here are some screenshots to take you through.

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_001.jpe"><img class="alignnone size-full wp-image-1204" title="screenshot_001" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_001.jpe" alt="screenshot_001" width="806" height="626" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_002.jpe"><img class="alignnone size-full wp-image-1205" title="screenshot_002" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_002.jpe" alt="screenshot_002" width="806" height="626" />

Continue reading
Older posts Newer posts