Happy holi to all.

2010-03-02 1 min read Uncategorized

A very happy Holi to all.

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/03/DSCN1119.resized.jpg"><img class="size-medium wp-image-1559" title="Holi" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/DSCN1119.resized-300x168.jpg" alt="Holi" width="300" height="168" />

Teddy on Desktop just for fun.

2010-02-04 1 min read Fedora

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 🙂

Here&#8217;s a snapshot:

<img class="size-full wp-image-645" title="xteddy" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/teddy.jpg" alt="xteddy" width="840" height="525" />

Continue reading

Bash styling(themeing), the stylist way.

2010-02-04 1 min read Bash

For last couple of days, I have been looking for solutions to make stlying my bash easier. So, first a screenshot of the effort:

<img class="size-full wp-image-703" title="bash style" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/a.jpg" alt="bash style" width="511" height="332" />

I was looking for the simplest solutions to do this. So, I installed two packages to make my life easier :  bashstyle and fortune.

sudo yum install fortune\*

For bash-style you can download the source files <a href="http://www.nanolx.org/bashstyle-ng/" target="_blank">here. Download the file, then do the following:

Continue reading

View the newest xkcd comic.

2009-12-07 1 min read Bash Linux

This function displays the latest comic from xkcd.com. One of the best things about xkcd is the title text when you hover over the comic, so this function also displays that after you close the comic.

$ xkcd(){ local f=$(curl -s <a href="http://xkcd.com/">http://xkcd.com/);display $(echo "$f"|grep -Po '(?<=")http://imgs.xkcd.com/comics/[^"]+(png|jpg)');echo "$f"|awk '/<img src="http://imgs.xkcd.com/comics/.?" title=./{gsub(/^.title=.|".?$/,"");print}';}

To get a random xkcd comic, I also use the following:

xkcdrandom(){ local f=$(wget -q <a href="http://dynamic.xkcd.com/comic/random/">http://dynamic.xkcd.com/comic/random/ -O -);display $(echo "$f"|grep -Po '(?<=")http://imgs.xkcd.com/comics/[^"]+(png|jpg)');echo "$f"|awk '/<img src="http://imgs.xkcd.com/comics/.?" title=./{gsub(/^.title=.|".?$/,"");print}';}

Continue reading

Twitter is overcapacity.

2009-10-15 1 min read Uncategorized

Just now got this on twitter. Nice image to display when overcapacity.

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2009/10/Over_capacity_1255572830327.jpg"><img class="size-thumbnail wp-image-1326" title="Over_capacity" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Over_capacity_1255572830327-150x150.jpg" alt="Over_capacity" width="150" height="150" />

Newer posts