Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Login with Google Plus OAuth using Cakephp

In this blog we will be integrating Google Plus OAuth Login functionality using Cakephp. So, let's start with the first foremost step, i.e, creating the Google Apps to get the Google OAuth Client Id and Client Secret Key.   Step 1: Create

How to check metadata of an audio file in iOS

Hi Readers, The below code snippet will give you the meta data of an audio file. You need to add an audio file in Resource Folder. Once that is done use the below code. Let us also understand the code.   - (void)viewDidLoad { [super view

Introduction of Realm (A replacement of SQLite) for Android

Realm is substitute of SQLite and ORM libraries in your Android application. It is a lightweight database that can replace both SQLite and ORM libraries. Installation:-   Step 1: Add the following class path dependency to the project level bui

Combining try, except and finally in Python

An error that occurs during the execution of a computer program is known as exception. Exceptions are known to non-programmers as instances that do not conform to a general rule. The code, which harbours or blink the risk of an exception, is fixed in

How to accessing the Auth Componenet from a view in CakePhp

In CakePHP, you may want to use the Auth component to check if a user is currently logged-in to the system. you cannot access the Auth component from a view. So doing something like this in a view $user = $this->Auth->user This will Generate

Error in SoapFault from Webservice

If requirement is to show the error in SoapFault from Webservice, you can use below code. Just pass the faultMessage to the method and it will return the SoapFault: /** * Soap Fault return in case of error * @ chandan Dec 17, 2015

Push Notification using GCM in Android

For Push Notification using GCM in Android, use the following steps: Create the Google Api Project on Google Console. Note down the project number which will be used as GCM Sender Id. Enable the GCM service by turn on the toggle for Google Cloud Me

How to set the expected payment date in Odoo?

If you want to set the expected payment data in Odoo follow the following code : if vals.get('expected_pay_date') and self.invoice_id: msg = _('New expected payment date: ') + vals['expected_pay_date'] + '.\n' + vals.get('internal_note'

Facebook login using CakePHP

To create a Facebook login using cakephp we need facebook app with appId, apiKey and secret key which are required for facebook login to work. Facebook connect and enables users to authenticate your application instantly with a Facebook Account. Cop

Where to find error logs in PHP

Hello Reader's! If you need to access your error log files in php then using Linux you can browser it as follows:- abhishek@roor /var $ sudo updatedb [sudo] password for abhishek: abhishek@roor /var $ sudo locate error_log /var/log

1 23 160
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: