Change phpMyadmin theme.

2009-12-08 1 min read Linux

Changing the phpMyAdmin theme is as easy as downloading a theme from <a href="http://www.phpmyadmin.net/home_page/themes.php" target="_blank">here. Then look at your /etc/httpd/conf.d/phpMyAdmin.conf file and check the line similar to

Alias /phpMyAdmin /phpMyAdmin

The second path is the path to your phpMyAdmin installation. Go to that directory and then go to themes directory and unzip the file. Reload your phpMyAdmin page in browser and select the newly installed theme 🙂

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

Insert a comment on command line for reminder

2009-12-05 1 min read Bash Linux

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category
Insert a comment on command line for reminder

$ ls -alh #mycomment

Comments can be used directly on the command line so I can save in the history a brief description of what command does.

* View this command to comment, vote or add to favourites * View all commands by vgagliardi

commandlinefu.com

by David Winterbottom (codeinthehole.com)

URL: <a href="http://feedproxy.google.com/~r/Command-line-fu/~3/_5hXsFUuAwc/insert-a-comment-on-command-line-for-reminder">http://feedproxy.google.com/~r/Command-line-fu/~3/_5hXsFUuAwc/insert-a-comment-on-command-line-for-reminder

Happy Diwali wishes

2009-12-01 1 min read Linux

All the BEST and my best wishes for Diwali to all my readers.

<img title="Diwali Wishes" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2009/12/diwali-fireworks-cc-sumith-meher.jpg" alt="Diwali Wishes" width="800" height="799" />

<img title="Diwali Celebrations" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2009/12/windowslivewriteramazingbangaloreasolaceinpictures-a3b8diwali21.png" alt="Diwali Celebrations" width="640" height="382" />

Sorry about the delay in the wishes.. was held up with one of my 250GB HDD crashing..

Linux Installation Guide

2009-11-25 1 min read Linux

Paradise for Linux Installation Guides on laptops is <a href="http://tuxmobil.org/mylaptops.html" target="_blank">here. Can you imagine that this tuxmobile page hosts around 8,000 guides on Linux Installation on Laptops. I assume that this will be probably the biggest list on single page for Linux installation. The page lists various hardwares of laptop where you can install linux and how to install it.

So what are you waiting for … got a laptop, see if yours is listed here.

Continue reading

Some good and nice open source books worth downloading.

2009-11-22 1 min read Learning Linux

There is a nice article <a href="http://www.tectonic.co.za/?p=4491" target="_blank">here b<span class="byline">by Alastair Otter. He has given links to different Books that are worth reading.  These include:

<span class="byline">1)<a href="http://oreilly.com/catalog/9780596517984/" target="_blank"> http://oreilly.com/catalog/9780596517984/

<span class="byline">2) <a href="http://en.flossmanuals.net/DigitalFoundations" target="_blank">http://en.flossmanuals.net/DigitalFoundations

<span class="byline">3) <a href="http://wiki.blender.org/index.php/Doc:Tutorials/Animation/BSoD/Character_Animation" target="_blank">http://wiki.blender.org/index.php/Doc:Tutorials/Animation/BSoD/Character_Animation

<span class="byline">4) <a href="ftp://ftp.heanet.ie/pub/debian/pool/non-free/r/rutebook/" target="_blank">ftp://ftp.heanet.ie/pub/debian/pool/non-free/r/rutebook/

<span class="byline">to name a few, along with others. Its worth reading the article. While you are at it don&#8217;t forget the gems known as comments.

Continue reading
Older posts Newer posts