
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
Selenium WebDriver Browser (Navigation) Commands:-
Navigation commands are used to navigate from one web page to another web page that we deal with. Below are some basic Navigation commands which are commonly used while writing the test scripts in Selenium.
1) Navigate To Command - "naviga...
Problem in Connection with Ejabberd server using Smack Api
Hello ! I am having an issue regarding connection with ejabberd server. Image of code for the connection is attached... my domain is http://192.168.x.xx:5280/admin... username on ejabberd server is zeeshan@localhost... When connecting, i used if ...
Reading large files from NSInputstream is not working in ios
I am trying to read large Image file more than 300KB from NSInputStream. But i'm getting only upto 300KB. Other data are missing. Could you please help me if you know. i'm waiting for your valuable answer. I mentioned my code below : Call this re...
Generating Basic View In Odoo
If you want to generating basic view in Odoo follow this below step-
Step-1 Go to .xml file and generating basic view like below code.
<!--?xml version="1.0" encoding="utf-8"?-->
<openerp>
<data>
<record id="ac...
How to read request parameters from velocity template in liferay
Hello guys,
To Read request parameters in which parameters send with liferay page URL (i.e http://192.168.3.10:8080/group/dentalnotebook/patientprofile?patientId=140701) and to read from velocity template in the liferay 6.2.
Below example...
DVM in Android
DVM i.e., Dalvik Virtual Machine is basically a virtual machine for android and specially made for mobile
devices.
DVM was written by Dan Bornstein.
Now a days JVM has improved so much that it provides amazing memory management and better
p...
How to read a page request parameter from portlet in liferay
Hello guys,
Page request parameter in which a parameter send with liferay page URLwill be like i.e
http://192.168.3.10:8080/group/dentalnotebook/patientprofile?patientId=140701
we can read a page request parameter in portlet controll...
ATTACH SQLite Database
Hi,
Sometimes, we have many database and we need to use any one of them.
In this situation we use SQLite ATTACH DATASE statement to choose a specific database.
Syntax of the command:
ATTACH Database YOUR_DATASE_NAME As Alias-Name;
...
How to initialize blank final variable
Blank final variables are those variables that are final but havent initialized at the time of declaration.
So its not possible to initialize it anywhere. Here is the solution.
We can initialize blank final variable only in the constructo...
Comparator Interface in java
Hi,
Here I am writing a simple way to use Comparator interface.
We use Comparator interface to order the objects.
First of all we need to import java.util package.
It have two methods :
Compare(Object o1, Object o2)
equals(Ob...
Static in Java
One of the most important topic that we encounter in java.
We can use static with class name, methods name, variables name and block.
Static keyword mainly used for memory management.
Static variable
Static variable takes memory o...
Setup Aeroo reports on Odoo by Script
Hello Guys,
To install Aeroo Reports and all related dependencies please do the following at a terminal in Ubuntu 14.04:
0. cd/tmp
0. sudo wget https://raw.githubusercontent.com/OdooCommunityWidgets/install-scripts/8.0/aeroo_re...
Spring MVC @RequestParam Usses
For Get request we need to pass parameters as request param along with the url to get the data. In Spring MVC framework, we can customize the URL in order to get data. To read the parameters passed with the URl we use @RequestParam in Spring fram...
Database from VS 2012 to VS 2015
Hello,
I would like to know if is possible to migrate a database from studio 2012 to 2015. I have an app done in the visual studio 2012 and I would like to open it in the 2015 with the db. Please let me know how or post me some links where I can...
Spring MVC @RequestParam vs @PathVariable
@PathVariable:
Sometimes we need to pass parameters along with the url to get the data. In Spring MVC framework, we can customize the URL in order to get data. For this purpose @PathVariable annotation is used in Spring framework. @PathVariabl...
Installing PHP module on Apache2
One can install PHP with apache2 in two ways, either by compiling from source code or from repositories by using a package manager. Both ways are discussed below.
Installing from repositories : This is very simple and straight forward method ...
How to rotate UV's in max at specific angle?
How to rotate UVs at any specific angle like 25 degree or 30 Degree in Unwrap UVW Mode in 3Ds Max ? I am using Max2011.
How to apply effects on multiple files using Photoshop?
I have created an effect in photoshop using layer style and hue saturation. I have 15 PNG files. Is there any automated way in photoshop that in can apply this effect into all png files ?
How to write velocity templete in liferay
Hello guys
I am writing a blog about Velocity, Which is an open source templating technology. Velocity is java technology based template engine.
Here, We will take reference of objects/variable which is defined in Java code with the Veloc...
Installing SSL certificate on apache2
SSL or Secure Socket Layer ascertains that all data passed between the web server and the web browser remain private and secure. It is the standard security technology for engendering an encrypted connection between a web server and a web browser...
Best SEO Strategy and Checklist for a Website
Every website aims at getting higher rank on search result page, but one needs to be well acquainted with SEO tricks and marketing strategies for the same. Missing out on anything or a even a small mistake can drag your website do...
Tutorial to build a website in Odoo
If you want to build a website in Odoo follow the below mentioned steps:-
Step-1 Go to Settings->Modules->install Website Builder Module.
Step-2 Go to website Menu -> Click on Content button.
Step-3 After that edit the Menu a...
How to validate phone number with fix length in liferay
Hi
I need to validate the phone number with fix length.
I am using aui:input tag of alloy script as below :
<aui:input type="text" id="phoneinput" name="phone" value="" label="">
<aui:validator name="maxLength" errorMessage="...
How to check BOOL value of Parse Object in iOS
If you are a beginner in Parse SDK and integrating it for the first time then you may face this little hurdle. While fetching Boolean data from Parse DB we get BOOL value in NSNumber format and we can not check or compare it directly with iOS bo...
How to add different kind of widgets based on array size to existing layout
How to add different kind of widgets based on array size to existing layout (IN existing layout have some static widgets).
MY Requirement is based on API response in the JSON array they will define the type (wheter it is check box, dropdown, e...
Odoo Consulting - Reducing Dependency of Vendors
Larger companies are often seen to opt for Open Source Enterprise Resource Planning commonly referred to as (ERP) because of its customization options and economic viability. To meet the core business needs, a new interface is needs to be created...
Custom message for Location permission alert in iOS
If you are using Location Manager to get user's current location then you have ask Location Permission first. iOS provides you access to user's location if user accepts it. Here is the code :-
Below code will return you location manager object...
How to Create Basic Form View In Odoo
You can create form view in odoo by using below code in .xml file
There are two ways to create a Form View in Odoo.
1. Existing Form
2. Simple Form View.
1- Existing form Here you have to inherit form view and change this form view in...
Animation to DialogFragment in android
Hi,
Here I am adding sliding animation to DialogFragment
First I am adding animation xml in res/anim folder.
Then creating custom style that add to the particular fragmentdialogs's onStart() method.
slidestart.xml
<set xmlns:a...
Get custom field in invoice from purchase order
is there any method to add field in purchase.order.line and get that field in invoice ..??
How to Add Action and Menus in Odoo
To add action and menu in Odoo
Action- There are different types of actions in Odoo:
1- Window: Opening of a new window
2- Report: The printing of a report
3- Custom Report: The personalized reports or RML Report: The XSL:RML reports
...
Composer install vs Composer update
Composer update is used when we want to update all our dependencies. By using Composer update command that will convert all our old version to latest version.
So never use composer update command on production for our existing project because th...
How to match a word in Java?
Sometimes we need to match some words in a particular String. We can do this easily by matches() method of String class.
Example:
package com.demo;
public class TestApps {
/*
*@param args
*/
public static void mai...
Twilio integration with laravel 4.x
We have to follow few steps to integrate twilio with laravel 4.x.
Step 1:
First we have to install package. For this we will add below code on composer.json.
"require": {
"dtisgodsson/twilio": "dev-master"
}
Step 2:
Then ...
How to replace whole word with Word Boundaries in Java?
Sometimes we need to replace whole word with the word boundaries in a string. For this we use "\b" regular expression token which is called a word boundary. It usually matches at the start or the end of a word.
Example: You just need to place ...
Computer Graphics: Different Spaces
To get a 3d model visible on a screen, all of its vertices needs to be transformed through 4-graphic spaces, these are as follows.
Objects space
Objects are created in its own co-ordinate system and position of object vertices are defined...
How to replace Case-Insensitive chars in a String in Java?
Sometimes we need to replace some characters with some other set of characters. To replace a Case-Insensitive chars from string you can use the below example:
package com.demo;
public class TestApps {
/*
*@param args
*/
...
Can't display card verification number in magento admin page
I want to show card verification number in order view in magento.
please help....
Avoid Discrete Polygon Colliders in Spritesheet Animations
Scenario :- I am using a spritesheet with a few frames to run my animations in ImpactJS. As using large number of frames can increase my sheet size.
Basically it is a shot playing animation in which I have applied Polygon collider to the bat wit...
Need Spine Plugin for ImpactJS
I have found this cool plugin (https://github.com/aceangel3k/Spine) for using Spine animations (http://esotericsoftware.com/) in ImpactJS (impactjs.com). But this plugin has a lot of bugs mainly scaling of child bones to parent bones.
Can You...
How to set high velocity in Box2D
I want to throw an object in Box2d by applying a force vector, But it is limited to a certain velocity even if I Apply Force by a very high value? How can I achieve this ? For Ex:- I have to fire a bullet at a very high speed.
var force = new ...
How to access frame numbers in Spine Animations
When using Spine (http://esotericsoftware.com/) JavaScript version. How can I access the frame numbers while the animation is playing as I have to perform some tasks based on them ?
Configuring Web-Client For Tryton-Server
As we know Tryton is a three-tier high-level general purpose computer application platform on top of which is built an Enterprise resource planning (ERP) business solution through a set of Tryton modules.
We will guide you how you can easi...
Play a video from a URL in iPhone SDK
To play a video from a url in iPhone sdk just write down following line of code:
Step 1: Create a MPMoviePlayerViewController object as *moviePlayerController.
Step 2: Create a Url and initialize your movieController with Url.
Step 3: and No...
Editing An App !!!
My query relates to the editing already commercial app in market !!!
If i want to remove some features from the already compiled app in market .is it possible to do so and if yes Please Help me how to do so !!!
Authentication token in liferay
Liferay design a mechanism to more secure the web URLs using the authentication token.
Authentication tokens type:
Their are two types of Authentication tokens in the liferay. one is p_auth "Portal Authentication token" and ...
Automatically move to next edittext in android
Hi,
In android, we have TextWatcher interface to keep track of input that we are typing.
Usually it is very useful when we need verification on the basic of text length and content also.
It has method onTextChanged(CharSequence s, int star...
How to create and modify the attributes of property in JavaScript
This tutorial will help a user to learn how to create a property with specified attribute values or modify the attributes of a property that already exists in JavaScript
1. Creating a property:
// using Object.defineProperty() for cre...
compact() and extract() functions in PHP
PHP provides two functions, extract( ) and compact( ), that convert between arrays and variables.
Both compact() and extract() are Array functions of PHP
compact():
The compact() function is used to create an array from variables and the...
Prevent Adding/Deleting/Modifying properties of an object in JavaScript
This tutorial will help us about the internal property [[Extensible]].This internal property [[Extensible]] of an object in javascript, is used to specify whether properties can be add to an object or not.Before using the internal property [[Exte...