
Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Range in Odoo
The range function specifies a range of integers:
range(start, stop) - the integers between start (inclusive)
and stop (exclusive)
The third value can be accepted by specifying the change between the values.
range(start, stop, step) -...
Difference between Input and raw_input in python
input : Reads a number from user input.You can assign (store) the result of input into a variable.
Example:
age = input("How old are you? ")
print type(age)
print "Your age is", age
print "You have", 65 - age, "years until r...
How to integrate the Tiny Mice editor
Hello Reader's if you want to integrate the html editor in your form then by using tiny mice you can make the html editing more easy.
Lets see how to integrate the tiny mice editor.
first you have to open the html file and put the two JS CDN ...
Research Tool in Google Docs
The Research tool in Google Docs is an interesting feature which harnesses the power of Google search by allowing you to perform research tasks from within Google Docs.
You can select the Research Tool from Tools menu or use the short cut Ctrl...
How to redirect user with session message in Codeigniter?
Hello Reader's If you want to make user redirect and show him the error message on next page then by using codeigniter you can do by following functions:-
Let's say if user input wrong username/password then you'll redirect user by following c...
How to make validation for date and time using Javascript
Hello Reader's! if you want to make the Date time format validation in your form then you can use Javascript to validate.
Let's see the example below:-
your html will be go like this:-
<form method="POST" action="/javascript/validate-...
How to break array into string in Jquery
PHP Implode convert an array into string in PHP. If you are looking same functionality in jquery, please use below code::
var arrName = ["Saab", "Volvo", "BMW"];
var allname = arrName.join(', ');
alert(allname);
// arrName is a javascr...
How to get all check boxes values in array under Jquery
If you would like to get all selected check boxes value in an array. Please use the below code::
<table class="demo-table">
<tr><td><input type="checkbox" name="select[]" class="ab" value="1"></td></tr>
&l...
What is css gradients ?
Hello All,
Earlier, we have used image for gradients effect but now we will use gradient using css3 and we will see how to use many colors in gradient and only one color in gradient.
Gradients are declared by background-color but according ...
How to implement "Select All" in Jquery
If you would like to implement Select All/UnSelect check-boxes with jquery please follow the below code::
<table class="demo-table">
<tr><td><input type="checkbox" name="selectall" id="selectall">Select All</td>&...
What is Test Driven Development?
Test-driven development is a programming approach is compulsory for you to write real code and automated the test code together. This confirms that you test your codeand permits you to re verify your code fast and easily, since it's automated.
...
How to Create a Group in StumbleUpon and Viral Your Content
Internet marketing is a very diverse field and promoting your content over the internet is the best way if you want to make your product or ...
Laravel Eloquent - Attach vs Sync
Attach and Sync are the two methods which we used in our Laravel Eloquent. We can describe this as follow:
attach():
1) This is used for Insert related models. This method is used when we want to work with many-to-many relations.
2) When w...
SIF API to Generate Match Tokens on Record
Following example illustrate how you can Generate Match Token for record in Base Object using SIF API:
TokenizeRequest request = new TokenizeRequest();
request.setSiperianObjectUid("BASE_OBJECT.MY_BASE_OBJECT"); // Name of the Base Object
Re...
How to send any character in uppercase in Appium ?
Appium provides keycodes for the alphabets only in the lowercase. If we have to send any alphabet in uppercase then we have to send the keycode of that alphabet with the shift keycode. Practically also we first press the shift key and then press ...
How to use INSERT INTO SELECT in SQL
By using INSERT INTO SELECT Statement one can copy data from one table to other existing table.
Syntax:
To copy all the columns from one table to another table:
INSERT INTO table_name1 (SELECT * from table_name);
To copy only the selec...
Get all routes using Laravel 4
I have a situation where I want that every request that comes to my laravel 4 application for this I will use one controller at the moment which should handle every request. For handling this query the solution is as follow:
This is the quest...
How to make a class/method abstract in php
Here we will learn about the abstract classes and methods. When we define a classes as an abstract then we have to follow the below rules:
1- We can not create an object of this abstract class.
2- The class becomes abstract if the class conta...
SIF API to Restore Record in Base Object
Following example illustrate how record in Base Object can be restored using SIF API. Restore SIF API will change the status of HUB_STATE_IND from -1 to 1 i.e. it will restore the record from soft delete.
RestoreRequest request = new RestoreRe...
Use of "Final" keyword in php
This tutorial will help us to see the use of final keyword with a method of a class and a class individually.
Example:
class parentClass {
public function test1() {
echo "This is test1 method of parentClass";
}
final...
What is semantic elements ?
Hello all,
Semantic elements clearly defines its content. It means that elements which are recognize by their name in html for example <hedaer > , <nav> , <footer>. You can say it helps understand what is happening on the pag...
SIF API to delete record from Base Object
If you want to soft delete the record from Base Object you can use following code, please put corresponding values for items on which comment has been written:
DeleteRequest request = new DeleteRequest();
RecordKey recordKey =...
How to create a report for the Session model in Odoo-9
If you want to create report for the session model ,first you have to move on .py file and setup all dependencies module. And For each session, it should display session's name, its start and end, and list the session's time date and unique numbe...
Thin Client
Thin Client
A thin client is a desktop terminal that has no hard drive. All features typically found on the desktop PC, including applications,memory,RAM except of the hard disk.
You have your data at the main server and all the system act...
Using async with ASP.NET MVC 5
ASP.NET has a pool of threads to service incoming requests. Once a new request is received a new thread is picked from the thread pool to service this request and this thread cannot serve any other request until the current request gets complet...
Mysql order by values within IN() function
Hello guys,
Most of time we face the problem order by within IN() values . Mysql provides the function FIELD(), It will sort fetched IN() data according to requirment . The FIELD function returns the position of the first string in the remaining...
SIF API to create entry in Base Object
If requirement is to create entry in Base Object using SIF API you can use following code:
PutRequest request = new PutRequest();
request.setGenerateSourceKey(true);
RecordKey identity = new RecordKey();
ide...
Import & Export Category in Magento
How to import and export category in magento
If you want to add all categories of one project to your new empty project in magento, then You have to download Mage works import- export extension from the Zip File which is given in the end of th...
substr() method in JavaScript String
JavaScript String substr() method : The substr() method is used to extract the sub-string from a string. It counts the index from 0. It returns the number of characters starts from the first parameter upto second parameter if passed. It doesn't m...
How to Print reports in Odoo-9
If any report have a combination of two elements,like below->
1-in reporting all session contain an ir.actions.report.xml, for which a <report> shortcut element is provided, for example code is below-->
<report id="account_inv...
How to create Reading & Writing program in android
Hello'friend's
If you want to create Read and write function you can take help from below example. In below example i have created two buttons and one TextView.
Step(1)-MainActivity-
public class MainActivity extends Activity {
p...
setInterval() method in JavaScript
In javascript sometime you have to perform task repeatedly, in that case setInterval() method can be handy to use.
Syntax:-
setInterval(function,time_in_milliseconds,param);
setInterval accept time in millisecond,
let try an example:...
split() method in JavaScript String
JavaScript String split() method : The split() method breaks the string into array of strings for a given expression. The string breaks from every point where the expression matched. For example if we give the blank expression then it will break...
ASP.NET MVC 5 : New Features
ASP.NET MVC 5 is the a major new release which has introduced new features as below:
1) One ASP.NET
On selecting a New Project from the VS 2013 unlike in previous version we will see one template called ASP.NET Web Application.After ...
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...
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...
