
Search In
This post will help you to send push notification to iPhone devices using server side scripting language called php.
Here are code to send push notification
/**
* Apple Push Notification Services (APNS)
*
* @param array data
Many times, we being the developers come across a scenario where we need to Add or Remove a range of Items in a list.
In c# we have a function called AddRange to add a range of same data type elements in to a list that also has the same data type.
take in Rails:Rails has so many methods that provide the facility to fetching the records from database, so that you don't need to write raw sql. One of them is take.
By using take we can fetch a record (or N number of records if specified as a param
Step-1 Go to browser.
Step-2 Click on Question Mark which is located under your (?) in the top right corner of Odoo.
Step-3 Click on about and Updates,Update Apps List and Apply Scheduled Upgrades.
Step-4 Click on activate the developer
JavaScript Number() function : The Number function is used to cast the other objects to the number. Number() is a global function in JavaScript.
Syntax of the Number() funciton :
Number(object)
object: It is required parameter. It could be stri
Sometimes we may be required to get the get last N records of a table in SQL server based on ordering on a specific column . In this post we will create a query to get the result. First let us create a table which we will use in our query.
CREATE T
In MySQL, the LIKE operator is used to search for a specified pattern for a column in a WHERE clause .
LIKE Syntax
SELECT column_name
FROM table_name
WHERE column_name LIKE pattern;
We have a table "employee" as below:
employee
id firs
Function in programming language can be called anywhere in a program and it can be used again and again in the entire program you have to make a function once and you can call that function whenever you want. The programmer need not write the same c
Anonymous methods are code with just like delegates.They contain the body part without defining the signature associated.
You need not specify the return type in an anonymous method.
Writing an Anonymous Method
Anonymous methods are declared wi
To provide manipulation in a single bit of data or into the multiple bits we will use the things for these bit manipulation.
struct {
unsigned int widthValidated;
unsigned int heightValidated;
} status;
This will give you the