Forgot Password using ajax in wordpress

Hello reader's, In this post we discussed about "Forgot Password using ajax in wordpress". In the below code, forgot password screen appear user fill their email address into the text box and click submit button, after that a new password will...

Use of Network Address Translator

Network Address Translater In office and in places where we have multiple systems sharing the same internet connection single IP Internet Protocol is used for it assigned by the ISP Internet Service Provider. But how is it possible to use s...

What is the use of jQuery.data method in jquery?

Hello Readers, jquery.data() method or we call it as $.data is the jquery method and it is used in this DOM element associate with the data and the JavaScript objects. And, this method is used to make the jquery code clear and concise. Synt...

slice() method in JavaScript String

JavaScript String slice() method : The slice() method is used to extract the sub-string. The index is starts from 0. To return the string from last position use negative index. Syntax of slice() method : string.slice(start,end) start...

Launching EC2 instance in amazon

Launching a new instance on amazon ec2 Hi Friends, Today I am going to tell you step by step how to setup amazon ec2 server. After completing sign-up in to amazon from http://aws.amazon.com. You will be redirected to a home screen of the am...

Cut Video File into a Smaller Clip using FFmpeg command

Hello Readers, If you need to cut a video clip from a video, just now you can use FFmpeg application command for the same task to cut a small video clip from a video. You must copy the image in the bin folder. Then execute this com...

Error when migrating from OpenERP-7 to Odoo-9

Hi Friends, Please help me with the Problem, I want to migrate from OpenERP-7 to Odoo-9 and while doing so I got an error. Error is below . File "/home/shiva/WORKSPACE9/OPENERP-9/openerp/addons/rent/rent.py", in get_totals prices = ta...

What is the difference between find() and children() methods in jquery?

Hello Readers, difference between find() and children() methods in jquery : Both find() and childern() are jquery methods. find() method is used to search the more then one level down the tree (DOM tree) while children() method is uesd ...

html vs text in jquery

Hello Readers, Below is the difference between html() and text() methods in jquery: Both .html() and .text() methods are used in jquery and both are jquery methods. .html() is faster as compared to .text() method in jquery. .html() meth...

How to pass variables and data from PHP to JavaScript ?

Welcome to findnerd, today we are going to discuss How to pass variables and data from PHP to JavaScript. In this blog we demonstrate and describe passing PHP variables containing simple data types to JavaScript. There are actually several ap...

Set Menu locatin in wordpress

Hello reader's, In this post we discussed about "How to set Menu location in wordpress". You can use the below code for creating menu and set their location, when you import data file in xml. You can put this code into functions.php file ...

Pictorial Representation of basic Git flow

Modify files in the working directory. gedit test.txt Stage the files, adding snapshots of them to your staging area. git add -U Commit, takes the files as they are in the staging area and stores that snapshot permanently to th...

How to scroll to a specific element in Appium ?

Many times there is a requirement in the test step to move to a specific link, keyword, etc. So, we have two methods through which we can directly scroll to the desired element. The two methods are as follows: scrollTo(String text) scrollTo...

toUpperCase() method in JavaScript

JavaScript String toUpperCase() method : The toUpperCase() method is used to convert the string to the upper case. It returns the new string as in upper case letters. It doesn't change the original string. Syntax of toUpperCase() method : ...

How to send mail using Codeigniter mail function in php

Hello Reader's! If you are working on PHP framework, Codeigniter then you should learn how to send mail by its functions. CI offers you the best way to configure the email and send the mail and you just have to call it on the place required. ...

How to send attachments in mail using PHP

Hello Reader's! If your mail is contating some attachments then you can use the simplest way to sending the mail with attachments. Lets see the example below:- $email = new PHPMailer(); $email->From = 'you@example.com'; $email->...

OCR in .NET

OCR means Object Character Recognition . It is a technique by which we select a portion of the image as per user need. This process requires getting the dimension of selected screen and converting in an image for use. These are the pre-proc...

Staging changes as multiple commits

Previous Git Blogs 1. Intialize git repostiory 2. First Commit 3. Two tree architecture and Three tree architecture 4. Best basic practices for writing commit messages 5. Viewing the commit logs 6. Git Basic WorkFlow 7. What is HEA...

How to send mail with multiple CC using PHP

Hello Reader's! If you want to send the mail to multiple CC or BCC then you just have to put the emails separated by coma. Lets see the example below:- First create and string with coma separated cc emails:- $cc = 'abc@gmail.com,zye@yahoo.com...

Use of Using keyword while making connections

We always use SqlConnection class for making connections 1 Simple SqlConnection SqlConnection=new SqlConnection() If any exception occurs inside while block it throws exception the connection.close() process will not executed due ...

One2One fields in Odoo-9

There is one field that since v6 and above was deleted and no longer used, ie one2one relations field. If we tried to make it in v6 the error will definitely occurs. OpenERP provides a solution 'combine' to the field many2one but here there is l...

Adding Poster Image to an Audio File using FFmpeg Command

Hello Readers, Usually, we need to add a poster image with audio like with mp3 in your project. You can use FFmpeg application command for the same task to add audio (e.g. audio.mp3) to one "poster" image. You will need -shortest co...

Send HTML email in php

Hello reader's we discussed about "Send HTML email in php". In this code we use Html tags in the " $message " for the better user interface. example: " h1 " tag for heading and " p " tag for paragraph (write a message). Hence You can use all ...

How to create an osv_memory wizard systems in Odoo-9 ?

In osv_memory wizard, just create a normal object, But in place of inheriting from model.model you should it from Inherit from model.model_memory. Methods of wizard are inside the object and if the wizard is complex, You can define workflow on...

How to modify javascript function in point of sale in odoo 9

To modify javascript in Odoo-9 follow the below steps Go to point of sale module ->static file->src->js->screens.js For example you can use the below code in screens.js file. function openerp_pos_screens(instance, module){ //mod...

How to Modifying a report in odoo-9?

To modifying a repor in Odoo-9 follow the below steps one by one: Step-1 First we have to Modify existing reports which will then replace the originals in our OpenERP database, Step-2 create new reports for the selected object. Step-3 sel...

Static Method in PHP

When you declare class method as static then these method can be called without instantiating of the class . When you declare a method or a variable static then we must use static keyword before declare this and when accessing these method or ...

How to make the scheduled call in Odoo-9 ?

To make the scheduled call in Odoo-9 follow the below steps one by one:Step-1 Go to Sales Modules-> Phone Calls->scheduled calls Step-2 Call Summary ->Date->Duration->Responsible ->Administrator Step-3 Sales Team->Sales Dep...

How to make ImageSwitcher in android

In my last blog I have described about how you can create a TextSwitcher. So in continuation of that in this blog I will help you in craeteing a ImageSwitcher. Firtsl of all you shoud know what ImageSwitcher is, ImageSwitcher a class which al...

How to send a key event to the device ?

There are two methods we use to send the key events: sendKeys() sendKeyEvent(int) Every keyboard event is associated with an integer value and we have to pass the integer value in the method to perform the desired action. Suppose if w...

Vibrate Animation to ImageView

To give imageview / button vibrate animation, need to follow these steps. create xml file "vibrate_anim.xml" in anim folder <!--?xml version="1.0" encoding="utf-8"?--> <rotate xmlns:android="http://schemas.android.com/ap...

preg_match_all php functions

Welcome to FindNerd. We are going to discuss the function preg_match_all which will match the substring from the string. It try multiple times for matching pattern. Please have a look. <?php $str = "tird"; preg_match_all('/ti[rte]d/',$st...

Resize the Video File using FFmpeg

Hello Readers, FFmpeg has an extremely effective level filtration system, which usually can be used to completed the various tasks. A lot of them are listed here. You more can be found in the FFmpeg official documentation. In all the follo...

Merge images to make a single image

It is easy to merge different images to make a single image. It is like pasting images to a canvas and taking picture of that canvas. Below I have explained how to do it. -(UIImage*)combineImages:(NSMutableArray *)images{ CGRect frame =...

What is the mysql Constraints?

Welcome to FindNerd, Today we are going to discuss about MySQL Constraints. Firstly let know what is Constraints in MySQL ? Constraints:- Constraints are the utilities that restrict ingression of data into the table if the designated co...

How to use fadeToggle() Method in jQuery ?

Welcome to FindNerd Today we are going to discuss fadeToggle() method in jQuery. Firstly let know what use of fadeToggle() Method ? In fadeToggle() Method if the elements are faded out, fadeToggle() will fade them in and if the elements...

Extreme Programming Planning?

Extreme Programming (XP):- A software development approach which assists better software standard and responsiveness to modify customer requirements. Being a part of agile software approach, it encourage frequent delivery. Development circle/...

How to check/uncheck a checkbox input or radio button?

First of all check if the checkbox is already checked or not. jQuery('#my-checkbox').is(':checked'); If it is not checked then do it checked. jQuery('#my-checkbox').attr('checked','checked'); And if it is already checked then make...

Git Config, Add, Commit, View, Diff summary

Previous Git Blogs 1. Intialize git repostiory 2. First Commit 3. Two tree architecture and Three tree architecture 4. Best basic practices for writing commit messages 5. Viewing the commit logs 6. Git Basic WorkFlow 7. What is HEA...

How to locate elements through UIAutomatorViewer ?

In my previous blog I have explained about Methods to locate elements through Appium. In this I will guide you to locate elements through UIAutomatorViewer. Locating element is one of the difficult task in mobile automation. We can use UIAutom...

Activate the developer mode and Updates, Update Apps List and Apply Scheduled Upgrades in Odoo-9

Step-1 Go to browser. Step-2 Click on Question Mark which is located under your (?) in the top right corner of Odoo. Step-3 Click on about and Updates,Update Apps List and Apply Scheduled Upgrades. Step-4 Click on acti...

How to insert data from CSV file to MYSQL DB using Pentaho

Step 1: Create an Input, drag and drop CSV File Input from Input step into your Transformation. Right click, edit the Input file. Provide File Name, click on Get Fields, then Preview to have a look in your input file. Double check ...

SQL Server Management Data Warehouse (MDW)

Management Data warehouse is a database containing a warehouse of data useful for managing SQL Server. Ensuring the excellent and high performance for all the users and customers is a high priority for Database Administrators. Troubleshooting SQL...

Attaching the page information to URLs

This post will help you to attach the page information to URLs, lets assume that If you want to store a small fragment of information to the URLs in such a way that the information should be available to anyone who is accessing the page. The in...

How to restrict application for Tablets only

Some applications are only made for tablets. So in order to restrict the application to download only in Tablets, we can use supports-screens tag inside the manifest file inside manifest tag. <manifest ... > <supports-screens an...

Remove 'provision' from selection list when configuring Cash Flow Codes in OpenERP(Odoo)

In below example, I have written Python script to remove 'provision' from selection list when configuring Cash Flow Codes . see below python code and use it in .py file : def fields_get(self, cr, uid, fields=None, context=None): res = super...

How to Include only parent level class in Odoo-9

In parent level class we have to go in python file and add some function and script. In below example I have written Python script to Include only parent level class. you can use below python code in .py file : def addMaterialsRecursive(comp...

How to Add followers linked to new partner in OpenERP(Odoo)?

To add followers linked to new partner fields first we have to go in .py file (Python file) After that we have to decide where we want followers linked to new partner fields and then write start to end python code in .py file: for field in fi...

Viewing history and diffs

Previous Git Blogs 1. Intialize git repostiory 2. First Commit 3. Two tree architecture and Three tree architecture 4. Best basic practices for writing commit messages 5. Viewing the commit logs 6. Git Basic WorkFlow 7. What is HEA...

Regular expensions in PHP

Welcome to FindNerd. Today we are going to discuss the pattern making for regular expersions in php. We use the inbuild functions named preg_match and preg_match_all to find the matching one from the string. Before starting using this functions ...
1 176 292