
Search In
This is one of the important point which is not available on even stackoverflow. I want that by using one controller we at the moment which will handle every request that comes to my laravel 4.x application.This is one of the question which we should
Laravel 4.x provide n number of services to solve basic issues. By using Laravel 4.x we will easily set a default attribute for a Laravel/Eloquent model.
To achieve this we have to define value like below example:
Example:
protected $defaults = ar
In some situation we need session id. In Laravel 3 and Laravel 4.x we have predefined function by which we can get session id. In laravel 3 we will get session id:
Laravel 3:
$session_id =_COOKIE["laravel_session"];
Laravel 4.x:
$session_id = S
Sometimes, we need to change some special character on String to fulfill our requirements.
For example, we need to show phone number, i.e, 2001256443 as (200)-125-6443
Now we use the substring method of String to solve it.
We just add String on the
Here I am writing code to add an element to Parse Array.
It is very simple to add values to parse array.
We need to insert using add() or addUnique() instead of put() method.
So for normal column, we use put() method of ParseObject and for array, w
Simply Use following Code & set the "size" field according to your desired font
[[UISegmentedControl appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIFont fontWithName:@"STHeitiSC-Medium" size:13.0], UITextAttribu
Hi Readers,
The most simple way to know that the device is connected to the internet is :
NSURL *scriptUrl = [NSURL URLWithString:@"http://apps.wegenerlabs.com/hi.html"];
NSData *data = [NSData dataWithContentsOfURL:scriptUrl];
if (data)
NSLog(@"De
If you want to open remote server folder using python in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: →
def copy_folder(src, dest):
if not os.access(dest, os.W_OK):
return(False)
cmd = ['xcopy'
In search function returns directly a RecordSet.
In below code i have explain search function.
def LinkedIn_check_similar_partner(self, cr, uid, LinkedIn_datas, context=None):
res = []
res_partner = self.pool.get('res.partner')
Sublime Text can be installed either via the ubuntu software center or via the teminal by downloading it from the repository.
Here i am going to tell you how to download Sublime text 3 from a terminal.
1> We can install Sublime Text Editor via
