Categories

Showing posts with label Interesting Talks. Show all posts
Showing posts with label Interesting Talks. Show all posts

Monday, 1 September 2014

How to copy text in CMD?

Most of us are aware that in CMD (Command Prompt) paste is achieved by a right click. Then what about copying something from CMD itself. It is obvious that this is not possible by a CTRL+C command as it is for terminating a process in CMD. So lets learn how to do this!


  • Open CMD just by typing cmd in search
  • Then right click at title bar as shown in figure
  • Go to properties and find edit options. 
  • Check on the Quick Edit Mode option and click OK.
  • Over!!! Now select the text you want to copy as you would do in any other text editor and right click on it. Paste it in your text editor! Simple!!
Note that you can't select text in CMD without checking on the Quick Edit Mode option!



Saturday, 18 January 2014

Bugs!!

Do you know how the name bug came into picture in computer world??? In computer world, a bug is a "mistake" in a program whereas in real world, a bug is kind of "moth". Then how these two were related?? Here is the answer:

In early days of computer, when its hardware is very sensitive, a small moth caused a relay to fail when Aiken, Hopper were working on Harvard Mark1 computer. Hopper and other programmers taped the deceased moth in a log book with the note "First actual case of bug being found."

The log book is currently on the display at Navel Museum in Dahlgren, Virginia. This was the first computer documented bug.

Professor Aiken would come into the facility during a slack time and inquire if any numbers were being computed. Then the programmers would reply that they were debugging the computer!!!!!

In this way we bug came into computer world !!


Friday, 10 January 2014

Ghost Keyboard Typing

Hello, now I'm going to share you how to prank your friend with notepad!!!
Yes! You heard it right! with "NOTEPAD"...just follow the steps...


Step 1: Open notepad.
Step 2: Copy the below code exactly in your notepad.

set wshshell = wscript.CreateObject("wScript.Shell")
wshshell.run "Notepad"
wscript.sleep 400
wshshell.sendkeys "H"
wscript.sleep 100
wshshell.sendkeys "E"
wscript.sleep 120
wshshell.sendkeys "L"
wscript.sleep 200
wshshell.sendkeys "L"
wscript.sleep 100
wshshell.sendkeys "L"
wscript.sleep 140
wshshell.sendkeys "O"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 50
wshshell.sendkeys "W"
wscript.sleep 120
wshshell.sendkeys "O"
wscript.sleep 170
wshshell.sendkeys "R"
wscript.sleep 100
wshshell.sendkeys "L"
wscript.sleep 50
wshshell.sendkeys "D"
wscript.sleep 120
wshshell.sendkeys "!"
wscript.sleep 160
wshshell.sendkeys "!"
wscript.sleep 200
wshshell.sendkeys "!"
wscript.sleep 100


Step 3: Now save the file as Hello.vbs (Don't forget the extension .vbs)
Step 4: Double click the saved file and see the magic!

Note: If you get any error regarding "Line" or "Char" then you just right click the saved file and go to edit option. Remove all quotation marks (") and re-type them manually and save it. Now repeat step 4.