Tuesday, October 31, 2006

My Del.icio.us Toolbar

Update: Noticed some changes made by mozilla in extesnion's page
I developed this toolbar that provides you all functionality of del.icio.us website with a quick access right in your toolbar. It helps you in searching bookmarks and tagging new websites and lot more functionalities. Try it :)
Download it from here : My Del.icio.us

Related Post : Del.icio.us Bookmark Search

Saturday, October 21, 2006

Happy Diwali !!

Happy Diwali to all !! Enjoy !

Diwali is the Hindu festival of lights and is an important festival not only to Hindus but pretty much all Indian nationals.
so I am going home for 4-5 days...till then Diwali Break

Enjoy the Festival of colours!! Happy Diwali

Tuesday, October 17, 2006

Indian Farmers Go Hi-tech

When an Indian state government wanted to acquire the land of farmers for building a Special Economic Zone, the farmers used satellite pictures from Google Earth to prove their land is fertile.
Watch the video @ http://labnol.blogspot.com/
Read more >>
Also at Google Earth aid for Maha farmers@ IBN Live

Monday, October 16, 2006

How to hide files in JPEG's

Create the rar file:
rar a secret.rar <your secret file>
cat img.jpg secret.rar > newimg.jpg

Now this newimage looks identical to img.jpg, but it has secret.rar contained in it :)
Pull the file back out with this command: unrar x newimg.jpg

In windows :How to hide files in JPEG's

Related Post :

Sunday, October 15, 2006

Block Writing with Unicode

█████ █░█ ░ █▀█ █░░ ███ █▀▀
█░█░█ ▀█▀ ░ █▀█ █░░ █░█ █░█
▀░▀░▀ ░▀░ ░ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀

My Name in Hindi: अजीत

Unicode characters.
The character encoding can be specified in the charset parameter of a meta tag in the of an HTML document, for example:

<meta equiv="content-type" content="text-html; charset=utf-8">
Complete set of unicode characters
To write unicode characters in html file, first you will need to add above meta tag in your "<head>" of html. Then write charater as :

add a '&#' at the beginning and a ';' at the end
so, take out the spaces in this:
&# 9619 ; // 9619 is unicode corresponding to ▓
and you get this: ▓

If you want to develop firefox extension..

It will be helpful to have :

For creating toolbar extensions: Toolbar tutorial
Roachfield : how to create firefox extensions

Related Posts :
Firefox tips
Speed Up Firefox
Creating firefox extension

Saturday, October 14, 2006

Making LaTeX Beamer Presentations

I came across this nicely compiled page on :
how to make Latex Beamer Presentations

If you want to create overhead presentations (รก la Powerpoint) with LaTeX, you can do so by using Beamer class, which creates surprisingly professional and sophisticated documents that you can then display using any pdf viewer (e.g., such as Adobe Acrobat). The advantage of using LaTeX over a program like Powerpoint is that it doesn't require expensive software for either creating or displaying your presentation; it thus makes the presentation truly "portable".

Read More >>
Related Links :

Thursday, October 12, 2006

You want to stop smoking ?

What Happens to Your body if you stop smoking Right now?

Its not the stuff i usually write about, but kinda like the post.

  • In 20 minutes your blood pressure will drop back down to normal.
  • In 8 hours the carbon monoxide (a toxic gas) levels in your blood stream will drop by half, and oxygen levels will return to normal.
  • In 48 hours your chance of having a heart attack will have decreased. All nicotine will have left your body. Your sense of taste and smell will return to a normal level.
  • In 72 hours your bronchial tubes will relax, and your energy levels will increase.


  • Read More >>

    Wednesday, October 11, 2006

    Using Telnet to send mail (By SMTP)

    You : telnet 25
    Server : Trying ???.???.???.???...
    Connected to
    Escape character is '^]'.
    220 ESMTP Sendmail ?version-number?;
    You : Helo
    Server : 250 mail.domain.ext
    You : mail from
    Server : 250 ok
    You : rcpt to:
    Server : 250 ok

    To start composing the message issue the command data
    You: data
    You : Subject:-type subject here-
    then press enter twice
    You may now proceed to type the body of your message
    To tell the mail server that you have completed the message enter a single "." on a line on it's own.
    Server : 250 ok ???????? Message accepted for delivery
    You can close the connection by issuing the QUIT command.
    You : QUIT

    Sunday, October 08, 2006

    funky javascript

    Just paste the JavaScript given in you address bar after visiting any website.
    Copy this to location bar & press enter.
    --------------------------------------------------------------------------------------------
    javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);
    ---------------------------------------------------------------------------------------------
    This is what you get when you try it on search result from google images:














    Related Links : http://burad.blogspot.com/2006/03/little-tweaks-with-javascript_23.html

    Source : Digg.com

    Friday, October 06, 2006

    Greasemonkey script to Replace URLs in webpage

    Yesterday night i made this script which replaces urls with their alternatives in a webpage. What r its usage :

    • Ad blocking (Replacing such URLs with blank so that clicking them will result in nothing.
    • Unblocking some sites :) . At many places sites are just blocked by url names so it replaces them with ip.(for example i did same for youtube as its blocked in my college). you can modify script to include more such urls.
    You will need firefox with Greasemonkey extension installed to use this script.
    Here is the script : Right Click to install

    Resources : Dive into Greasemokey

    Thursday, October 05, 2006

    Google : The Literacy Project

    A resource for teachers, literacy organisations and anyone interested in reading and education, created in collaboration with LitCam, Google, and UNESCO's Institute for Lifelong Learning. Some of the resources available on the site include:
    Books, Video, Blogs, Academic texts, Groups, Maps.
    Literacy
    Links : Google Blog
    Google Launches Literacy Project

    Wednesday, October 04, 2006

    Dilbert & Linux

    Dilbert_linux1

    Dilbert_linux2


    Also Check : Dilbert & IITs

    Java JRE/JDK installation

    To verify that the installation was successful, execute

    java -version

    The output should look something like this if everything is well

    java version "1.5.0_05"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode)

    If the version does not match what you just installed then you might have JRE/JDK installed previously

    Multiple JRE/JDK installed

    If you have multiple JRE or JDK installed (e.g. 1.5.0 and 1.4.2) and want/need to switch between them, you can use update-alternatives to do so.

    Example: Choosing which java executable to use:

    update-alternatives --config java

    Example: Choosing which javac executable to use:

    update-alternatives --config javac

    And so on in that fashion for the remaining executables related to Java. You can look in /etc/alternatives to see what one can configure with update-alternatives.
    Links : Download

    Linux Network Basic

    Display all the interfaces you have on your server:
    ifconfig

    Display all interfaces as well as inactive interfaces you may have:
    ifconfig -a

    Assign the eth0 interface the IP-address 192.168.1.100 with netmask 255.255.255.0:
    ifconfig eth0 192.168.1.100 netmask 255.255.255.0

    Assign the default gateway for eth0 to 192.168.1.1 (for example your router):
    route add default gw 192.168.1.1 eth0

    Verify that you can reach your router (192.168.1.1):
    ping 192.168.1.1

    Display the routing information with the command route to see if routing entry is correct:
    route -n

    Check the status of the interfaces quickly:
    netstat -i

    Show all active connections:
    netstat

    Show all active TCP connections:
    netstat -t

    DNS lookups (3 different ways) and displays the answers that are returned from the name server (To troubleshoot DNS problems):
    dig ubuntulinux.org
    nslookup ubuntulinux.org
    host ubuntulinux.org

    Determine the network route from your computer to some other computer:
    traceroute www.ubuntulinux.org

    View your ARP (used by a networked machine to resolve the hardware location/address of another machine on the same local network) Cache:
    arp

    Remove any entry from the ARP cache for the specified host (for example 192.168.1.103):
    arp -d 192.168.1.103

    Check traffic in network :
    tcpdump -n arp

    Send out unsolicited ARP messages so as to update remote arp caches (for example 192.168.1.103):
    arping 192.168.1.103

    Shutdown a specific interface (for example eth0):
    ifconfig eth0 down

    Activate a specific interfrace (for example eth0):
    ifconfig eth0 up

    Stop all network devices manually on your system (Debian specific):
    /etc/init.d/networking stop

    Start all network devices manually on your system (Debian specific):
    /etc/init.d/networking start

    Restart all network devices manually on your system (Debian specific):
    /etc/init.d/networking restart

    Networking configuration is stored in the following file:
    /etc/network/interfaces

    Resource:
    Ubuntu Linux Blog by Ralph
    http://www.linuxhelp.net/guides/networkbasics/