Handy one-liners for SED

2010-09-14 0 min read Bash Linux
\"A
Image via Wikipedia

Here are some links to sed one liners, pretty useful if you want to use the power of sed.

<a href="http://www.freearchive.org/o/dd1ebea77f64bdef5982d50e868990202b0bf6f21b42e26ebb0ab1011d6ce546">http://www.freearchive.org/o/dd1ebea77f64bdef5982d50e868990202b0bf6f21b42e26ebb0ab1011d6ce546

<a href="http://www.unixguide.net/unix/sedoneliner.shtml">http://www.unixguide.net/unix/sedoneliner.shtml
<a href="http://sed.sourceforge.net/sed1line.txt">http://sed.sourceforge.net/sed1line.txt <a href="http://www.thegeekstuff.com/2010/06/bash-array-tutorial/">

<a href="http://www.thegeekstuff.com/2010/06/bash-array-tutorial/">http://www.thegeekstuff.com/2010/06/bash-array-tutorial/<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.ibm.com/developerworks/linux/library/l-sed1.html">imabonehead: Common threads: Sed by example, Part 1 (ibm.com) <li class="zemanta-article-ul-li"><a href="http://www.thegeekstuff.com/2009/11/unix-sed-tutorial-append-insert-replace-and-count-file-lines/">imabonehead: Unix Sed Tutorial: Append, Insert, Replace, and Count File Lines (thegeekstuff.com) <div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/zemified_e.png?x-id=be4d9a3b-c27c-46eb-8b76-2a1aa1900a4e" alt="Enhanced by Zemanta" /><span class="zem-script more-related pretty-attribution">

Continue reading

15 (More) Awesome Conky Configurations

2010-09-13 0 min read Fedora Linux
\"A
Image via Wikipedia

15 (More) Awesome <a class="zem_slink" title="Conky (software)" rel="homepage" href="http://conky.sourceforge.net/">Conky 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 <a class="zem_slink" title="Linux" rel="homepage" href="http://www.kernel.org/">Linux 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!

Continue reading

Using EOG and other image viewers to learn tricks of photography

2010-09-12 1 min read Photo

<img class="size-medium wp-image-2472" title="Eye of Gnome Viewer with exif data" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/09/eog-300x218.jpg" alt="Eye of Gnome Viewer with exif data" width="300" height="218" />

Today we will look at how a simple viewer like <a class="zem_slink" title="Eye of GNOME" rel="homepage" href="http://www.gnome.org/projects/eog/">EOG of Gnome can help you learn some basic things about Photography.

To begin with, we will open eog and then go to :

Edit -> Preferences -> Plugins

and enable

<a class="zem_slink" title="Exchangeable image file format" rel="wikipedia" href="http://en.wikipedia.org/wiki/Exchangeable_image_file_format">Exif Display

Continue reading

Making your subjects more prominent and stand out in the photos with gimp.

2010-09-10 1 min read Photo

Lets first take a picture that we want to modify. We have done the corrections in the photo that are required like the curves, <a class="zem_slink" title="Colorfulness" rel="wikipedia" href="http://en.wikipedia.org/wiki/Colorfulness">saturation and others. So, here is the photo after the modification. Now we will make the modification to make photo de-saturated other than the subject of interest.

<a href="http://blog.amit-agarwal.co.in/wp-content/gallery/home/DSC_0018.jpg"><img src="http://blog.amit-agarwal.co.in/wp-content/gallery/home/DSC_0018.jpg" alt="DSC_0018" />

Okay, now fire up gimp and open the <a class="zem_slink" title="Image" rel="wikipedia" href="http://en.wikipedia.org/wiki/Image">image in gimp.Once the image is open, on the left bottom of the image, you will see a square. Click on the square and the whole image will become red. Now, select eraser tool and erase the color from the subject of interest.

Continue reading

web page error\’d – Name cannot be less that 5 characters :)

2010-09-09 1 min read Uncategorized

If you have noticed, I have put a new <a class="zem_slink" title="Toolbar" rel="wikipedia" href="http://en.wikipedia.org/wiki/Toolbar">tool-bar in the bottom. The tool-bar is delivered from the wibiya cdn and while registering for the service, I got the below error 🙂

<img class="size-medium wp-image-2446" title="wibiya error'd" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/wibiya-300x162.png" alt="wibiya error'd" width="300" height="162" />

\"Enhanced

OpenID for non-SuperUsers

2010-09-07 2 min read Learning Uncategorized

Based on the results of my Unobtrusive <a class="zem_slink" title="OpenID Foundation" rel="homepage" href="http://openid.net">OpenID post, it is quite evident that there is a lot of partial <a class="zem_slink" title="Knowledge" rel="wikipedia" href="http://en.wikipedia.org/wiki/Knowledge">knowledge about OpenID out there. While my knowledge on the subject is far from complete, this post is my attempt to share what I have learned with others.

The target audience for the bulk of this post is people who are capable of adding autodiscovery links to their blog templates, may be able to install a small <a class="zem_slink" title="PHP" rel="homepage" href="http://www.php.net/">PHP script and/or know what a <a class="zem_slink" title="Hypertext Transfer Protocol" rel="wikipedia" href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">HTTP <a class="zem_slink" title="List of HTTP headers" rel="wikipedia" href="http://en.wikipedia.org/wiki/List_of_HTTP_headers">header is.

Continue reading

Download Free calendar for September 2010

2010-09-05 1 min read Photo Uncategorized

Here is something that I got my hands dirty on just now 🙂

<img class="size-medium wp-image-2499" title="Calendar September 2010" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/09/calSep10-300x199.jpg" alt="Calendar September 2010" width="300" height="199" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/09/calSep10.jpg">Download link.

Hope you like it.

\"Enhanced
Older posts Newer posts