
Search In
here is my java script code
function onSuccess(position) {
var element = document.getElementById('map');
var lat=position.coords.latitude;
var lang=position.coords.longitude;
var myLatlng = new googl
Block access the data in normal way as the other normal function do. Block can access any class variable or function variable out side it but cannot modified it.
int x= 111;
void (^printXAndY)(int) = ^(int y) {
printf("%d %d\n", x, y);
};
print
Hi all,
Below is an example how to make half color on text using css. In this example we are using custom-attribute.
If you are looking for custom-attribute, In one my previous blog I have explained about it click custom-attribute to know more.
HT
counting of different characters is done by using strlen(i.e string length) and arr denotes array. We use for loop to pass the ASCII code of alphabets from a to z.
#include<stdio.h>
#include<string.h>
void main()
{
Using php we can easily find difference in days excluding weekends. First take start date and end date and generate strtotime for these dates to convert into string. After manipulation using while loop we can easily get the count of week days excludi
In today's world of internet, Email become one of the most popular and demanded service. Email become a necessary part of web development, email can be generate and send on different events such as registration of new users, activation of accounts on
We pass information to a CGI program in the POST method. And post packages give the information in exactly the same way as GET methods but instead of sending it as a text string after using post. In the URL it sends it as a separate message. This mes
Here is the exmaple for opening your HTML in a new tab with jQuery, first we define a function for the window in which we take variables for the tab (w) and for HTML (html) that will be opened in a new tab.
Then we define a click event from which it
In this c program we are reversing a string without using library function( Strrev). we are using a temporary variable store for reversing the string.
#include<stdio.h>
#include<string.h>
int main() {
char str[100], store ;
There can be positive infinity and negative infinity in python represented by Inf and -Inf. Positive infinity which is greatest of all numbers and negative infinity is least of all numbers.
Program to demonstrate infinity:
# Positive Infinity
p_in