1 Bit = Binary Digit
8 Bits = 1 Byte
1024 Bytes = 1 Kilobyte
1024 Kilobytes = 1 Megabyte
1024 Megabytes = 1 Gigabyte
1024 Gigabytes = 1 Terabyte
1024 Terabytes = 1 Petabyte
1024 Petabytes = 1 Exabyte -
1024 Exabytes = 1 Zettabyte
1024 Zettabytes = 1 Yottabyte
1024 Yottabytes = 1 Brontobyte
1024 Brontobytes = 1 Geopbyte
Hi,
These are 100 keyboard shortcuts
CTRL+C (Copy)
CTRL+X (Cut)
CTRL+V (Paste)
CTRL+Z (Undo)
DELETE (Delete)
SHIFT+DELETE (Delete the selected item permanently without placing the item in the Recycle Bin)
CTRL while dragging an item (Copy the selected item)
CTRL+SHIFT while dragging an item (Create a shortcut to the selected item)
F2 key (Rename the selected item)
CTRL+RIGHT ARROW (Move the insertion point to the beginning of the next word)
CTRL+LEFT ARROW (Move the insertion point to the beginning of the previous word)
CTRL+DOWN ARROW (Move the insertion point to the beginning of the next paragraph)
CTRL+UP ARROW (Move the insertion point to the beginning of the previous paragraph)
CTRL+SHIFT with any of the arrow keys (Highlight a block of text)
SHIFT with any of the arrow keys (Select more than one item in a window or on the
desktop, or select text in a document)
CTRL+A (Select all)
F3 key (Search for a file or a folder)
ALT+ENTER (View the properties for the selected item)
ALT+F4 (Close the active item, or quit the active program)
ALT+ENTER (Display the properties of the selected object)
ALT+SPACEBAR (Open the shortcut menu for the active window)
CTRL+F4 (Close the active document in programs that enable you to have multiple
documents open simultaneously)
ALT+TAB (Switch between the open items)
ALT+ESC (Cycle through items in the order that they had been opened)
F6 key (Cycle through the screen elements in a window or on the desktop)
F4 key (Display the Address bar list in My Computer or Windows Explorer)
SHIFT+F10 (Display the shortcut menu for the selected item)
ALT+SPACEBAR (Display the System menu for the active window)
CTRL+ESC (Display the Start menu)
ALT+Underlined letter in a menu name (Display the corresponding menu)
Underlined letter in a command name on an open menu (Perform the corresponding
command)
F10 key (Activate the menu bar in the active program)
RIGHT ARROW (Open the next menu to the right, or open a submenu)
LEFT ARROW (Open the next menu to the left, or close a submenu)
F5 key (Update the active window)
BACKSPACE (View the folder one level up in My Computer or Windows Explorer)
ESC (Cancel the current task)
SHIFT when you insert a CD-ROM into the CD-ROM drive (Prevent the CD-ROM from
automatically playing)
Dialog Box Keyboard Shortcuts
CTRL+TAB (Move forward through the tabs)
CTRL+SHIFT+TAB (Move backward through the tabs)
TAB (Move forward through the options)
SHIFT+TAB (Move backward through the options)
ALT+Underlined letter (Perform the corresponding command or select the corresponding
option)
ENTER (Perform the command for the active option or button)
SPACEBAR (Select or clear the check box if the active option is a check box)
Arrow keys (Select a button if the active option is a group of option buttons)
F1 key (Display Help)
F4 key (Display the items in the active list)
BACKSPACE (Open a folder one level up if a folder is selected in the Save As or Open dialog box)
micro$oft Natural Keyboard Shortcuts
Windows Logo (Display or hide the Start menu)
Windows Logo+BREAK (Display the System Properties dialog box)
Windows Logo+D (Display the desktop)
Windows Logo+M (Minimize all of the windows)
Windows Logo+SHIFT+M (Restore the minimized windows)
Windows Logo+E (Open My Computer)
Windows Logo+F (Search for a file or a folder)
CTRL+Windows Logo+F (Search for computers)
Windows Logo+F1 (Display Windows Help)
Windows Logo+ L (Lock the keyboard)
Windows Logo+R (Open the Run dialog box)
Windows Logo+U (Open Utility Manager)
Accessibility Keyboard Shortcuts
Right SHIFT for eight seconds (Switch FilterKeys either on or off)
Left ALT+left SHIFT+PRINT SCREEN (Switch High Contrast either on or off)
Left ALT+left SHIFT+NUM LOCK (Switch the MouseKeys either on or off)
SHIFT five times (Switch the StickyKeys either on or off)
NUM LOCK for five seconds (Switch the ToggleKeys either on or off)
Windows Logo +U (Open Utility Manager)
Windows Explorer Keyboard Shortcuts
END (Display the bottom of the active window)
HOME (Display the top of the active window)
NUM LOCK+Asterisk sign (*) (Display all of the subfolders that are under the selected
folder)
NUM LOCK+Plus sign (+) (Display the contents of the selected folder)
NUM LOCK+Minus sign (-) (Collapse the selected folder)
LEFT ARROW (Collapse the current selection if it is expanded, or select the parent folder)
RIGHT ARROW (Display the current selection if it is collapsed, or select the first subfolder)
Shortcut Keys for Character Map
After you double-click a character on the grid of characters, you can move through the
grid by using the keyboard shortcuts:
RIGHT ARROW (Move to the right or to the beginning of the next line)
LEFT ARROW (Move to the left or to the end of the previous line)
UP ARROW (Move up one row)
DOWN ARROW (Move down one row)
PAGE UP (Move up one screen at a time)
PAGE DOWN (Move down one screen at a time)
HOME (Move to the beginning of the line)
END (Move to the end of the line)
CTRL+HOME (Move to the first character)
CTRL+END (Move to the last character)
SPACEBAR (Switch between Enlarged and Normal mode when a character is selected)
micro$oft Management Console (MMC) Main Window Keyboard Shortcuts
CTRL+O (Open a saved console)
CTRL+N (Open a new console)
CTRL+S (Save the open console)
CTRL+M (Add or remove a console item)
CTRL+W (Open a new window)
F5 key (Update the content of all console windows)
ALT+SPACEBAR (Display the MMC window menu)
ALT+F4 (Close the console)
ALT+A (Display the Action menu)
ALT+V (Display the View menu)
ALT+F (Display the File menu)
ALT+O (Display the Favorites menu)
MMC Console Window Keyboard Shortcuts
CTRL+P (Print the current page or active pane)
ALT+Minus sign (-) (Display the window menu for the active console window)
SHIFT+F10 (Display the Action shortcut menu for the selected item)
F1 key (Open the Help topic, if any, for the selected item)
F5 key (Update the content of all console windows)
CTRL+F10 (Maximize the active console window)
CTRL+F5 (Restore the active console window)
ALT+ENTER (Display the Properties dialog box, if any, for the selected item)
F2 key (Rename the selected item)
CTRL+F4 (Close the active console window. When a console has only one console
window, this shortcut closes the console)
Remote Desktop Connection Navigation
CTRL+ALT+END (Open the m*cro$oft Windows NT Security dialog box)
ALT+PAGE UP (Switch between programs from left to right)
ALT+PAGE DOWN (Switch between programs from right to left)
ALT+INSERT (Cycle through the programs in most recently used order)
ALT+HOME (Display the Start menu)
CTRL+ALT+BREAK (Switch the client computer between a window and a full screen)
ALT+DELETE (Display the Windows menu)
CTRL+ALT+Minus sign (-) (Place a snapshot of the active window in the client on the
Terminal server clipboard and provide the same functionality as pressing PRINT SCREEN on a local computer.)
CTRL+ALT+Plus sign (+) (Place a snapshot of the entire client window area on the Terminal server clipboard and provide the same functionality as pressing ALT+PRINT SCREEN on a local computer.)
m*cro$oft Internet Explorer Navigation
CTRL+B (Open the Organize Favorites dialog box)
CTRL+E (Open the Search bar)
CTRL+F (Start the Find utility)
CTRL+H (Open the History bar)
CTRL+I (Open the Favorites bar)
CTRL+L (Open the Open dialog box)
CTRL+N (Start another instance of the browser with the same Web address)
CTRL+O (Open the Open dialog box, the same as CTRL+L)
CTRL+P (Open the Print dialog box)
CTRL+R (Update the current Web page)
CTRL+W (Close the current window)
Source:http://forums.digitalpoint.com/showthread.php?t=955097
At the 1994 annual awards dinner given for Forensic Science, AAFS President Dr Don Harper Mills astounded his audience with the legal complications of a bizarre death.
Here is the Case:
On March 23, 1994 the medical examiner viewed the body of Ronald Opus and concluded that he died from a shotgun wound to the head.
Mr. Opus had jumped from the top of a ten-story building intending to commit suicide. He left a note to the effect indicating his despondency .As he fell past the ninth floor his life was interrupted by a shotgun blast passing through a window, which killed him instantly.
Neither the shooter nor the deceased was aware that a safety net had been installed just below the eighth floor level to protect some building workers and that Ronald Opus would not have been able to complete his suicide the way he had planned.
“Ordinarily,” Dr Mills continued, “A person, who sets out to commit suicide and ultimately succeeds, even though the mechanism might not be what he intended, is still defined as committing suicide.” That Mr. Opus was shot on the way to certain death, but probably would not have been successful because of the safety net, caused the medical examiner to feel that he had a homicide on his hands.
In the room on the ninth floor, where the shotgun blast emanated, was occupied by an elderly man and his wife. They were arguing vigorously and he was threatening her with a shotgun.
The man was so upset that when he pulled the trigger he completely missed his wife and the pellets went through the window striking Mr. Opus. When one intends to kill subject “A” but kills subject “B” in the attempt, one is guilty of the murder of subject “B”.
When confronted with the murder charge the old man and his wife were both adamant and both said that they thought the shotgun was u nloaded. The old man said it was a long-standing habit to threaten his wife with the unloaded shotgun. He had no intention to murder her.
Therefore the killing of Mr. Opus appeared to be an accident; that is, if the gun had been accidentally loaded. The continuing investigation turned up a witness who saw the old couple’s son load ing the shotgun about six weeks prior to the fatal accident.
It transpired that the old lady had cut off her son’s financial support and the son, knowing the propensity of his father to use the shotgun threateningly, loaded the gun with the expectation that his father would shoot his mother.Since the loader of the gun was aware of this, he was guilty of the murder even though he didn’t actually pull the trigger. The case now becomes one of murder on the part of the son for the death of Ronald Opus.
Now comes the exquisite twist. Further investigation revealed hat the son was, in fact, Ronald Opus. He had become increasingly despondent over the failure of his attempt to engineer his mother’s murder. This led him to jump off the ten-story building on March 23rd, only to be killed by a shotgun blast passing through the ninth story window. The son had actually Murdered himself, so the medical examiner closed the case as a suicide
Google ’s knol is a collection of user written articles from various topics ranging from history to General topics.And also it is mostly seen as a competitor to by Wikipedia started by Google. In Addition to this you can use your Google adsense account to display Google ads on knol so that you get paid whenever someone clicks ads on it or according to no of views..
To Sign in to knol you just need to use your Google account and after that you will get a verification mail to your google account ,after getting verified you can start posting articles on Google’s knol
And also your name will be displayed as verified if you get yourself verified by Phone or credit card… so you will be differentiated from others
Though it is a good project started by Google ,some questions have rised with regard to spam and how to differentiated Good articles from badly written ones!
MIND BLOWING FACTS
1. Turtles have no teeth.
2. Prehistoric turtles may have weighed as much as 5,000 pounds.
3. Only one out of a thousand baby sea turtles survives after hatching.
4. Sea turtles absorb a lot of salt from the sea water in which they live. They excrete excess salt from their eyes, so it often looks as though they’re crying.
5. Helium is a colourless, odourless, tasteless inert gas at room temperature and makes up about 0.0005% of the air we breathe.
6. Helium Balloon Gas makes balloons float. Helium is lighter than air and just as the heaviest things will tend to fall to the bottom, the lightest things
will rise to the top.
7. Helium Balloon Gas makes balloons float. Helium is lighter than air and just as the heaviest things will tend to fall to the bottom, the lightest things
will rise to the top.
8. Camels can spit.
9. An ostrich can run 43 miles per hour (70 kilometers per hour).
10. Pigs are the fourth most intelligent animal in the world.
11. Dinosaurs didn’t eat grass? There was no grass in the days of the dinosaurs.
12. Dolphins can swim 37 miles per hour (60 kilometers per hour).
13. A crocodile’s tongue is attached to the roof of its mouth? It cannot move. It cannot chew but its Digestive juices are so strong that it can digest a steel
nail, Glass pieces, etc
14. Sharks are immune to disease i.e they do not suffer from any Disease.
15. Animals are either right- or left-handed? Polar bears are always left-handed, and so is Kermit the Frog.
16. Paris, France has more dogs than people.
17. New Zealand is home to 70 million sheep and only 40 million people.
18. Male polar bears weigh 1400 pounds and females only weight 550 pounds, on average.
19. Bison are excellent swimmers? Their head, hump and tail never go below the surface of the water.
20. There are 6 to 14 frogs species in the world that have no tongues. One of these is the African dwarf frog.
21. A frog named Santjie, who was in a frog derby in South Africa jumped 33 feet 5.5 inches.
22. The longest life span of a frog was 40 years
23. The eyes of a frog flatten down when it swallows its prey
24. The name `India’ is derived from the River Indus
25. The Persian invaders converted it into Hindu. The name `Hindustan’ combines Sindhu and Hindu and thus refers to the land of the Hindus.
26. Chess was invented in India.
27. The’ place value system’ and the ‘decimal system’ were developed in 100 BC in India.
28. The game of snakes & ladders was created by the 13th century poet saint Gyandev. It was originally called ‘Mokshapat.’ The ladders in the game represented
virtues and the snakes indicated vices.
29. India has the most post offices in the world
30. ‘Navigation’ is derived from the Sanskrit word NAVGATIH
31. The word navy is also derived from the Sanskrit word ‘Nou’.
32. Until 1896, India was the only source for diamonds to the world
33. The’ place value system’ and the ‘decimal system’ were developed in 100 BC in India.
34. A snail can sleep for 3 years.
35. The names of the continents all end with the same letter with which they start
36. Twenty-Four- Karat Gold is not pure gold since there is a small amount of copper in it. Absolutely pure gold is so soft that it can be molded with the
hands.
37. Electricity doesn’t move through a wire but through a field around the wire.
38. The first bicycle that was made in 1817 by Baron von Drais didn’t have any pedals? People walked it along
39. The first steam powered train was invented by Robert Stephenson. It was called the Rocket.
40. A cheetah does not roar like a lion - it purrs like a cat (meow).
41. The original name for the butterfly was ‘flutterby’
42. An ostrich’s eye is bigger than its brain.
43. Ants don’t sleep.
44. Dolphins usually live up to about twenty years, but have been known to live for about forty.
45. Dolphins sleep in a semi-alert state by resting one side of their brain at a time
46. A dolphin can hold its breath for 5 to 8 minutes at a time
47. Bats can detect warmth of an animal from about 16 cm away using its “nose-leaf”.
48. Bats can also find food up to 18 ft. away and get information about the type of insect using their sense of echolocation.
49. The eyes of the chameleon can move independently & can see in two different directions at the same time.
50. Cockroach: Can detect movement as small as 2,000 times the diameter of a hydrogen atom.
51. Dragonfly: Eye contains 30,000 lenses.
52. Pig’s Tongue contains 15,000 taste buds. For comparison, the human tongue has 9,000 taste buds.
53. The number system was invented by India. Aryabhatta was the scientist who invented the digit zero.
54. Intelligent people have more zinc and copper in their
hair.
55. Earth weighs 5,972,000,000, 000,000,000, 000 tons
56. Like fingerprints, everyone’s tongue print is different.
57. A duck’s quack doesn’t echo anywhere
58. Man is the only animal who’ll eat with an enemy
59. The average woman uses about her height in lipstick every five years.
60. The first Christmas was celebrated on December 25 AD 336 in Rome.
62. A Cockroach will live nine days without its head, before it starves to death.
63. A chimpanzee can learn to recognize itself in a mirror, but monkeys can’t
64. A rat can last longer without water than a camel can
65. About 10% of the world’s population is left-handed
66. Dolphins sleep with one eye open
67. Snakes have no external ears. Therefore, they do not hear the music of a “snake charmer”. Instead, they are probably responding to the movements of the
snake charmer and the flute. However, sound waves may travel through bones in their heads to the middle ear.
68. Many spiders have eight eyes.
69. The tongue of snakes has no taste buds. Instead, the tongue is used to bring smells and tastes into the mouth. Smells and tastes are then detected in two
pits, called “Jacobson’s organs”, on the roof of their mouths. Receptors in the pits then transmit smell and taste information to the brain.
70. Birds don’t sweat
71. The highest kangaroo leap recorded is 10 ft and the longest is 42 ft
72. Flamingo tongues were eaten common at Roman feasts
73. The smallest bird in the world is the Hummingbird. It weighs 1oz
74. The bird that can fly the fastest is called a White it can fly up to 95 miles per hour.
75. The oldest living thing on earth is 12,000 years old. It is the flowering shrubs called creosote bushes in the Mojave Desert
76. Tea is said to have been discovered in 2737 BC by a Chinese emperor when some tea leaves accidentally blew into a pot of boiling water.
77. A person can live without food for about a month, but only about a week without water.If the amount of water in your body is reduced by just 1%, you’ll feel thirsty.
If it’s reduced by 10%, you’ll die.
78. Along with its length neck, the giraffe has a very long tongue — more than a foot and a half long. A giraffe can clean its ears with its 21-inch tongue
79. Ostriches can kick with tremendous force, but only forward. Don’t Mess with them
80. An elephant can smell water three miles away
81. If you were to remove your skin, it would weigh as much as 5 pounds
82. A hippopotamus can run faster than a man
83. India never invaded any country in her last 10000 years of history
84. The world’s known tallest man is Robert Pershing Wadlow. The giraffe is 5.49m (18 ft.), the man is 2.55m (8ft. 11.1 in.).
85. The world’s tallest woman is Sandy Allen. She is 2.35m (7 ft. 7 in.).
86. The only 2 animals that can see behind itself without turning its head are the rabbit and the parrot.
87. The blue whale is the largest animal on earth. The heart of a blue whale is as big as a car, and its tongue is as long as an elephant.
88. The largest bird egg in the world today is that of the ostrich. Ostrich eggs are from 6 to 8 inches long. Because of their size and the thickness of their
shells, they take 40 minutes to hard-boil. The average adult male ostrich, the world’s largest living bird, weighs up to 345 pounds.
89. Every dolphin has its own signature whistle to distinguish it from other dolphins, much like a human fingerprint
90. The world’s largest mammal, the blue whale, weighs 50 tons i.e. 50000 Kg at birth. Fully grown, it weighs as much as 150 tons i.e. 150000 Kg.
91. 90 % of all the ice in the world in on Antarctica
92. Antarctica is DRIEST continent. Antarctica is a desert
93. Antarctica is COLDEST continent, averaging minus 76 degrees in the winter
94. Mercury is the closest planet to the sun and it doesn’t have a moon. Its atmosphere is
so thin that during the day the temperature reaches 750 degrees, but
at night it gets down to -300 degrees.
95. Jupiter is the largest planet. If Jupiter were hollow, you could fit 1000 earths inside! It is made up of gas and is not solid. The most famous feature on
Jupiter is its Red Spot, which is actually an enormous hurricane that has been raging on Jupiter for hundreds of years! Sixteen moons orbit Jupiter.
96. Saturn is a very windy place! Winds can reach up to 1,100 miles per hour. Saturn is also made of gas. If you could find an ocean large enough, it would
float. This planet is famous for its beautiful rings, and has at least 18 moons.
97. Uranus is the third largest planet, and is also made of gas. It’s tilted on its side and
spins north-south rather than east-west. Uranus has 15 moons.
98. Neptune takes 165 Earth years to get around the sun. It appears blue because it is made of methane gas. Neptune also has a big Spot like Jupiter. Winds on
Neptune get up to 1,200 mile per hour! Neptune has 8 moons.
99. Pluto is the farthest planet from the sun… usually. It has such an unusual orbit that it is occasionally closer to the sun than Neptune. Pluto is made of
rock and ice.
100. Just about everyone listens to the radio! 99% of homes in the United States have a least one radio. Most families have several radios.
101. Sound is sent from the radio station through the air to your radio by means of electromagnetic waves. News, music, Bible teaching, baseball games, plays,
advertisements- these sounds are all converted into electromagnetic waves (radio waves) before they reach your radio and your ears.
102. At the radio station, the announcer speaks into a microphone. The microphone changes the sound of his voice into an electrical signal. This signal is weak
and can’t travel very far, so it’s sent to a transmitter. The transmitter mixes the signal with some strong radio signals called carrier waves. These waves are
then sent out through a special antenna at the speed of light! They reach the antenna of your radio. Your antenna “catches” the signal, and the radio’s
amplifier strengthens the signal and sends it to the speakers. The speakers vibrate, and your ears pick up the vibrations and your brain translates them into
the voice of the radio announcer back at the station. When you consider all the places the announcer’s voice travels
103. Every radio station has its own frequency. When you turn the tuning knob on your radio, you are choosing which frequency you want your antenna to “catch.”
104. Mountain lions are known by more than 100 names, including panther, catamount, cougar, painter and puma. It’s scientific name is Felis concolor, which
means “cat of one color.” At one time, mountain lions were very common!
105. The large cats of the world are divided into two groups- those that roar, like tigers and African lions, and those that purr. Mountain lions purr, hiss,
scream, and snarl, but they cannot roar.
106. They can jump a distance of 30 feet, and jump as high as 15 feet. It would take quite a fence to keep a mountain lion out!
107. Their favorite food is deer, but they’ll eat other critters as well. They hunt alone, not in packs like wolves. They sneak up on their prey just like a
house cat sneaks up on a bird or toy- one slow step at a time. A lion can eat ten pounds of meat at one time! That’s equivalent to 40 quarter-ponder hamburgers!
108. Queen ants can live to be 30 years old
109. Dragonflies can flap their wings 28 times per second and they can fly up to 60 miles per hour
110. As fast as dragonflies can flap their wings, bees are even faster… they can flap their wings 435 times per second
111. Human thigh bones are stronger than concrete.
112. You can’t kill yourself by holding your breath
113. Your heart beats over 100,000 times a day
114. Right handed people live, on average, nine years longer than left-handed people
115. The elephant is the only mammal that can’t jump!
116. Fingernails grow nearly 4 times faster than toenails!
117. Women blink nearly twice as much as men
118. Honey is the only food that does not spoil. Honey found in the tombs of Egyptian pharaohs has been tasted by archaeologists and found edible
119. Coca-Cola would be green if colouring weren’t added to it.
120. More people are allergic to cow’s milk than any other food.
121. Camels have three eyelids to protect themselves from blowing sand
122. Earth is the only planet not named after a god.
123. It’s against the law to burp, or sneeze in a church in Nebraska, USA.
124. Some worms will eat themselves if they can’t find any food!
125. It is impossible to sneeze with your eyes open
126. Queen Elizabeth I regarded herself as a paragon of cleanliness. She declared that she
bathed once every three months, whether she needed it or not
127. Slugs have 4 noses.
128. Owls are the only birds who can see the colour blue.
129. Your tongue is the only muscle in your body that is attached at only one end
130. More than 1,000 different languages are spoken on the continent of Africa.
131. There was once an undersea post office in the Bahamas.
132. Abraham Lincoln’s mother died when she drank the milk of a cow that grazed on
poisonous snakeroot
133. After the death of Albert Einstein his brain was removed by a pathologist and put in a jar for future study.
134. Penguins are not found in the North Pole
135. A dentist invented the Electric Chair.
136. A whip makes a cracking sound because its tip moves faster than the speed of sound
137. Alexander Graham Bell’s wife and mother were both deaf
138. Cockroaches break wind every 15 minutes.
139. Fish scales are an ingredient in most lipsticks
140. Canada” is an Indian word meaning “Big Village”.
141. 259200 people die every day.
142. 11% of the world is left-handed
143. 1.7 litres of saliva is produced each day
144. The worlds oldest piece of chewing gum is 9000 years old!
145. The largest beetle in the Americas is the Hercules beetle, which can be 4 to 6 inches in length. That’s bigger than your hand!
146. A full-grown male mountain lion may be 9 feet long, including his tail!
147. There are two kinds of radio stations: AM and FM. That’s why there are two dials on your radio. AM is used mostly for stations that specialize in talking,
such as Christian stations that have Bible stories and sermons; sports stations that broadcast live baseball and football games; and stations that specialize
in news programs and “talk shows,” where listeners call the station and discuss various topics. FM is used mostly for stations that specialize in music.
148. The average lead pencil can draw a line that is almost 35 miles long or you can write almost 50,000 words in English with just one pencil
149. The Wright Brothers invented one of the first airplanes. It was called the Kitty Hawk.
150. The worst industrial disaster in India, occurred in 1984 in Bhopal the capital of Madhya Pradesh. A deadly chemical, methly isocyanate leaked out of the
Union Carbide factory killing more than 2500 and leaving thousands sick. In fact the effects of this gas tragedy is being felt even today.
151. Mars is nicknamed the “Red Planet,” because it looks reddish in the night sky. Mars has 2 moons.
152. Venus is nicknamed the “Jewel of the Sky.” Because of the greenhouse effect, it is hotter than Mercury, even though it’s not as close to the sun. Venus
does not have a moon but it does have clouds of sulfuric acid! If you’re gonna visit Venus, pack your gas mask!
153. Tens of thousands of participants come from all over the world, fight in a harmless battle where more than one hundred metric tons of over-ripe tomatoes
are thrown in the streets.
Here is a tutorial which will explain how to pass Javascript variables to Php.This tutorial works only for files under the same server
Aim:To pass document.referrer variable to Php and to write the referrer variable on a text file;
First let us create two file called 1a.html and 2a.html
1a.html will contain a link to 2a.html
and 2a.html will contain just two javascript calls one will call a file called xml1.js
Here is the source of 1a.html
<a href=’http://www.ramanean.com/java/2a.html’>2</a>
Source of 2a.html
<html>
<head>
</head>
<body>
<script src=”xml1.js”></script>
<script type=”text/javascript”>
change1();
</script>
Here First we are calling xml.js javascript and then calling change1() function in it
Source of xml1.js
var xmlHttp
function change1()
{
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
{
alert (”Your browser does not support AJAX!”);
return;
}
var shan=document.referrer;
var url=”78.php”;
url=url+”?q=”+shan;
xmlHttp.open(”GET”,url,true);
xmlHttp.send(null);
}function GetXmlHttpObject()
{
var xmlHttp=null;
try
{
// Firefox, Opera 8.0+, Safari
xmlHttp=new XMLHttpRequest();
}
catch (e)
{
// Internet Explorer
try
{
xmlHttp=new ActiveXObject(”Msxml2.XMLHTTP”);
}
catch (e)
{
xmlHttp=new ActiveXObject(”Microsoft.XMLHTTP”);
}
}
return xmlHttp;
}
In the above function function GetXmlHttpObject() is nothing but creating Xmlhttpobject by which get function will be routed (AJAX).Do n’t worry about that if you need to more about there go to http://www.w3schools.com/ajax/ajax_source.asp.
Now let us go to the second line ,Here we are declaring change1 function and then we checking whether browser supports xml if not browser will display an error message indicating that “your Browser does n’t support AJAX”
Now let me explain what these four lines contain
var s =document.referrer; // javascript variable you are going to pass
var url=”78.php”; //Url aof the Php script you are going to pass javascript varaibles
url=url+”?q=”+shan;// adding javascript variables to the url
xmlHttp.open(”GET”,url,true); //callingthe php script
xmlHttp.send(null);//calling the php script
The php file is like this
<?php
$q=$_GET[”q”];//Getting the javascript variable
$file=file_put_contents(’ip1.txt’,$q);//writing the variable to file
?>
by this you can pass variables to a php script and from php you can insert any data into your database;
URL Error (23000148): An error has occured while trying to browse through the proxy.
Failed to connect to the specified host. Possible problems are that the server was not found, the connection timed out, or the connection refused by the host. Try connecting again and check if the address is correct.
If this error occurs in your proxy or web server.Just Restart the web server.This would solve any problems.This error occurs due to network problems in the connection port.
From Today onwards , I have decided to learn javascript which is a widely used language in web scripting ,now days it is hard to find a webpage without javascript.
A little about Javascript from wikipedia:
JavaScript is a scripting language most often used for client-side web development. It was the originating dialect of the ECMAScript standard. As such, it is a dynamic, weakly typed, prototype-based language with first-class functions.
JavaScript was influenced by many languages and was designed to have a similar look to Java, but be easier for non-programmers to work with.[1] The language is best known for its use in websites (as client-side JavaScript), but is also used to enable scripting access to objects embedded in other applications (for example Microsoft Gadgets in Windows Vista Sidebar).
And also most people often confuse javascript with java but in real time javascript is entirely unrelated to java.Also we can say that Javascript is independent of java.
Another advantageis that we can use javascript with any programming language provided the user’s browser has enabled javascripts