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

Search In

Get all routes, Laravel 4

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

How to set a default attribute value for a Laravel / Eloquent model?

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

How can I get the session ID in Laravel?

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

Add any character to String on a particular location

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

Add element to Array in parse.com Android

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

How to change Font size of a UI Segmented Control in IOS?

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

HOW TO CHECK IF AN INTERNET CONNECTION EXISTS ON iOS DEVICE

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

How to open remote server folder using python?

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'

How to use search function in OpenERP(Odoo)?

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')

How to Install Sublime Text on Ubuntu

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

1 271 720
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: