
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
Angular $q,promises and deferred.
Promises are logics that are executed after any function is completed. In AngularJS, promises are provided by the in-built $q service. It executes asynchronous functions by registering them with the promise object.
Deferred helps ...
Program of Autoboxing where boxing beats varargs.
varargs
varangs is variable arguments. varangs as name suggest allows a method to have 0 or mutiple argument.
Autoboxing
Autoboxing is converting primitive data type into it's equivalent wrapper type class automatically in Java....
How to create cycle Image animation function in android
In the below example I have created cycle animation function. Here I have added Button and ImageView in actvity_main.xml layout then I have created new directory (anim). In anim directory I have created cycle.xml layout and In MainActivity I have...
Sorting an Array ios
Hello Readers,
To sort an array in ios you may use the following code snippet:
// Name of the key on basis of which you want to sort
NSSortDescriptor *dateDescriptor = [NSSortDescriptor
sor...
How To Import Excel files into MySQL with PHP
Hellow Reader's ! In This Blog we are going to import excel file into MySql table using PHP. If you have Excel files that need to be imported into MySQL, you can import them easily with PHP. First you need to download Excel reader File. In th...
Program of Autoboxing where widening beats varargs
Widening
Widening in Java can be defined as converting a variable of a particular type into wider type. E.g: short is converted int primitive type.
varargs
varangs is variable arguments. varangs as name suggest allows a method ...
Program of Autoboxing where widening beats boxing.
Autoboxing
Autoboxing is converts primitive data type into it's equivalent wrapper type class automatically in Java. E.g: int primitive type is converted to Integer Wrapper class in autoboxing.
Widening
Widening in Java can be define...
Autoboxing and Unboxing in Java
Autoboxing
Autoboxing is a feature introduced in Java 5 and can be defined as converting primitive data type into it's equivalent wrapper type automatically. In Java,for every primitive type there is a corresponding class of reference...
How to add, remove and check the class using angularJS
We can add, remove or check classes through our angular code:
The following is the syntax for adding a class and the corresponding CSS related to that class:
HTML:
<div ng-app="addRemove" ng-controller="myCtrl"&g...
IllustratorCC : Touch Type Tool
Hey Guys!!
Here I want to talk about a new feature in Adobe Illustrator CC, which is new but a great & very much handy tool & its called the "Touch Type Tool".
Using this tool you can easily select a character from a lin...
How can used volley library & volley methods in android app
In the below example I have created simple demo app used with volley library. First I have added volley support library in build.gradle file, Then I have added Button and Listview in activity_main.xml. I have created a new list_view.xml layout an...
how to snap in Max 2016?
Hi all !!!
I stuck into problem in 3ds Max. When i turn snapping on. my object is snapping with all orientations.
i am not able to snap an object or vertex in a single orientation.
another example:-
if i have two boxes in 3d world and...
String Function in PHP
String Functions
String functions are the part of core PHP. These are used to manipulate string data. Following are some commonly used string functions used in PHP. These are:
addslashes : Adds slashes to specified char...
How user clicks the selection's icon in the web client in OpenERP
In OpenERP for clicking the selection's icon in the web client, first create the users and check all rights of the users and than click the selection icon in web client and compose a default action for the model in the user's selecti...
How to create wizard resource and return the action in OpenERP
In OpenERP when creating the wizard resource than the action of form is returned so agian we have to create the users and relate it to wizard resourse and also clicks the init icon in the web client than retrieve translated version of wizard'...
Validating Captcha code using php
Captcha verification includes:
should be a combination of alphanumeric characters.
should be case-sensitive
fresh captcha is to be displayed whenever a webpage is refreshed.
should be refreshed when user enters incorrect value.
&...
No Root Firewall Application Using Virtual Private Network (VPN)
I need an android app developer with java and native code experience using C or C++ to create a NoRootFirewall app. This app will support devices between API 15 and 23. The app will be able to filter data access to every system/installed applicat...
Use Your Talents
We often hear people talk about how they wanted to be ready to improve, be more innovative, or have certain abilities that another person has. Rather than envy the talents of others, it would be significantly more useful on the off chance that so...
True Leadership - Distinct Qualities
Ever pondered what's that something unique that makes a leader stand out amongst thousands around? Why do people feel polarized by that spirit who you feel bound to call a leader? What's that moxy/charisma such an identity holds which kee...
Seven Steps To Success
The key to financial and self satisfaction in life is embedded in a seven lettered word: SUCCESS. This must be accomplished by consciously developing and fitting these seven principles of success. These components of success highlighted in this a...
How to give border color to UIButton in objc and Swift.
To give border color to UIButton :-
1. Take UIButton as property .
2. Give corner radius and corner width to UIButton.
3. Now give border color to UIButton.
For Swift use :-
demoButton.backgroundColor = UIColor.clearColor()
demo...
Object Cloning
Object Cloning:
Cloning means to create exact copy of an existing object. To clone a object we have to implement java.lang.Cloneable interface by that class whose object will be cloned. clone() method is defined in Object class.
Examp...
How to check Project web app settings using PSI in SharePoint
Whenever we create new site in SharePoint site collections its default settings is "SharePoint Permission Mode". But to create Groups, Categories, Security Templates,User Sync Settings,Delegates and so on we require "Project Permis...
Apply mutations on the user's saved selection and report back to the client in OpenERP
In OpenERp we first create report of the client and apply mutations on the user's saved selection of the search domain to be processed. The domain is only processed if no ids are present. If both domain and ids are missing, this will lead to ...
What is $rootScope and how is it related with $scope?
$rootscope is the parent of all scopes. Values exposed there will be used in all controllers and templates. It acts as a parent object of all “$scope” angular objects created in a web page.
Now, let us understand how the “$ro...
How to add comment using php & jquery without page refreshing
Hello Reader's!Comments is very useful for your website where users can give there feedback suggestion and discuss problems with us so for that i have decided that to create a comments system in jQuery where page cannot reload but your commen...
How to create anticipate Image animation function in android
In the below example I have created anticipate Image animation function. Here I have added Button and ImageView in actvity_main.xml layout then I have created new directory (anim). In anim directory I have created anticipate.xml layout and In Mai...
How to detect whether the android device has Internet connection or not?
If your android app is dependent on internet then you need to check whether your device is having internet connection or not at the starting of your app, so to check the same copy the code below :-
To know the Network state in your app you nee...
How to configure extra plugins in jmeter ?
There are many times we have to use some features in Jmeter that are not present in Jmeter, so we have to install some additional plugins to use those additional features. These features can be like JSON Path Extractor, AutoStop listener, etc.
...
Difference between Import and Static Import in Java.
Import
To access classes of one package in another package i.e use external classes without package qualification import feature is used.
The classes and interfaces of one package are accessible in another package using impo...
Lazy Loading vs Eager Loading
Hi Team,
Today I will explain Lazy Loading and Eager Loading.
Firstly we will explore Eager Loading.
Eager Loading is the process of loading the related data. We will use Include keyword to load the related data.
Let us take an exampl...
How can used Static JSON Parsing in Android
In the below example I have created Static JSON Parsing program in android. First I have added two TextView within RelativeLayout. In MainActivity I have used JSON object and JSON array JSON object within curly bracket ({) and J...
Type conversion in PHP
To convert variables of one type to another is known as type conversion. There are two types of type conversion:
Implicit type conversion
Explicit type conversion
Implicit type conversion : It automatically converts the da...
Search Engine Optimization Company India | Website Development Company India
I am looking for best SEO service for my website.
Jquery Ajax exapmle in php
Here in this blog i have shown a simple example how to use AJAX to send and retrieve data from a PHP page and then populate the result from a PHP page in a HTML element.
The example here shows when I select a country a request is send to...
Static Import in Java
Static Import
Static import feature was introduced in Java 5. The functionality provided by static import is it allows a class to access static members of another external class directly without qualifying it with the class name as if it ...
Open, Read, Append and Close file
OPEN FILE- fopen()
In php file is opened by the fopen() function. The fopen() contains two parameters. The first parameter of fopen() holds the name of the file to be opened and second parameter indicates the mode in which file is ...
How to populate options in select in angularjs with example
The dynamically generated option in the select box with angularjs is done with the following code :
We can populate the options inside the select box and on selecting any value from the select box it reflect to some event. It will sh...
How to resolve error "PJClientCallableException: WSSWebAlreadyExists" in SharePoint 2013
A new method is introduced in CSOM is CreateProjectSite()
When we try create to create Project Site using this method, sometimes we get this error "PJClientCallableException: WSSWebAlreadyExists" which means the project site we try to ...
How to Convert Currency in PHP with Google?
Hello Reader's! In this blog i m going to show how you can convert currency using PHP, first u need to create index page where u can define field for conversion..
index.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://...
To display the server time in the input box with the help of ajax
Here we are making two simple text box one for the name which is filled by the user and the other is the input box for the time which is automatically called with the help of jQuery-ajax. First of all we make a simple form with two input fields o...
How to sort column by clicking on column header iin PHP
Below code will gives us a table on which when we first time click the headers of column, it display data in ascending order. if we click the header second time than it display values in descending order.
<?php...
How to create Opens Wiki Page of Group in OpenERP
In OpenERP to create opens wiki page first you have to create the current row and than the current user’s ID for security checks. user ID find List of open wiki group’s IDs and also maps the dictionary of open wiki window on giv...
Covariant Return Type in Java
Covariant Return Type in Java
This feature of Java allows overridden methods to have different return types. Before Java 5.0, overriding a method a concept used in inheritance in which subclass can have same method as provided in sup...
Boxing and Unboxing
Hi Team,
Today i will explain Boxing and Unboxing in C#.
C# Type system mainly divided into 3 parts:-
1. Value Type
2. Reference Type
3. Pointer Type
bool,byte,char,decimal,double,float,int,long,short are the value types
stru...
Image slides using ViewPager
To show slides of images, we use ViewPager in android that provided by the support library.
First of all add images that we want to show in drawable folder.
Then create array of these images.
private int[] mResources = {
...
Appending data to a blob
Microsoft has introduced a new blob type, CloudAppendBlob for appending data to an existing azure blob. It has the method AppendFromByteArray which appends data to the tail of existing blob.
We need to use CloudAppendBlob type ...
Retrieving message from an azure queue
In my previous blog, I had explained how to add a message in queue. Now here is the sample code to read the message from a queue
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(RoleEnvironment.GetConfigur...
Printing something without using main method
Printing hello without using main method:
We can use static block to print something without using main method as static block executes as soon as the class is loaded. To ignore exception "System.exit(0);" is used which termina...