
Search In
Vectors are sequence container which represents Arrays and can change their size during run-time.
Vectors use contiguous blocks of memory (as Arrays) for their elements. That means the elements of the sequence can be accessed using offsets on regular
The escape function returns a hexadecimal encoding of an argument in the ISO Latin-1 character set that contains the contents of charstring. The Syntax is:
escape("string")
String is a string in the ISO Latin-1 character set.
The value returned b
Hello Reader,
If you want to create WordPress custom login using AJAX below example will help you.
You just need to follow the steps one by one.
1.) copy the below line and paste it to header,php file under </head> section.
<script type
Here, I am writing simple method to find out the number of days between two dates.
In many situations, we need to calculate it. So just pass two dates as parameters of the method and get the number of days in long data type.
public long getDa
Sometimes we need to check whether a date is within past 24 hours or not. Generally we implement this kind of functionality when we create an AuthToken or a code that we want to to be valid for some time duration.
Example: In the below example I'm c
The code below will help you in declaration of completion handler and how to call the completion handler in swift.
To declare a completion handler in swift use the line :
typealias completionHander = (sucess: Bool)->Void
//decalration of co
The Math.pow() function calculates the power of x to y, x ^ y. Matrix exponentiation is supported for square matrices x, and positive integer exponents y. It returns the base to the exponent power, that is, base exponent. It Gets a number raised to t
Hello Reader's!
If you want to make your file download by execution of JS then you can use the code below:-
var a = document.createElement('a');
a.href = "/favicon.png"; //make the link of image
a.download = "favicon.png";
document.body.appendChild(
Its easy to make a phone call by using intent in android for this example we can user an editText and button with property of editText is set to inputType="phone" that ll accept only numbers.
On basis of intent an action to be performed i.e ACTION_D
Sometimes we need to check/unchecked checkbox based on some condition. We can do this easily by using "checked" attribute of a button.
Example:
<input type="checkbox" id="addressCheckBox" class="form-control">
<label>I confirm this is
