
Search In
To redirect the log statements to a file instead of console call the following function at the start of function applicationDidFinishLaunching.
- (void)redirectConsoleLogToDocumentFolder
{
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSD
To abort previous ajax request before giving another
var lastXHR;
$("#ccode2").change(function (){
lastXHR && lastXHR.abort && lastXHR.abort();
lastXHR=$.ajax({
type: "POST",
.................//you
Many a times we need to authenticate our users through social media such as facebook, twitter and google+.
Today I will be discussing how to login to the system using Google+ credentials without using any sdk but through javascript.
Using the below
I have tried this code:
require_once('php/lib/nusoap.php');
$client = new nusoap_client('http://210.212.23.51/rtpsappeal/service1.asmx?WSDL',true);
$userKey = "Zxo7654IBN";
$applicationId = '040172192101500191';
$result = $client->call(
The default superuser for PostgreSQL is called postgres. You may need to login as this user first.
Than use this commond in terminal
openerp@ubuntu:/$ sudo su postgres
password: XXXXXXXXXX
Now create PostgreSQL user openerp using the following com
"Different types of JIT Compiler"
JIT (Just In Time) Compiler is used to convert the MSIL code to the Native code, It is of following three types:-
1.Normal JIT:-
Hooks are the functions that we can call before and after doing any task in Models ( database related ). Like after finding data, before saving data etc.
e.g beforeSave(), afterSave(), beforeFind(), afterFind() etc.
<?php
class Classname extends
What is use of strtolower() in php ?
The strtolower() function is used for converting a string to lowercase.
Syntax of strtolower() function:strtolower(string)
string is a compulsory parameter
You can see below example of ucfirst() function in
Definition of ucwords() function
This function is used for converting the first character of each word in a string to uppercase.
Syntax of ucwords() function:ucwords(string)
string is compulsory paramere
You can see below example of ucwords() f
What is use of strtoupper() in php ?
The strtoupper() function is used for converting a string to uppercase.
Syntax of strtoupper() function:strtoupper(string)
string is a compulsory parameter
You can see below example of ucfirst() function in
