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

Accordion Menu using jQuery

Accordion Menu are like the dropdown menu with some effects of animation. It has some top menu and dropdown list inside that menu and some other top menu and another dropdown list inside this menu. When we click on the first top menu the dropd...

Jquery on() method

Hello Readers, on() is the jQuery method and it comes in jQuery 1.7 and it is the replacement of bind() and delegate() handlers methods and it is used to attach event to the currently selected elements and it is a faster way to attach to the e...

How to invoke installed application through appium ?

The first step after the starting the Appium server is to launch or invoke the installed application through the script. First we should set the desired capabilities and then launch the application. DesiredCapabilities capabilites = new Desire...

How to save Appium server logs ?

The logs that are generated on the Appium server gets removed as soon as we close the server. If there is a need to study the logs to find the root cause of any issue then we have to save the logs before closing the server. Appium provides a way ...

Error Code HTTP 451 : Unavailable For Legal Reasons

Nowadays it has become very common for Internet providers to be ordered by courts or governments to partially or completely block access to inappropriate contents on websites.The Internet Engineering Task Force (IETF) has approved a special HTT...

How to cancel all incoming notifications in android programmatically

In this tutorial we are going to disable the Notifications and still receive the messages. When new notification is posted or removed in status bar, NotificationListener Service is called by the Android OS. NotificationListenerService has methods...

jQuery :not() selector

JQuerys :not() selector is used to filter in some cases when we have some selectors. It selects all the elements except the elements that matches the selector. for example, If we have some checkboxes. When we select any checkbox the backgroun...

Reverse the string without array_reverse function

Welcome to FindNerd. Today we are going to tell the way how we can reverse a string without using array_reverse function in php. Please have a look. $string = "FINDNERD"; $count=array_sum(count_chars($string)); for($i=$count -1 ;$i>=0;$...

How Internet Marketing Help Business Organizations to Grow?

As more and more people are now looking to be an entrepreneur with the sole aim to work for their own product or services offered from them. This mindset from the majority of people is t...

Online Marketing Every Business Owner should Know

Marketing is the backbone of every small and big organization. Nowadays big companies are investing and focusing more on Marketing. Without strong marketing, its very hard for a company to survive in the market. Marketing can be defined in dif...

Select all Siblings after a child

In jQuery, to select all siblings div after a child we use a function nextAll(). Syntax: $(element).nextAll(); For example: <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <...

concat() method of JavaScript Array

JavaScript Array concat() method : The concat() method is used to join or combine the two or more arrays. It doesn't change the original array. It return the new array having all the elements of combined arrays. Syntax of array concat() method...

SQL Tutorial -> Sql Select

<-- Chapter 2: SQL Syntax Chapter 3 SQL Select SQL Select : SELECT command describes that through which we can fetch data from MYSQL database tables OR we can say, It is used to retrieve/select data from MYSQL database. SELECT comma...

How make Spelling Checker function in android.

In the below code I have used SpellCheckerListener interface and ovrride its method. Here I have created SpellCheckerListener class to check the spelling errors. See the below code it will clearly described how to make Spelling Checker function. ...

How to get image in product module in openerp

To get small image in product module first inherit the product.product object in product module and add one fields like image_small and write the fucntion _get_image in your own module in openerp. for example you can use the below fucntion in .p...

Recursive Function

A function that call itself is known as *Recursive Function*. Recursive function keeps calling itself. We have to set a condition that will stop it, otherwise it will run infinitely. This condition is known as a base case. Basically, base case te...

What is Fibonacci Series & program for it?

What is Fibonacci Series ? Fibonacci succession arrangement or group of the numbers beginning with zero or one followed by a one, and carry on with rule that number is equivalent to the sum of prior 2 numbers. Fibonacci series is denoted by f...

What is the use of the @ symbol in PHP ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss what is the use of the @ symbol in PHP ? so basically @ symbol is an "Error Control Operators" and it's works only on expressions. In other word we can say that this symbo...

SQL : How to get last N records based on ordering of a specific column in SQL Server ?

Sometimes we may be required to get the get last N records of a table in SQL server based on ordering on a specific column . In this post we will create a query to get the result. First let us create a table which we will use in our query. CR...

How to extract a number from a string in PHP ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to extract a number from a string in PHP ? If you just want to filter the numbers out, the easiest is to use preg_replace() function. It is very simple and easy function ...

Recursive function in cakephp

Recursive in Cakephp is used to set the depth of result when find() methods are used. It retrieves the records associated with model data.Using recursive we can limit the required data. Lets consider an example of recursive by taking an example o...

length property of JavaScript Array

JavaScript Array length property : The length property is used to return the total length of the array. It return the number of elements in array. Syntax of the array length property : to get the array length use following syntax array.leng...

How to use "Where clause with multiple attributes" in ZEND Framework

Hello guys if you are looking to use where clause with multiple attribute in ZEND Framework. Please use the below code for the same:: $databaseObj = Zend_Db_Table::getDefaultAdapter(); $selectQuery = $this->select(); $selectQuery->from...

How to do Practices for Growth in Business Management?

It should not be a news caution to you that business administration expertise, method and procedure, that are beneficial are required components to operate a successful business in the very competitive business marketplace today. There are many i...

SQL : How to reset identity seed after deletion of records in SQL server ?

By using the seed value for every new record Microsoft SQL Server's identity column generates sequential values. In this post we will learn how to reseed an identity column. Following is the command to reset the identity property : DBCC C...

How to use mysql join in Zend Framework

Hello Guys, If you are looking to use MYSQL join in zend framework. Please use the below code for the same: $dbObj = Zend_Db_Table::getDefaultAdapter(); $selectQuery = $this->select(); $selectQuery->setIntegrityCheck(false); $selec...

SQL : How to get column names of a table in SQL Server ?

Often we may be required to get the names of all columns in a table in SQL server. In this post we will see the different options available in SQL server to fetch the column names. 1) We can use the below query to get the column names. SELE...

SQL : How to Delete using INNER JOIN in SQL Server ?

In this post we will see how to use JOIN for deleting data from SQl server table. Let us first create tables which we will use for understanding the deletion process using JOINS. -- Create table1 CREATE TABLE #Table1 (Col1 INT, Col2 VARCHAR(5...

How to use Select query in ZEND Framework

Hello Guys, If you are looking to use "Select" mysql query in ZEND Framework. Please use the below code:: $dbObj = Zend_Db_Table::getDefaultAdapter(); $select = $this->select(); $select->from(array('users'),array('count(user_id) as ...

SQL : How to check if a stored procedure exists before creation?

In this article we will learn how to check if a stored procedure exists before creating it. We can use the below script which will drop the proc if it exists and then recreate it. IF EXISTS (SELECT * FROM sys.objects WHERE type = 'P' AND name...

SQl : How to replace a string in SQL server column ?

We know that the data can be changed inside a field by using update command. In this article I will guide you to replace part of the data without changing the entire data of the field. For this we will use replace command to replace a part of t...

CSS3 Media Queries

Media queries is used to make web page responsive i.e. for mobile phones, tablet. It is based on the capability of the device instead of checking only the device width and height. It can check the following points: Viewport width and heig...

Use of filters in Servlet

Servlet Filter: Servlet Filter is used to filter the unnecessary requests that is received at the servlet end. It is used to perform tasks such as conversion, logging, compression, encryption and decryption, input validation etc. It is call...

Use of Migration library in JQuery

Migrate Library in JQuery While using Jquery you have seen the error $.browser error. This error comes often when we try to use a legacy jquery function in new version of jquery file. The latest version does not support the ol...

How to set session varible in ZEND Framework

Hello Friends, If you are looking to save/fetch session variable in ZEND Framework. Please use the below code: // DEFINE SESSION VARIABLE $sess = new Zend_Session_Namespace('MyNamespace'); $sess->username = "you_name"; // define your v...

Connect to MySQL in PHP

In PHP, To perform any data task in MySQL database , first we have to connect MySql database to local server This can be done as : <?php $servername = "localhost"; $username = "username"; $password = "password"; // Create connectio...

MVC Structure Flow

The MVC structure breaks an application's interface, into three parts: the model, the view, and the controller. It can be mapped with the traditional input, processing & output roles . Input --> Processing --> Output Controlle...

What Are Post Condition And Pre-Condition ?

What Are Post Condition And Pre-condition ? Post-Condition:- This is a group of declarations or a declaration defining the result of an activity if true, when the performance has accomplished own job or task. The Post Condition declaration dem...

How to make SMS sent confirmation program in android

If you want to create sms delivery app you can use my below code. In the below code I have used Intent , PandingIntent and Broadcastreceiver. In the below code I have also used Toast function to deliver SMS notification. See the below example it ...

Log cleaning in magento database for site performance

How to Clean log in Magento for database maintenance & site performance ? Log cleaning gives dramatic improvement in site performance. Manage DB through log cleaning decrease DB size which gives better site performance. There are 2 ways t...

Encryption in SQL

For providing security and privacy we need to store data in encrypted form. In SQL this can be done with series of steps: CREATE TABLE dbo.Employees( EmployeeID int primary key, EmployeeName varchar(50) NULL, n...

Split array up into n-groups of m size?

A very good method i found in ruby so just thought to share it with everyone, so i am writing this blog to share and help others. This particular blog is for splitting up of array into many groups. Lets see this as an example below: 1) arr = (...

What are the ways to Boost Up Your Leadership Power?

A President is a leader of a country. A Father is a leader of a family. You are a leader of your self. It is really true that you are the leader. Want proof? Well, who manage/controls your hands? Who manages your feet? Who manage your mouth? Who ...

Binary search in C++

If you want to find the presence of a element in a given sorted range, then you can use the binary_search function defined in the STL algorithm. The range should be sorted in ascending order to perform binary search. It returns true if el...

Use .pluck If You Only Need a Subset of Model Attributes

If you want few attributes from a table, instead of instantiating a collection of models and then running a .map over them to get the data you need, its very much economical to use .pluck to pull only the attributes you need as a array. There...

URL rewritting in PHP with .htaccess

Hello Guys, If you are looking to change your website URLs on SEO friendly mode URL rewriting with .htaccess file is a good practice to do same. Suppose you want to change your website URL like htttp://www.abc.com/prodDetail.php?prodID=15&am...

How to check your description is valid or invalid in openerp

First install the description module and check weather the description in valid or invalid you can do this on basis of the partner name and company name and user signature and also date in description module in openerp. using below fucntion in ....

SQL Tutorial ->Introduction to SQL

Chapter 1 Introduction to SQL Introduction to SQL : SQL stands for Structured Query Language or we can call it as "sequel" or "S-Q-L" . SQL is a query Language used to accessing and modifying information in a database.There are some common ...

How to make Status bar Notification in Android

If you want to create Status bar Notification you can use my below code. Notification are used to alert users on some events that requires their attention. The NotificationManger is service used to manage Notification. In below code i have also u...

How to check company unique or not in openerp

To configure and check weather the company is single or double in openerp you have to write this function in your own module in .py file, def check&_companyuniq(self, cr, uid, ids, context=None): sr_id = self.search(cr,uid,[],cont...
1 150 269
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: