Configuring SSH to Enter a Password Automatically

As you know, when you SSH into a system, it will ask for the password which you have to enter everytime. But in cases where you’re SSHing in a script or in a loop, its a really time consuming and boring thing to enter password everytime. So, in this case you have to configure SSH to use a password to enter when asked. But, there is no default option in the ssh command to set this due to security reasons I think.

[READ MORE]

How to check if the mouse is over an element in jQuery?

Here is a simple plugin to check if the mouse is over an element in JQuery. Open your jQuery source file and search for window.jQuery = window.$ = jQuery;  Paste the code shown below after the code you have just found. <span class=“pln” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“> $</span><span class=“pun” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>.</span><span class=“pln” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>mlp </span><span class=“pun” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>=</span><span class=“pun” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>{</span><span class=“pln” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>x</span><span class=“pun” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>:</span><span class=“lit” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>0</span><span class=“pun” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>,</span><span class=“pln” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>y</span><span class=“pun” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>:</span><span class=“lit” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>0</span><span class=“pun” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>};</span><span class=“kwd” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>function</span><span class=“pln” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“> documentHandler</span><span class=“pun” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>(){</span><span class=“kwd” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>var</span><span class=“pln” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“> $current </span><span class=“pun” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>=</span><span class=“kwd” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>this</span><span class=“pun” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>===</span><span class=“pln” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“> document </span><span class=“pun” style=“border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;“>?

[READ MORE]