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

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 ...

Fetch data in Laravel Route without a controller

Laravel provide more routing features. In laravel we can fire mysql queries in 'Route' also without any controller or model. For example Route::get('/getData', function() { $fetchData = DB::select('select * from users where id = ?', a...

Methods to locate elements through Appium

Locating element is the basic activity to automate any web application or the mobile application. The action can only be performed on the element once we have located the element successfully. If the element is not located then we get NoSuchEleme...

Extracting Audio only From Video File using FFmpeg command

Hello Readers, FFmpeg is such a command line application tool which provides complete solution for recording, converting as well as streaming video and audio. It is a good command line application tool which convert a video file format in ...

Get both text and value of selected option in a dropdown in Asp.Net MVC

How to get both text and value of selected option in a dropdown in Asp.Net MVC? While working in a MVC project, I got a requirement where I needed both Value as well as Text of the selected option in the Dropdown. The solution that ...

DROP Statement

DROP Statement: With the help of drop statement we can easily delete a table or a database and it is a DML(Data Manipulation Language) command. Syntax to drop a table: DROP table tablename; Example: DROP table Employee; It ...

Compression and Decompression in SQL Server 2016

In the upcoming version of SQL 2016 a new component of COMPRESS and DECOMPRESS T-SQL functions is added. SQL Server 2016 provides built in functions for compression and decompression.The COMPRESS and DECOMPRESS functions can store and retrieve da...

Updating a file and adding it to repository

Previous Git Blogs Intialize git repostiory First Commit Two tree architecture and Three tree architecture Best basic practices for writing commit messages Viewing the commit logs Git Basic WorkFlow What is HEAD pointer in GIT Git...

How to create joomla user password using php

To generate password in joomla first need to import JUserHelper which defines in libraries/joomla/user/helper.php. jimport( 'joomla.user.helper' ); $salt = JUserHelper::genRandomPassword(32); $crypt = JUserHelper::getCryptedPassword("mypa...

How to get a category in wordpress

Hello reader's, we discussed about "How to get a category in wordpress". In the below code gallery is the custom post type. For this you can create a taxonomy-gallery-category.php file. You can put the below code into this file. <?php...

Installing JAVA (open-jdk) in LINUX using TERMINAL simple steps.

The simplest and the easyest way to install anything on Linux is throught Terminal 1. Open terminal using ALT+CTRL+T 2. Type command shown below: sudo apt-get install openjdk-7-jdk Note: in : openjdk-7-jdk, 7 is for demonstration, you can c...

How to get child of Category(Parent Child relation)

Hello reader's today we discussed about "How to get child of Category". In Wordpress, if we create a category and their sub category and we want to call category and their sub-category. In Programming language we called it Parent Child relatio...

Check username availability on keypress using jquery

Username or email availability or any other types of availability check we can do in this way. When user type on a text box an ajax request has made and check what if its available or not. we only required jquery.js HTML <input type='te...

Viewing history

Previous Git Blogs Intialize git repostiory First Commit Two tree architecture and Three tree architecture Best basic practices for writing commit messages Viewing the commit logs Git Basic WorkFlow What is HEAD pointer in GIT Git...

Custom Exceptions in Java

An exception is any problem that occurs during the execution of a program and disrupts the normal flow of the programs instructions.In basic terms, when a condition occurs, in which it is not sure how to proceed in an ordinary way it creates an e...

Table in HTML

With the help of HTML table, we can arrange the data in a proper format. HTML table consist of rows and columns.we use various tags for creating HTML table. Tags used for creating HTML table:- Table :- This is the very first tag for creati...

How to pass data from controller to view in laravel

You can pass data from laravel controller to view by using 'with' keyword $userDetails=array('name'=>'abc','mobile'=>'768576565'); return View::make('profile')->with('userDetails', $userDetails); you can send multiple argument b...

html link

How can you create image as a link in html. You can make an image as an link as through following coding.This make your link more eye-catchy and you can also make logo as link thus making your page more effective. <a href="default.asp"&g...
1 159 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: