Monday 17 October 2016

Disable mouse right click on web page

<html>
   <head>
   </head>
   <body oncontextmenu="return false" >
   </body>
</html>

http://www.w3schools.com/jsref/event_oncontextmenu.asp





rowString = rowString.Replace('"', ' ').Trim();


http://stackoverflow.com/questions/12740486/want-to-remove-the-double-quotes-from-the-strings



Sunday 16 October 2016

Interesting English

1. Which is the longest word in English?

Pneumonoultramicroscopicsilicovolcanoconiosis

The word contains forty five letters and this is one of the lung disease name caused by silica dust which is delivered from volcano.
----------
2. Food Time

Breakfast -- Breaking the fast.
Brunch -- Between breakfast and lunch (Breakfast+Lunch) Which means late morning or early afternoon
Lunch -- Afternoon food that is middle of the day
Supper -- Night food.
Dinner -- Main meal of the day. Not only refer the night food
Happy Eating!!
---------- 
3. Wishes
How do you do -- It's a normal way of greeting and the reply is same How do you do
Good Bye -- God be with you
----------
4. Welfare inquiry

British English
Q: How are you?
A1: I am fine, Thanks. How about you?
A2: Very well, Thank you. How about you?
A3: I am great and you
A4: I am OK/All right/Superb
A5: So..so -- not to bad (எதோ போகுது)

American English
Q1: How are you doing?
Q2: What's up man?
Q3: How is everything?
Q4: How is going?
A1: I am doing good and you?
A2: Can't complaint
A3: Nothing to grumble (புலம்புதலுக்கு ஒன்றுமில்லை)
Note: Positive answer and sad reply
----------
 5. Rhetorical Questions

The questions which is not expect the answers
Examples
1. Why should I help you? (நான் ஏன் உனக்கு உதவ வேண்டும்)
2. Are you crazy? ( நீ  என்ன பைத்தியக்காரனா)
3. Don't you have sense? (உனக்கு அறிவு இல்லையா)
----------
6. Informal verbs

Gonna -- Going to
Wanna -- Want to
Gotta -- Got to
----------

7. Pangram
      A sentence which have each alphabetic word at least one time.
Example:
A quick brown fox jumps over the lazy dog
Jackdaws love my big sphinx of quartz

----------



Tuesday 11 October 2016

Get a timestamp in JavaScript?

new Date().getTime();
Math.floor(Date.now() / 1000)


http://stackoverflow.com/questions/221294/how-do-you-get-a-timestamp-in-javascript

Monday 10 October 2016

Tricky IAS interview questions answer

Q1. Can you tell 3 consecutive days without Monday, Wednesday and Friday?

Ans1: Yesterday, Today and Tomorrow



Sunday 2 October 2016

How to remove the profile picture from google accounts

Go to Setting --> General --> My Picture --> Change Picture --> No Picture --> Apply Changes


How to remove the profile picture from Google+

Go to Profile--> About --> Click your Profile photo --> Select No Photo