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

Return type in PHP

Welcome to Findnerd. Today we are going to discuss the return types in php which is improved in PHP7. In php 7 you can set the data type for the return value of the function. You need to set the declare(strict_types=1) in the file top. <?p...

Javascript Round Function

The Round function return a value towards the nearest integer. Syntax:- Math.round(number) number is any numeric expression. If the fractional portion of number is .5 or greater, the argument is rounded to the next highest integer. ...

Scalar types in php

Welcome to Findnerd. Today we are going to dicuss the strict typing mode and weak typing mode which is introduced in PHP7. strict typing mode is not activated by default. You need to activate it via declare like this declare(strict_type=1); ...

How to create Geo Location coding in android

Geocoding is the process of finding the geographical coordinates of the given location, So if you looking help to create Geo Location function see code example below. Here I have created edit text using place name for users. When User enters any ...

How to create a web service

SOAP:Simple Object Access Protocol defines the request and response message format in a web service. It is XML-based communication format and encoding format for inter-application communication. SOAP is built to use for cross-platform, cross-lang...

PHP Filters

Welcome to Findnerd. We are going to discuss PHP filtering today. We all knows version by version PHP introducing new ways of coding and many improvements. PHP has launched the PHP7. There are many new features added as well as did many improve...

Pre vs. Code

<code> use for inline code it can wrap and <pre> for block code that must not wrap so, new lines and spaces get rendered as new lines.. It is little mystified by the <pre> and <code> tags. If youre not sure which to use...

How to implement autocomplete feature with AJAX in jsp?

Sometimes wee need to call an API or action to get matching list with the provide keyword in Search box, for this we usually implemente autocomplete feature to input field for searching purpose by doing AJAX call. Example: In the below example...

Check the broken image link and replace it with alt text in jQuery

Check if image link is broken in page and replace it with the alt text and open the blank page when user click on it $('img').each(function( ) { $( this ).error(function(){ var img_path = $(this).attr...

How to show ads in your website using Google ad sense

Hello readers , Following are the steps to guide how you can show ads in your site. Step 1 First sign in with google ad sense account using below link https://www.google.com/adsense/start/ Step 2 After sign in with your googl...

Websites speed optimization process.

Following are some steps to increase page loading speed: Step 1: HTML Design Use Div based html design for your website. Table based design will take more loading time as compare to div based design. Step 2: Use External JavaScript and ...

What is optimization?

Optimization is the process to finding an alternative with the most cost effective or highest achievable performance with given constraints. Optimization refers to a positive and intrinsically concept of minimization or maximization to achieve ...

Bootstrap Form

Bootstrap Form Bootstrap provides a predefined form which can be customized according to your requirement.You can design any form with little effort and customization.It helps in saving lots of time and prevents developer from confusion. &l...

Assertions in Odoo

Generally we use qunit assertions for web's test .If any module are not working proper then we use qunit assertions in odoo server.Assertions having following list . 1-async() Instruct QUnit to wait for an asynchronous operation. 2- deepEqu...

How to create BigPictureStyle Notification in Android

To show large-format notifications in android notification bar similar like Flipkart, Mobikwik, Paytm applications. The style of large icon notification bar is called BigPicturestyle Notifications. Mostly the BigPicturestyle Notification is used...

How to writing a test case in Odoo ?

If you want to writing test case, you have to add javascript code in your Odoo manifest files.For example see below code. { 'name': "Demonstration of web/javascript tests", 'category': 'Hidden', 'depends': ['web'], 'test': ...

Creating Closure function in php

In this tutorial we will learn about the closure function in php. Here we will see simple closure using an anonymous function. Example 1: // Create a user $user = "xyz"; // Create a Closure $invoke = function() use($user) { ...

Navbar

Bootstrap Navbar Bootstrap provides an pre-defined navbar which can be customized according to your requirement.Predefined classes are present which helps in saving lots of time and prevent us from confusion,makes it more user friendly.With li...

What is css preprocessor ?

CSS pre-processors have really started to gain in popularity in the last several years. It have been around for a while now. We need a compiler to compile that. It means we can't render directly to pre-processors file (scss ,less, styls). In simp...

What is the difference between eq() and get() methods in jQuery ?

Hello Readers, eq() and get() methods in jQuery: eq() method: eq() method returns the element as a jQuery object. This method constructs a new jQuery object from one element within that set and returns it that (means you can use jquer...

how to parse xml file in android?

If you are looking to parse an xml file in android here are its steps :- Step 1:-Getting XML content by making HTTP request public String getXmlFromUrl(String url) { String xml = null; try { DefaultHttpClient...

What is the difference between parent() and parents() methods in jQuery ?

Hello Readers, parent() : this function travels only one level in the DOM tree. parents() : this function search through the whole DOM tree. For Example : Given the following HTML : <html> <body> <di...

RPC calls in Python

In RPC we have to move on .py file and make script api to rpc call in python side after that move to function fetches the return value of the Python methods, converted to rpc call.For example see below code. session.rpc('/web/dataset/resequenc...

Some functions that are removed in PHP7

Here we will see some of the functions listed below that are removed in PHP7. 1- ASP-style tags ( <%, <%= and %> ), is removed. 2- Script tags "<"script language='php' ">" Note: always use "<"?php ?">". 3-Split func...

What is the difference between $('div') and $('

Hello Readers, $('div') : In jquery this element selects all the div element present on the page. $('< div />') : In jquery this element create the new div element and this div element is not added to DOM tree unless you dont't append...

Calling Odoo models in call() and query() method

call() and query() method are the odoo methods which are used in def function in .py file, it is used to call the value. To call the Odoo server objects we use two primary methods which are call() and query(), for this see the code example bel...

What is the difference between jquery.size() and jquery.length ?

Hello Readers, In jquery both works and gives the same result but now the time in current version of jquery we use the jquery.length because jquery.size is depreciated. Below is the some points about this properties : jquery.size() an...

What are selectors in jQuery and how many types of selectors are there ?

Hello Readers, Jquery selectors is basically a key using with jquery library. Jquery selectors are one of the most important aspects of the jquery library. These jquery selectors are familiar with CSS and use with CSS syntax to allow page easi...

Local SEO Strategies that Every Businessman Should Know

Local SEO is vital if you want add your business to appear in local search results when users make inquiries about products and / or services which your company offers. Improving your position on the results of the search engines will allow you ...

Upgrade Lab module in GNU Health

Hello Guys, Serpent Consulting Services Pvt. Ltd. has extensive experience in the field of ERP implementation and consulting. We present you the module that allows the user to select the Lab to get the lab test done. GNU Health is a health ...

How to Generate all the objects from the templates in openerp

TO Generate all the objects from the templates in wizard follow below given point in openerp 1-param company: It refers company the wizard is running for. 2-param code_digits: It is a number of digits that accounts code should have in the COA ...

How to solve #NUM! error in excel?

Hello friends, Many times while doing a calculation in excel we got stuck with errors such as, #N/A, #REF!, #NAME?, #DIV/0!, #NULL!, #VALUE! or #NUM!. So here in this blog I am picking up #NUM! error and providing you the solution for this,...

How to Recursively load the template objects and create the real objects in openerp

To Recursively load the template objects and create the real objects in openerp show detail given below. 1-param company: company the wizard is running for 2-param code_digits: number of digits the accounts code should have in the COA 3-par...

How to get the last url using Javascript

Hello Reader's! If you are stuck in a condition where you need to redirect old url. Then the quickest way to get previous url is by Javascript. By using the document.referrer function. Let's see the example below:- <script> var oldU...

Different Techniques Used for 3D Modeling

source: webneel.com   The concept of 3D modeling is extensively used nowadays in movies, videogames, architecture, publishing, geology, medical science etc. 3D modeling in simple words can be described as creation of a 3D image...

HttpSessionListener Interface in Servlet

HttpSessionListener in Servlet : We all know that user state is maintained in almost all the web applications like you have seen in shopping websites or banking websites etc. In java we mostly use application server's session handler. But what if...

Subclassing Widget in Odoo

Subclassing widget is most important for Odoo.With the help of subclassing Widget() we can change the standard manner with the extend() method, and provides a number of abstract properties and concrete methods .Subclassing Widget looks like this...

How to change page background on the day time basis using Javascript

Hello Reader's! If you want to change your web background image automatic on the day time basis, i.e. for day it will show pic 1 and in night it will show pic 2 as background. Lets see the full example below:- </bo...

how to remove duplicate key values from an array using Javascript

Hello Reader's, If you have an array having the multiple duplicate key values then by using Javascript you can make them skip. Let's see the example below:- Lets say an array full of duplicate data. var axes2=[1,4,5,2,3,1,2,3,4,5,1,...

How to design a Magzine cover

After designing a number of magazine covers, I realized that it is a work of complete vibrancy & use of colors in an aesthetic way along with a artful finish. Here we'll go through the creative process of designing a fashion magazine cover. ...

How show image on click event using Javascript

Hello Reader's If you want to show image on a click event. Then using javascript you can use this in real time. Let's see the example below:- <button onclick="add_google_logo();">Add Google Logo</button> Now the JS will go li...

How to print current date in html div using Javascript

Hello Reader's If you want to show current date in a html div, Then you can genrate it in JS then show back to html. Here is the example below:- <div id="Console"></div> Now the script will go like this:- window.onload = fu...

Copy to clipboard programatically

Clipboard is just a type of register where you can save some temporary data. you can't store data permanently here so its nice place to store temp data. For this you have to create a edittext from where you will copy text and then you have to...

Generate a random and unique password

Hello readers, today we discuss about "Generate a random, unique password or alphanumeric string" using Php function. function random_string($len) { $key = ''; $keys = array_merge(range(0, 9)); for ($i = 0; $i < $len; $i++)...

Scaffolding in Odoo

Scaffolding is the automated creation of a skeleton structure to simplify bootstrapping (of new modules, in the case of Odoo). While not necessary it avoids the tedium of setting up basic structures and looking up what all starting requirements a...

Searching the files and directories on Ubuntu

Searching files in Ubuntu : Ubuntu is free open source operating system. Ubuntu has both the Graphical User Inerface (GUI) and the command line interface (CLI). In this article we are going to tell you how you can search for files and directories...

Configuration file in Odoo

Most of the command-line options can be specified with a configuration file. Most of the time, they use similar names with the prefix ( - ) removed and other ( - ) are replaced by _ for e.g. --db-template becomes db_template.ote-. Controllers ...

How to create Pending Intent function in android

If you want to create a pending intent function check my below example. Here I have created MainActivity class and MyReciver class to show get data and in this class I have used toast function. Below code will clearly described you how to create ...

Difference between pure virtual function and virtual function in C++

td p { margin-bottom: 0cm; }p { margin-bottom: 0.25cm; line-height: 120%; } Pure virtual function virtua...

Controllers in Odoo

Controllers need to provide extensibility, much like Model, but can't use the same mechanism as the pre-requisites and database with loaded modules. Controllers are provide their own extension mechanism, separate from that of models: Controller...
1 165 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: