Tuesday, 9 September 2014

IAS IPS Topper Stories


IAS IPS Topper Stories Moment of thinking... These are few questions asked in HR interview! The answers are really stunning and inspiring. Thinking out of the box! A must read… Question 1:
You are driving along in your car on a wild, stormy night, it's raining heavily, when suddenly you pass by a bus stop, and you see three people waiting for a bus:
* An old lady who looks as if she is about to die.
* An old friend who once saved your life.
* The perfect partner you have been dreaming about.
Which one would you choose to offer a ride to, knowing very well that there could only be one passenger in your car?

This is a moral/ethical dilemma that was once actually used as part of a job application.
He simply answered: "I would give the car keys to my Old friend and let him take the lady to the hospital. I would stay behind and wait for the bus with the partner of my dreams."
Sometimes, we gain more if we are able to give up our stubborn thought limitations. Never forget to"Think Outside of the Box."
Question 2: What will you do if I run away with your sister?

The candidate who was selected answered"I will not get a better match for my sister than you sir"

Question 3: Interviewer (to a student girl candidate) – What is one morning you woke up&found that you were pregnant.
Girl – I will be very excited and take an off, to celebrate with my husband.
Normally an unmarried girl will be shocked to hear this, but she managed it well. Why I should think it in the wrong way, she said later when asked.
Question 4:
Interviewer: He ordered a cup of coffee for the candidate. Coffee arrived kept before the candidate, then he asked what is before you?
Candidate: Instantly replied"Tea"
He got selected.
You know how and why did he say"TEA"when he knows very well that coffee was kept before.
(Answer: The question was"What is before you (U – alphabet) Reply was"TEA"( T – alphabet)
Alphabet"T"was before Alphabet"U"
Question5;
Interviewer said"I shall either ask you ten easy questions or one really difficult question.
Think well before you make up your mind!"The boy thought for a while and said,"my choice is one really difficult question."
"Well, good luck to you, you have made your own choice! Now tell me this."What comes first, Day or Night?"
The boy was jolted into reality as his admission depends on the correctness of his answer, but he thought for a while and said,"It's the DAY sir!"
"How"the interviewer asked,

"Sorry sir, you promised me that you will not ask me a SECOND difficult question!"
___
Sometimes just thinking out of the box is all it takes!

How To Run PHP on Ubuntu


How to run PHP on Ubuntu.


First of all you will need a web-server to host your PHP pages.
In this tutorial I use Apache2. You can install Apache2 from the Terminal by using:
$>sudo apt-get update

$> sudo apt-get install apache2

when the installation is finished, Apache is up and running and you can test that by pointing your web browser at

http://localhost/

The default page will come up with a message “it works”.This html file is located under your local file system in folder

/var/www/

Now you have to install PHP.
To install PHP and PHP support for Apache, just write the following in console:

$>sudo apt-get install php5 libapache2-mod-php5

When this is done you are ready.
Let’s go and delete the default page of Apache so we can create our own.
Open a terminal and type:

$>sudo rm /var/www/index.html

If you want to test that PHP is installed successfully into your system you can write and run a simple PHP script that will return to you the PHP information. So open the terminal and type:

$>sudo gedit /var/www/index.php

An empty document will open in gedit now just type the following and save the document.



Restart the web-server by typing:

$>sudo /etc/init.d/apache2 restart

And point your web browser at: http://localhost/
You should now be able to see your first PHP page running.
You can edit this page at any time by typing:

$>sudo gedit /var/www/index.php

Have fun creating your web pages!

10 Tips to speed-up your computer


10 tips to speed up your computer


1. When your system starts, a lot of programs auto load which slow down your machine. Therefore, it is suggested to remove unneeded programs at startup with the help of Microsoft's MSConfig tool. Go to Start > Run > type "msconfig". Go to the startup tab and uncheck the programs you don't want to load whenever the system boots up. Click OK and restart.

2. Your PC comes pre-installed with a lot of programs which you don't even use. They unnecessarily eat up a significant amount of space on your machine and slow your system down. Go to Control Program > Programs and Features > Unintall the programs you don't use.

3. Whenever a program runs on your computer, it leaves certain files on your machine which consume a certain portion of disc space. Over a period of time, hundreds of programs run and thousands of files pile up on your device - which eventually decelerate your machine and sometimes lead to system crash. Therefore, you are suggested to periodically delete temporary files. Go to Start > Run> type "%temp%" > click OK. A folder full of files comes. Select those temporary files and delete.

4. You are advised to timely update software running on your machine. Most of us tend to click on the "Remind Me Later" button whenever a window pops out suggesting us of any update, and we never bother to go back to update.

5. A computer is vulnerable to viruses and other types of malicious programs like Spyware and Adware. These malware load into computer memory and slow down its speed. Thus, it is recommended that you install an antivirus on your machine to check for such programs. While there are many antivirus software available for free, we would recommend you Microsoft Security Essential. Also, ensure that the antivirus installed on your machine is not scheduled to run scan during the time of the day when it is heavily used. Schedule it to run scan when you are not using the system.

6. As your PC runs, files get spread across the device in pieces - framgents. It is recommended that you defragment your disk to bring back separated parts in one place. Defragmenting disk has a noticeable effect on a slow computer. Windows 7 comes with a built-in defragger which automatically defrags at intervals.

7. By turning off Windows graphics, you can set your computer to deliver a slightly better performance. Go to computer icon on your desktop > Properties > Advanced System settings > Advanced > Click Settings under performance > Enable Adust for best performance. It will have an impact on the speed of your PC.

8. Users should optimise the browser they use as per their needs. Ensue that your brower does not have unnecessary plugins and add-ons installed which may affect the performance of your device.

9. Hard drive on your machine must be partitioned. Partioning your hard disk helps in improving the speed of your slow PC.

10. ReadyBoost in Windows 7 can use your flash memory device to add instant RAM to your PC. Plug in a USB flash drive or card and ReadyBoost is active to use. ReadyBoost is designed to help when your PC's memory is running low. ReadyBoost works with most flash storage devices.

How to Enable/Disable USB Storage Devices


How to disable/enable the usage of USB storage devices?

USB drives (also known as flash drive, mobile disk or pen drive) are becoming the most popular standard in these days to store and move data. USB support is available in PCs of both IBM-compatible and Apple computers. USB port support hot plugging and plug & play. The USB allows up to 127 devices to be connected to the bus via a single port. The driver name "usbstor.sys" is used to communicate any USB drives to the operating system.



USB drives are indeed very useful in these days but a user can easily use to transfer any confidential information from your computer to others and can also upload viruses affected files to your computer by accidentally or deliberately. But you can prevent the users to connect any USB drives in the computer by disabling the ability of "usbstor.sys" (USB driver) to load in system. It will block the USB storage devices only and your system USB keyboard, mouse and others USB devices will work properly.



Perform the following steps to block the USB storage devices:


-First click on Start button to open "Run" and type "regedit" then press Ok button to open the Registry Editor.
-In registry editor locate the given path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR
Here select the "USBSTOR" folder and in right side of the registry editor panel find the value with name "Start" .
Double click on "Start" and then set its value 4 under "Value data" section. Close the Registry editor and restart your computer for changes to apply.

-Now when you want to restore the default setting, open the Registry Editor and set its value back to 3.

-Now again close the Registry editor and restart your computer for changes to apply.

Monday, 8 September 2014