How Off-the-Record Chat Option of Gmail Works

Madhuparna
Updated on 25-Jun-2020 11:59:59

78 Views

One of the features in Google hangouts ensures that no record of your chat history is stored. To enable this, you simply have to go to −Hangouts> Open any conversation> Go to Setting> check for the option 'Conversation History'> Uncheck the box placed in front of this option>Checked: History is turned on.Unchecked: History is turned off.Now the answer to your another question on retrieving the messages is that 'You, as a user' cannot retrieve; however, your employer, in case you use a shared network, can not only see but retrieve even from 'off' mode. Although, I know that Gmail claims ... Read More

LCM of an Array of Numbers in Java

George John
Updated on 25-Jun-2020 11:59:39

4K+ Views

L.C.M. or Least Common Multiple of two values, is the smallest positive value which the multiple of both values.For example multiples of 3 and 4 are:3 → 3, 6, 9, 12, 15 ...4 → 4, 8, 12, 16, 20 ...The smallest multiple of both is 12, hence the LCM of 3 and 4 is 12.ProgramFollowing example computes the LCM of array of numbers.Live Demopublic class LCMofArrayOfNumbers {    public static void main(String args[]) {       int[] myArray = {25, 50, 125, 625};       int min, max, x, lcm = 0;             for(int i = 0; i

What is NDPS Act

Shankar Bhatt
Updated on 25-Jun-2020 11:59:33

391 Views

The Narcotic Drugs and Psychotropic Substances Act, 1985 is generally referred to as the NDPS Act, which prohibits any individual who is engaged in any activity consisting of producing, cultivating, selling, purchasing, transporting, storing, and/or consuming any narcotic drug or psychotropic substance.When Was It Introduced?The Narcotic Drugs and Psychotropic Substances bill was presented in the Lok Sabha on 23 August 1985 and later, passed by both Lok Sabha and Rajya Sabha. Later on, the then President Giani Zail Singh received this on 16 September 1985 and came into force on 14 Nov 1985.

GCD and LCM of Two Numbers in Java

Chandu yadav
Updated on 25-Jun-2020 11:57:26

996 Views

Following is an example which computes find LCM and GCD of two given numbers.Programimport java.util.Scanner; public class LCM_GCD {    public static void lcm(int a, int b){       int max, step, lcm = 0;       if(a > b){          max = step = a;       } else{          max = step = b;       }       while(a!= 0) {          if(max%a == 0 && max%b == 0) {             lcm = max;             break;          }          max += step;       }       System.out.println("LCM of given numbers is :: "+lcm);    }    public static void gcd(int a,int b){       int i, hcf = 0;          for(i = 1; i

Perform Animation on CSS Color Property

George John
Updated on 25-Jun-2020 11:53:20

139 Views

To implement animation on the color property with CSS, you can try to run the following codeExampleLive Demo                    div {             width: 200px;             height: 300px;             background: white;             border: 10px solid red;             animation: myanim 3s infinite;             bottom: 30px;             position: absolute;          }          @keyframes myanim {             20% {                bottom: 100px;                box-shadow: 30px 45px 70px orange;                color: blue;             }          }                     Performing Animation on color property       This is our demo div!    

Perform Animation on CSS Border Top Right Radius Property

Samual Sam
Updated on 25-Jun-2020 11:52:02

179 Views

To implement animation on the border-top-right-radius property with CSS, you can try to run the following codeExampleLive Demo                    table,th,td {             border: 2px solid black;          }          #newTable {             width: 500px;             height: 300px;             background: yellow;             border: 15px solid yellow;             animation: myanim 3s infinite;             background-position: bottom left;             background-size: 50px;          }          @keyframes myanim {             30% {                background-color: orange;                border-spacing: 50px;                border-top-color: red;                border-top-right-radius: 150px;             }          }                     Performing Animation for border top right radius                             Subject             Student             Marks                                 PHP             Tom             90                                 Java             Henry             70                    

date.toISOString() Function in JavaScript

karthikeya Boyini
Updated on 25-Jun-2020 11:51:40

227 Views

The Date object is a datatype built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.The toISOString() function of the date object returns the simplified extended ISO format of the date.SyntaxIts Syntax is as followsdateObj.toISOString();Example Live Demo    JavaScript Example         ... Read More

Date toJSON Function in JavaScript

Samual Sam
Updated on 25-Jun-2020 11:51:17

251 Views

The Date object is a data type built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.The toJSON() function of the date object returns the simplified extended ISO format of the date.SyntaxIts Syntax is as followsdateObj.toJSON();Example Live Demo    JavaScript Example       ... Read More

Difference Between Search Engine Friendly and Optimised Website

Shankar Bhatt
Updated on 25-Jun-2020 11:51:11

268 Views

This question always muddles the minds of those who want to start a website and get traffic to it as quickly as possible. However, it’s very crucial to know the answer to the question at the early stage, especially during the development because your developer can make your website search engine friendly. However, optimizing a website is a completely different task altogether.Search Engine Friendly Vs Search Engine OptimizedTurning a website search engine friendly is somewhat a one-time process. This process might involve a number of things but once it’s done there is not much required to do unless there is ... Read More

Repeat a Radial Gradient with CSS

karthikeya Boyini
Updated on 25-Jun-2020 11:49:41

238 Views

Use the repeating-radial-gradient() function to repeat radial gradient.You can try to run the following code to implement repeating-radial-gradient() function in CSSExampleLive Demo                    #demo {             height: 300px;             background: repeating-radial-gradient(green 20%, orange 40%, maroon 40%);          }                     Repeating radial gradient          

Advertisements