In this blog, we will learn about form validation in AngularJS. From Angular 1.3 onwards, ngMessages module has been introduced and we will be using the same for form validation. Before the addition of this module, developers had to make use dire...
STEP 1
Choose file > new. Once the new document window appears, name the document then set width and height. Make sure that your document has large canvas.
STEP 2
By using pen tool draw a cu...
Hello, readers In today's blog , I have tried to create website logo i.e of “FINDNERD” by simply using CSS properties over it.
As looking over the logo first we need to create four circles and setting their position to absolute...
Hello
Today this post will outline the steps to link items and multimedia files. It explains the use of Multimedia attachments perspective in informatica PIM.
The Multimedia attachments perspective is used to link items and m...
Default posts option is not sufficient for customized themes in WordPress. Sometimes users need to create and use their own post type with desired names apart from traditional blog posts.
The following PHP code will ...
In this tutorial, we are going to discuss Bootstrapping in Angular application and also discuss the ng-app directive. When the document is loaded the ng-app directive will bind the Angular js functions with an application. Ng-app is the simplest ...
Hello readers,
This post is about to get Unique Device Id in cordova application. Here is a plugin which provides UUID and does not change when we uninstall the app. Basically, we get new UUID whenever we re-install the app but with this plugi...
Handling Invalid JSON Error in Rails
Hi Friends,
Sometimes by mistake, when we send an incorrect JSON to server, the server is not able of handle the improper JSON so it throws an error, and the client doesn't get any proper error m...
There are many cases where we do not want our page to open in another tab while clicking ctrl+click and the anchor tag is producing dynamically.
For that, we can add the following script which will disable the same effect.
$(funct...
Validating an empty field on submit through JavaScript
As we know in almost all the web applications we have forms which contain text boxes and text fields to input some data and submit it. Sometimes knowingly or unknowingly users can submit t...
This article demonstrates some PHP functions which are used to fill an array with values. The list and details of these functions are given below :
1. array_fill()
array_fill() function is used to fill an array with a specified va...
Hello Readers! In today's blog we discuss about the technique which is in biggest trend on the web for some time now, that is , parallax scrolling! In web design use, parallax is referred as the scrolling technique which is used to create the...
Sometimes we require dynamic height of UICollectionViewcell according to text of our label like this:
To get output like this do following steps.
Go to your storyboard, from "object library" drag a co...
Creating Seamless Pattern
Step 1: Open up your document
Firstly We need to open a new document with size 300px * 300px.
We need to create a rectangle on art board with size as same as artboard size.
Step&n...
In OpenERP first, we create existing module and then creates an object in own module and then creates fields and function in module and relate it to the fields, this fields computes all related records and saves it in a database.
Here computed...
Collection view is used to show data in a grid form. It is similar to table view where we have to implement its data source and delegate methods.
In this example, we will implement collection view.
Drag a UICollectionView to the d...
This blog includes the concept of scanning the bar codes but before proceeding towards the topics we will discuss bar code. A barcode can be defined as an optical machine-readable representation of data relating to the object to which it is attac...
In Django framework first, we create the project in your Django server and add all javascript and CSS and jquery file in your HTML page and then create function.
Follow these step shown below
Step1- First we create a project in your Django&...
QA lead is the right one person who manage the overall quality of any product or software, which is ready to deliver to the client. QA lead assure that the software or product is ready as per the client’s requirements with high quality, bef...
There are many techniques through which we can place an event when the scroller reaches the bottom of the page.
If the user wants to play an event when he reach the bottom of the page, he can do the same with the help of the example below:
...
Encoding.GetString(Byte[]):
Encoding.GetString(Bytes[]) method is use to decode the specified byte of an array to string. This method needs a encoding class to make a encoding object. This encoding object can be a following two class...
I have an app and inside it only one activity (main activity) and layout XML of main activity have only
list view . This app will get restaurants near from my location and display it in list view.
What I need to do is add button to the ma...
Businesses are moving their websites to the cloud as they get far more benefits at lower costs than in the traditional hosting. Cloud hosting is a hosting platform for websites on several virtual servers and they draw their resources from a&...
Hello
Today's post discusses about the relevance of quality of data in PIM and its need for easier identification and categorization of data from different sources.
Data quality checks
Quality of data plays a very important role...
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to Calculate sum and product of all values in the array in php?
Calculate sum and product are very important features when we need calculate sum or product of values stor...
Hi Friends,
In my previous blog Rails Command Line Tools. I discussed about some rails command line tools. Today I am going to tell you about rake command in rails. rake is actually a ruby version of unix's make command. It is also used to...
In Javascript it is possible to pass a function as an argument to another function just like we pass a normal variable to a function.
Suppose i have a requirement that i want to call 2 functions one after the other and the second function has ...
To create a popover view
Go to your storyboard, set a button in view controller(on click of this button we will pop a popover view).
Make an IBAction form this button to your view controller
eg:- (IBAction)popoverBu...
In this article we will learn to create a simple Hello World application using AngularJS framework and ASP.NET MVC.
AngularJS : Introduction
AngularJS is JavaScript framework used for creating single page web applications and is m...
NodeJS is an open source, completely free and javascript based platform built on Google Chrome's JavaScript V8 Engine. In other words we can say that NodeJS is a cross platform which is used to develop server side web application.
Installa...
Rails scaffold can create the models, views, and controllers for a new resource in a single operation.
Scaffold Would create a full CRUD (create, read, update, delete) for a table.
Scaffold auto generate all the codes that rails needs. Later we...
Hii,
In this blog i am going to discuss about scope in Javascript and how we can use it.
Being a JavaScript developer one should have proper knowledge about JavaScript scope.
JavaScript scope specifies objects,function and set of variabl...
It is possible to set number of lines of a label by going to the Attribute Inspector and assigning value 0 to the lines attribute.
In case of Text Field we can use Text View but if we are using UIButton then there is no option for the mu...
1. Create a water droplet
Step 1: Select the basic shape tool and Draw a circle.
Step 2: By using Direct selection tool select the top point of circle and Click convert selected anchor points to corner.
2. Use Mesh to...
Hello,
This blog will help you to change the cursor color of Android EditText View by creating custom XML file under app's drawable folder.
By using following steps you can do it.
Step-1 Create a custom xml file custom_edit_text.xml ...
In OpenERP first, create custom module than inherits the sale menu and pass the view_mode in your menu file, follow these steps show below
Step1- The first step is to create a module i.e test and then create a file test.py and in this file, cr...
My previous article Use of array_intersect() in PHP demonstrates about array_intersect() function which is used to compute the intersection of two or more arrays. array_intersect() returns an array with values of first array which are also presen...
There are many times when we want to restrict our search to a particular section and not on the whole page. This will basically decrease the search time and will also help in uniquely identifying the desired element. Capybara provides within meth...
Hello Guys
Here, I am writing the code for sorting JSONArray in java technology.
we can sort jsonarray in ascending or in descending order according to our requirement by changing pattern as below.
private stat...
We can add animation to view using CABasicAnimation. Here we are adding bounce effect to UIImageView.
The following code will show the bounce effect in the UIImageView at y-axis:-
CGPoint origin = self.imgView.center; // self.imgView i...
Below is the program to demonstrate various method calling conventions followed in C:
using System;
class Program{
public static void Main(){
// ========================= PART I =======================================================...
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to append/add and remove input field in a form with just on a click?
In this blog we will see how to append text input fields in a HTML form using jQuery and proces...
1. SKETCHING
The first step when designing a logo is sketching. It is very important to make your logo effective. This can be done by paper and pencil drawings or you can use different software like illustrator or photoshop.
Image Sourc...
This article demonstrates different methods which are used for stripping or removing white space and other specified characters from the string. The list and details of each methods are given below :
1. trim()
trim() is the most p...
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to get particular column of a multidimensional array using foreach loop in PHP?
Let have an array with full of key values:-
$detailArr=array(
array('name' =...
Many times, the web application goes slow down, after go live on a production server. There may be two reasons - hardware issues where you deployed the application or the CPU and memory usage are high due to not using resources efficiently inside...
Here is a small example of custom search bar
1. Go to storyboard, take TextField place it at below navigation bar (we will type text here to find any string)
2. Set delegate of TextField
Come to ViewController class now
Create I...
Rake is a Ruby task management tool. Like in Unix we have 'make' utility.
So we can say Rake is Ruby Make. It uses a Rakefile and .rake files to create a list of tasks.
We can see all the Rake tasks available in our current directory by...
Hi Readers!
This blog includes the advance topic of Core Data which is relationship between two entities. If you are not familiar with the concept of Core Data you can view the link to understand the Core Data (Part 1). Link include th...