
Search In
What if you want to build the iPhone app with iOS sdk 6.0 and want to use some method of iOS sdk 7.0?
There is no such way in Xcode to build the app using two different versions of iOS sdk.
If you use any method which is available only in iOS 7.0
In below example, I have written Python script to remove 'provision' from selection list when configuring Cash Flow Codes. Use below python code in your .py file :
def fields_get(self, cr, uid, fields=None, context=None):
res = super(account_cashf
PHP provide a lots of built in functions for manipulation of array. in_array is one of the useful built in function of PHP which is used to check whether a specified value exists in array or not. If the search value found in array the function return
This question is asked a lot in interviews, so here some of the methods by which one can get the second highest salary of an employee from a table.
Suppose the Employee is like this
ID
Name
Salary
Table: Employee
1
P
AngularJS has provided a $http service that works as an ajax call in jquery. It performs a function of reading data from the server. $http makes a call to the database and retrieves the desired data or records.
How to use?
1. you need to inject $ht
Promises are logics that are executed after any function is completed. In AngularJS, promises are provided by the in-built $q service. It executes asynchronous functions by registering them with the promise object.
Deferred helps to con
Sometimes we want to sort a List based on some property. Suppose we have a List of UserModel and we want to sort List by firstName then we can do that easily by using Collections.sort() and Comparator interface.
Example: In the below example I'm
To send the email using the CakeEmail we first need to configure the smtp configuration that is in the Config/email.php.
public $smtp = array(
'transport' => 'Smtp',
'from' => array('youremailaddress@abcd.com' => 'My Site'),
'host' =
By Using the following code you can integrate the Google Maps SDK in your iOS project.
First we will write the function which results the array of related nearby places.
-(void) searchLocation:(NSString *)locationName{
GMSAutocompleteFilter *f
Hello Readers! Here is a small blog on how to disable the browser back button. Although it is not advisable to use such tricks in websites as restricting or disabling the browser back button can be annoying for users who might wish to go back to the
