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

Search In

How to speed up your CakePHP Website

Hello Readers, These are some techniques to speed up the cakephp website:- 1. Upgrade versions regularly When you work on cakephp website.You need to upgrade your Cake website to the latest version in order to keep it performing at its best. 2.

How to use array_rand() function php.?

What does array_rand() function in php.? The array_rand() function returns a random key from an array, or it returns an array of random keys if you specify that the function should return more than one key. Syntax of array_rand() function:array_ran

How to import mysql database using command line?

Sometimes when you have large databases files and you are unable to import the database manually. Then the easiest (and fastest) way is to use command line. Import:-- 1. Run the cmd (DOS) and get into the mysql folder, which in my case works like

Laravel 5.0 Creating Download CSV Link

In Laravel, many times we may need to create a link to download sample CSV file. So that user can download sample CSV file from our website and upload correct formatted file. It's a very simple task and to accomplish that we need to follow followin

When to use dup, and when to use clone in Ruby?

Clone copies the exact copy of the original (same address.id) and the dup copy is a new record (address.id = nil). Any changes you will made in the clone copy will be changed the original object, but any changes to the dup copy attributes will remain

How to create category attribute ?

Magento provides a way to add product attribute from admin but sometime we need to add category attribute in our category settings. So here I am going to tell you the way we need to create category attribute programmatically.E.g. I am creating one ag

Create Subdomains on the fly using .htaccess file?

If you are creating subdomains using htaccess for this, you have to set the virtual host Follow the below steps. Step 1: Create a wildcard DNS entry first. *.domain.com. 3600 A 127.0.0.1 Step 2: Now Setup the Virtual Host, in your vhost fil

How to get current location of an android device using Google Location Sevices API.

The Google Location Services API, part of Google Play services, is the preferred way to add location-awareness to an android app. Follow the below steps to get current position of an android device. 1. To use the location manager make the Google pl

Does C support function overloading?

Does C support function overloading? Function overloading is a feature available in most Object Oriented Languages such as C++ and Java. But C (not Object Oriented Language) doesn’t support function overloading. Function overloading can be defined

Stored Procedures and Functions in MySQL - Part 2

How to manage stored routines? In the second part of the series we will see basic commands used to manage the Stored Routines As these are also Database objects so the basic DDL commands hold true here also Create Alter Drop CREATE The syntax

1 284 481
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: