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

Item Add To cart

Hi, Can anyone help me for "item add to cart" in my project using php, javascript or ajax.

How to install MySQL on Ubuntu 14.04

How to Install MySQL on Ubuntu: Step 1 - Installing MySQL To install MySQL you need to update the package index on your server and then install the package with apt-get. Write the following commands to install MySQL $ sudo apt-get u...

What are New features in C# 6.0 ?

Here are some features that are available in C# 6.0 -: 1) Auto Property Initialization. 2) Use of Conditional operator to check NULL values. 3) nameof Expressions 4) String Interpolation 5) Exception filters 6) Bodied Methods ...

How to remove any section of webpage before load it in UIWebView

If we want to remove any section from webpage like header or footer than use the following code. In the following code header and footer.footer are the tag identifier of html Class. We have to use the appropriate tag of the control which we...

A Good Team Player's Characteristics

"Individual commitment to a group effort - that is what makes a team work, a company work, a society work, a civilization work." -  Vince Lombardi   To be a good Team Player you have to be following characteristics: &...

Hiding div elements in a responsive layout using bootstrap classes

Hiding div elements in a responsive layout using bootstrap classes: We can easily hide a div block on a particular layout like for extra small devices(mobile) or for tablets or for desktop using bootstrap classes. Classes De...

Creating Collections in Solr

Solr: Apache Solr is a search platform which is developed in Java and can be used for various purposes such as: Using it as a search engine, Can keep your data and use it for querying various things, etc.         &n...

Tips for Successful Project Completion

Project Management, a quite interesting stuff and full of challenges. However, everyone has different view in project management and ways for successful project completion. Here I have jolted down few points for successful project completion :...

How Javascript Cookies works?

Sometimes we need to store session information for different web pages. It is mostly needed for commercial websites where we need to fill up a form through several stages. So to maintain the session information across web pages and to keep track ...

How to resize image using Qimage component in cakephp

For resizing image using Qimage component in cakephp first we have to  download Qimage plugin  after downloading Qimage plugin we have to put it into  App/Controller/Component . Then we have to do all this in our controller. ...

Send appointement request via SMTP.

If you want to send a user friendly appointment request via your SMTP server instead of boring email that we usually do then we can achieve it with the help of  very simple code. Here is code: using System; using System.Collections....

Custom iOS Plugin For Phonegap

Hi All, A Plugin is a program, or a set of one or more functions, written in the objective-c/swift language, that adds a specific set of features or services to the Phonegap app, which can be seamlessly integrated with the Phonegap using acces...

Fetching Latitude and Longitude On Basis Of Address

Hello Friends, In order to fetch the latitude and longitude of a location based on its address,you may use the following code:   double latitude = 0; double longitude = 0; Use the google api along with your address NSStr...

CURL: How to install curl on ubuntu 14.04

I was facing issue to run the following lines of code on php: $url = "http://example.com/"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_PROXYPORT, 3128); ...

Add Suffix To Date

                 Add Suffix To Date Here is a very simple example of adding suffix to the date in iOS .With the help of example given below you can easily add a suffix to the date selected by the NS...

Fetching String of specified length in solr

For fetching a string for a specific value and length, here are 2 ways to do that. First using @Query and another using solr Criteria. In the below code it first searches for the string match and then suing filters we have defined the length o...

Retrieving and Set the data in cakePHP

Retrieve the data from the database. CakePHP come with the functions to get the data from the database. find: It is a multifunctional  function of all model data-retrieval function. It is used under the controller. It is used for...

How to set error_reporting on cake php

Hello Friends, If you are new in cakephp you might face issue like error not display on screen rather than a blank screen appear. To avoid this problem you need to open "/var/www/html/nyxmyx/app/Config/core.php" and set variable as b...

Uncaught exception 'CacheException' with message 'Cache engine "_cake_core_" is not properly configured

Hello Friends, If you are facing this issue " Uncaught exception 'CacheException' with message 'Cacheengine "_cake_core_" is not properly configured." after configuration of cake php project. You need...

How to crop image using Qimage component in cakephp

For cropping image using Qimage component in cakephp first we have to  download Qimage plugin  after downloading Qimage plugin we have to put it into  App/Controller/Component . Then we have to do all this in our controller. ...

Value of a Clients/Customers

  Clients/Customers come and go. This is only one of the ups and downs of owning a business. You know that you may not generally keep the same clients for years. However, as a little business, you will as a rule have a solid base of l...

CakePHP Controller Basic

A Controller in MVC like cakePHP is basically used to manage the logic around a single model. LIke for example if you are working on User model than  you have to have a controller for it name UsersController.php for managing the model. ...

Hibernate Encryption using Jasypt

Hi, There are a lot situation when we keep confidential data into our database. When matter of confidentiality comes, encryption comes first in mind. Today, in this article I will try to explain a beautiful technique to do so. This technique d...

How to redirect url from / slash to without slash / : 301 Redirect

Url with and without / (slash) Url ending with " / " slash and without " / " slash for example http://findnerd.com/ and http://findnerd.com Now the question is does Google take and treats both th...

How to make Custom ViewPager in android

In the below example I have created custom ViewPager in android. Here first I have added TextView and ViewPager in activity_main.xml and In MainActivity I have used MyPagerAdapter class and extends with the PagerAdapter class , In resource i have...

Flash in custom camera android

I am writing the code that we use to implement the flash in custom camera. First, we need Camera.Parameters object that we get from Camersa's getParameters() method. Then by using Camera.Parameters's setFlashMode() method we can spe...

How to make custom Spinner in android

In the below example I have created Custom View spinner. Here first I have created a row.xml layout , In row.xml I have added a TextView and Button. Then I have created drop.xml layout in this I have added two TextView with in LinearLayout, Then ...

Agile Testing With Advantages And Principles

What is Agile Testing ? A software testing exercise which obeys the morals or standards of agile software development is known as the ‘Agile Testing’. Agile is a repetitive development approach. In this approach all the requirement...

Fetching data from databse in cakePHP.

Fetching a data in the form of table from the database can is explained here in this blog, User have to define a function in the controller with the same file name in which user are displaying table using HTML code, for example here it is 'fe...

Check two Linked Lists are Identical or not in C

Program to check two Linked Lists are Identical or not in C. #include<stdio.h> #include<stdlib.h> /* Structure for a linked list node */ struct node { int data; struct node *next; }; /* Returns true if linked lists ...

TempData Vs Session in MVC

TempData TempData provide communication between Controller action and it's corresponding view by transferring and maintaining data. The tempdata is retained not only for current request but also retained in case of redirection. A...

Can we overload the main() method

Overloading Main method: Like any other methods, it is possible to overload the main method also in java. One thing needs to be keep in mind while overloading the main method that it should be called inside some other main method. Lets s...

Method Overloading in Java

METHOD OVERLOADING: Having more than one methods with the same in the same scope. i.e. class is known as method overloading. It is useful in increasing the readability of the program. If a user wants to perform some operation say multiplica...

Cakephp 2.5.4: How to display proper error messages from mysql response

There are conditions when we need to show sql error messages to users such as Duplicate Entries from database. For example in cakephp, if there is duplicacy error from database then it will show following message to the user: "Database...

Cassandra: How To Install Cassandra on Ubuntu 14.04

About Cassandra: Cassandra/ Apache Cassandra is scalable NoSQL database system. It is used to manage large amount of structured, semi-structured and non structured data. I am writing this blog which will help you to install and run a single-node ...

How to check the auto validation kanban state is activated in OpenERP

In OpenERP first we inherit to the rating.rating object and then we create the kanban. if the auto_validation_kanban_state is activated then apply the modification of the kanban state according to the given rating. And then return the action to s...

Forgot Password through parse.com

To reset the password, Parse provide us RequestPasswordResetCallback to requesting a password to reset for an existing user. I implement it using anonymous inner class. So then override the done() method where we can do whatever we want after ...

Pagination in android recyclerview

 Step 1- Defined here  some necessary variable   boolean isLoading=false; -> this variable will use to show progressbar below to recyclerview in your xml file when you scroll your recyclerview list . int mPageSi...

How to remove left margin of Android Toolbar?

The problem that I find when I used toolbar was the default left margin of the toolbar. Basically its left inset, and it is caused by Toolbar's contentInsetStart. left inset of the Toolbar is by default 16dp so we see such margin on the...

Adding multipli core in spring with custom solr repository

Repository take solrtemplate to execute solr operations. Since we have multiple cores so we need to create multiple template and multiple repositories for each core. Following example explains it with 2 solr core Repository and custom imp...

PayPal's library - onActivityResult -ANDROID

Hello, I am an Italian developer, I was trying to implement my PayPal's library within my e-commerce App. I created two test accounts, and it seems to work, but there is a problem. If during the phase of sending money, I deactivate the In...

How to Rank Up Your Blog on Google From 11th Position to Page 1?

  Ranking of a website link for certain set of keywords on search engines like Google depend on some defined set of rules that need to be followed in order to improve the keyword rank and achieve a higher ranking on Google. However, w...

How to get Image Filters in Core Image framework

Hi Readers! Many times we need to check what Core Image filters do we have in iOS framework. Here is a simple code to get all the list of filters with their attributes. This will be easier for you to check and apply any filter on an image.&nbs...

Smart Approach to Test an Application in Shortest Timeframe

  Sometimes Tester needs common sense and smart approach to test the application. Many times it is not possible to test the whole application within the specified time and sometimes the documentation might exist-but not detailed or com...

Differentiate between Component, Behavior, and Helper in Cakephp.

These all extend existing CakePHP functionality so they are almost similar but differ on what they extend from the existing folder. The Component is used here in the controller it will used as a packages of logic and function and these are s...

TempData in asp.net mvc.

TempData in asp.net mvc TempData is a dictionary object derived from TempDataDictionary. TempData provide communication between Controller action and it's corresponding view by tranfering and maintaing data. The tempdata is retained...

Performing live serach using AJAX and PHP

Here in this blog i have used AJAX to search and provide result on the whenever user enter any character in the textbox. The result is coming from a PHP page. Ajax search is used for making the code easy to understand and for saving the users tim...

Different Classes Of Threats

Different Classes Of Threats:- There are so many classes of threats. By this blog i am describing few of them. These threats can be utilized to appropriate the benefit of security vulnerability. These are mentioned as below:-   P...

How to disable back button of the browser using javascrpt

There are many cases where we have to disable the back button of the browser. Here, the following code will help you to make your back button disable. HTML: <body onload="disableBackOnLoad(); "> Now the back button is disabled ...

How to function called by the js in OpenERP

In OpenERP first we will create the function and then create js file.  After this the no Google doc were associated with a record, with the aim to create one then no config is associated with the res_model, and hence it will result a blank t...
1 128 292
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: