Monday, January 12, 2009

Sunday, January 11, 2009

Download entire website using wget

wget-tircks-and-tips

If want you save the website exactly the same way a web-browser do, use the following command

wget --no-check-certificate -nd -pHEK -erobots=off  http://www.example.com
    


--
Sheetal

--A journey of a thousand mile begins with a single step --

Friday, November 21, 2008

Creating mozilla extension

http://www.borngeek.com/firefox/toolbar-tutorial/chapter-1/
http://ancaluca.blogspot.com/2007/10/java-firefox-extension.html
http://groups.google.com/group/mozilla.dev.tech.java/browse_thread/thread/41a2db6eb748e6f6

File i/o:
https://developer.mozilla.org/En/Code_snippets:File_I/O#Writing_to_a_file

Thursday, October 23, 2008

Art of mathematics or mathematics of art!



my friend sopan posted this awesome link on facebook. its about the art work, mathematical art actually, of Maurits Cornelis Escher who explored many cool mathematical ideas through his works.

Monday, September 29, 2008

Interesting CS project

These projects a really interesting.
1. swarm-bots project. watch the video. paper about swarm-bots
2. head tracking for VR displays using WiiRemote. watch the video.

Saturday, September 27, 2008

Wednesday, June 25, 2008

Happiness


Happiness, originally uploaded by medieval panda.

The art of being happy lies in the power of extracting happiness from common things.

~Henry Ward Beecher

Thursday, May 22, 2008

Grad Student Comic Strip

Your friend (sheetal) sent the following message to you:



(no image? copy and paste the link below)
http://www.phdcomics.com/comics/archive.php?comicid=562


signed by sheetal

'Piled Higher and Deeper' by Jorge Cham is the popular comic strip about life, or the lack thereof, in grad school. Check it out by going to www.phdcomics.com


drop all constraints

To drop all constraints on a table "sampleTable", use the following commands:


CREATE TABLE temp AS SELECT * FROM sampleTable;
DROP TABLE sampleTable;
CREATE TABLE sampleTable AS SELECT * FROM temp;
DROP TABLE temp;


source
reference

Thursday, April 17, 2008

osgi tutorial

Installation:
If you have eclipse 3.3, you don't need any extra plugin.

OSGi tutorial

after building your bundle do the following to make jar:

* Right click on your bundle and select Export. Choose “Plug-in Development->Deployable Plugins and Fragments”.
* Select destination folder (for example /home/pc/Desktop)
* Click “Finish”

complete your plug-in:

somedir/
configuration/
config.ini
eclipse.exe
plugins/
org.eclipse.equinox.common_3.3.0.jar
org.eclipse.equinox.launcher.win32.win32.x86_1.0.0/
eclipse_1017a.dll
[other launcher fragment content]
org.eclipse.equinox.launcher_1.0.0.jar
org.eclipse.osgi_3.3.0.jar
org.eclipse.update.configurator_3.2.100.jar
< your_bundle1 >.jar
< your_bundle2 >.jar

write config.ini->>

osgi.bundles=< your_bundle1 >.jar@start,< your_bundle2 >.jar@start
osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start
eclipse.ignoreApp=true
osgi.noShutdown=true


for linux, set up is same, just change the eclipse.exe, org.eclipse.equinox.launcher,org.eclipse.equinox.launcher.win32 with their linux version.

Now, execute the following command:


eclipse -console


A new console will appear.
do the following:
osgi>
osgi>ss


all the bundle will appear.

write

start < bundle id >

this will start your plugin.

example 1
example 2

Tuesday, April 15, 2008

Monday, March 24, 2008

Two Days We Should Not Worry

(Author Unknown)

There are two days in every week about which we should not worry, two days which should be kept free from fear and apprehension.

One of these days is Yesterday with all its mistakes and cares,
its faults and blunders, its aches and pains.

Yesterday has passed forever beyond our control.
All the money in the world cannot bring back Yesterday.

We cannot undo a single act we performed;
we cannot erase a single word we said.
Yesterday is gone forever.

The other day we should not worry about is Tomorrow
with all its possible adversities, its burdens,
its large promise and its poor performance;
Tomorrow is also beyond our immediate control.

Tomorrow's sun will rise,
either in splendor or behind a mask of clouds, but it will rise.
Until it does, we have no stake in Tomorrow,
for it is yet to be born.

This leaves only one day, Today.
Any person can fight the battle of just one day.
It is when you and I add the burdens of those two awful eternities Yesterday and Tomorrow that we break down.

It is not the experience of Today that drives a person mad,
it is the remorse or bitterness of something which happened Yesterday and the dread of what Tomorrow may bring.

Let us, therefore, Live but one day at a time.

Happy Clown


Happy Clown, originally uploaded by technicolortype_a.