
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
How to fetch data from two table in cake php
Suppose we have a table name player having field id, name of player, images, etc having some data .Now we have another table name playergallery having field like id, player_id, images, etc here player_id is foreign key and it is referencing to ta...
Difference between event.stopPropagation(), event.preventDefault() and return false
We have many times have listen about event bubbling in javascript which propogate an event from child element to parent element.
So, to avoid such event bubbling in our page we use event.stopPropogation or return false. Also there is a new thi...
Event bubbling and capturing in javascript
There are two ways of event propagation in HTML DOM, when an event occur in an element with an element:
1. Event bubbling
2. Event capturing
1. Event bubbling : There are many times when we want to handle two or more event handlers at differ...
CSS3 transition with demo
With the help of CSS3 new properties, we can transit an element from one position to another with the help of few properties.
It provide you to control the values of the element property for a particular duration of time.
There are two steps in...
Difference between Graphics tags Canvas and svg tags
HTML5 has tags for graphics like:
1. Canvas
2. SVG
There are certain differences between the two:
1. SVG is resolution independent while canvas is resolution dependent.
2. SVG supports event handlers while canvas doesnot support event hand...
Control Attributes in HTML5
There are certain attributes that add up in HTML5 which makes the form attributes much more interactive and validation free.
There are certain example for control attribute:
1. Read only - This will make the input type in read only mode.
E...
How to get the first class from multiple class of an element using js with demo
There are certain cases when, we want to get the class of a particular element from multiple classes in that element, you can use the following code:
HTML:
<div id="gettingClass" class="firstClass secondClass">Click o the following ...
Difference between window.onload and document ready
There are some minor difference between the two but it can effect with lots of confusion between to many of us.
window.load - It is fired when everything on the page is loaded. By everything I mean that when the DOM is loaded, when all t...
Overview of Flex box CSS3 with demo
It is so called the new layout which is given by CSS3.
It is an improved version of our native block model in which we uses float properties.
It mainly consists of two main thing.
1. Flex container
2. Fex items
1. Flex container - ...
Testing In Rails: Unit Testing In Models
Testing In Rails: Unit Testing In Models
Hi friends,
In my previous blog, Testing In Rails: Introduction and Creating Test Data, I had given you a brief introduction of rails test cases and why they are required. Also I guided you how we can ...
Testing In Rails: Introduction and Creating Test Data
Testing In Rails: Introduction and Creating Test Data
Hi friends,
Even if you write code considering every case in mind there is always a chance that your code contains bugs. So the best way of writing a code that contains least num...
StaticResource and DynamicResource in WPF
In my previous article, we talked about XAML resources that were mainly covered, Whats is the pupose of XAML Resources and Where can be it declare? Now, we will discuss StaticResource and DynamicResource in XAML.
In XAML, Resou...
Error- 443: Network is unreachable while installing RVM
If you are setting up RoR on a system, and while installing RVM you get an error like
curl: (7) Failed to connect to get.rvm.io port 443: Network is unreachable
this is due to mis-configured ipv4 & ipv6.
As you already kn...
Dealing with Files in Ruby
In my previous blog Dealing with Directories in Ruby, I explained you, how we can play with directories in ruby. Today I am going to tell you how we can interact with files by opening them in different modes and performing read/write operations i...
Fake S3 Server For Local Development in Rails
Fake S3 Server For Local Development in Rails
Hi Friends,
Once I was developing an application that includes accessing and saving the data to S3 buckets. But I didn't have any S3 account at that time, So I searched for a thing that can si...
Dealing with Directories in Ruby
Ruby is a rich technology and its integration with system commands makes it much more richer. In Ruby if you want to create, read, delete or change the directory, there is Dir class available for that, which provides multiple methods for dealing ...
Upload Multiple APK with same package name.
Google Play has a feature to publish multiple apk with the same package name and different device configuration. For multiple apk's each apk has different version code and signed with the same certificate.
This feature is useful while your...
Upload files to server using Volley Library as a HTTP multipart request
We have to extend Request class of Volley library to upload files to server.
The steps to include this class is as follows:
Make changes to build.gradle file (Application level)
Add the following codes inside android{.....} are...
How to fetch keys and values of an array
This article provides the details about some PHP functions which are used to fetch keys and values of an array. The article also defines a function which can also used to fetch all values from a single column of a multidimensional array. The deta...
XAML Resources
XAML resources is a object that is a collection of properties. A resource can be reused in different places of WPF application. The example of resources are mainly Styles and Brushes which are used in your WPF application. Resources can be declar...
Testing Cordova In App Purchases on Android and iOS
In this post, you will learn how to test your cordova application with using cordova InAppPurchase. You can test the purchasing with both android and iOS platforms. You need to have android and iOS devices to test it.
Testing on Andr...
Paging in Asp.net MVC
STEP1:
To enable paging in your mvc project,First you need to install PagedList.mvc
Go To Tools=>Select Nuget Package Manager=>then Select Package Manager Console.
See the Screenshot for reference.
You will get a nuget windo...
How to create a PDF file in android?
This tutorial will help you to generate a PDF file in Android. Follow below steps to generate PDF file.
Step 1 :- First download .jar files from following URL and put it into your application's libs folder.
Download URL:- http...
Chapter 3: Authentication using node.js(passport.js) and mongoDb
As we all know authentication plays an important role in every site. Here In this blog I am explaining how we will authenticate our site in node.js as a backend and mongoDb as a database. To authenticate I am using passport.js which will help to ...
Wordpress files and directory structure
Most clients can run their WordPress site while never finding out about WordPress documents or catalogs. Be that as it may, seeing how WordPress stores records and indexes can help you take care of numerous basic WordPress issues all alone.
Th...
How to fetch data from SQLite in iOS?
Hi Readers,
This blog includes the concept of how to fetch data from database after saving the data. You can go through with previous blog if you are not aware about how to save data How to save data in SQLite. Now we will discuss the ...
How to add divider with Icons using css
If you want to add divider between two div or in between your content, then code below will help you:
First we will create the div between the content or we can say that between two paragraph like <p> </p> div <p>&...
How to send data to another server in node.js
I have a situation in which I want to fetch data from another server. In node.js it is possible to send data to another server. For achieving this task we will use http module. To explain this I have written the code below .
Example:
...
A sliding Fullscreen Navigation Menu
Hello, readers . In today's blog I have tried to create A Full Screen Sliding Navigation covering the full screen using Javascript in a direction from left to right.
For creating this I need to make a div with id name as “m...
Getting tweets using latest Twitter Rest API's
Hello, Everyone.
In this blog, I am going to tell you how to use twitter fabric to get tweets in your application. But before going ahead, I am assuming that you have successfully installed fabric in your Android studio and if not, please read...
How to Create a Robots.txt File for Your Website
Definition of ROBOTS.TXT:
A Robots.txt file stops Search Engine crawlers from indexing those web pages which do not add any business value to your website. In other words, it instructs Search Engines bots how to exactly crawl and ind...
How to call and create parent class in account module in OpenERP(Odoo)?
In OpenERP first, we create custom module and then create function in your existing module and pass parameter in function name is MaterialsRecursive.
In below example I have written Python script to Include only parent level class. Like given ...
How to display collection view cells based on screen width dynamically in iOS?
Hi Readers,
In this blog we will get to know how to resize collection view cell dynamically and according to the screensize of iPhone.
Here is a very simple code given below to perform this task in a very easy way. We will use a method insi...
File Structure of CakePHP 3.0
File Structure of CakePHP 3.0
Welcome to FindNerd. Today we are going to discuss the file structure in CakePHP3. If you have worked with previous versions of CakePHP then you will see the changes in cakePHP3 file structure. CakePHP developers ...
How to Increase Website Traffic with Social Media (SMM)
In the recent years, social media websites have made a tremendous growth in the market. Some of them have become tech giants in relatively short period of time than others in the silicon valley. For example, Facebook, WhatsApp, Google+, LinkedIn,...
WPF : Dependency Property
Introduction :
A dependency property is a type of property which extends the CLR property by adding more functionality. The difference between the two is, that while the value of a .NET property is fetched directly from a private m...
CakePHP 3.0 Conventions
CakePHP 3.0 Conventions
Welcome to FindNerd. Today our discussion is based on CakePHP 3 Conventions. Conventions means a way in which something is usually done. In CakePHP 3 there are different set of rules which must be followed. With t...
Bind arraylist to gridview in Asp.net
Gridview is a rich control of asp.net c#,it fetches the data from database and display data in the form of columns and rows(tabular form). There are features for CRUD operations in gridview, User can perform edit,update,delete operations with the...
How to Check Updates on Your Android Phone
In this blog post, I am going to explain how you can check updates of the latest version of the mobile operating system on your Android phone. I will be discussing here two different methods to do the same. This will help us cover a wide ra...
A Toast popup plugin for Cordova apps
Hello Readers,
This plugin allows you to show a little popup in your app. It is great way to show a non interfering notification.
Features :
We can choose the direction where to show the toast (i.e Top, Bottom, Left, Right).
We can ...
How to update fields in text fields in product module OpenERP(Odoo)
In OpenERP first create custom module and inherits the hr module in your existing module.
Follow these step given below
Step1- First create existing module like as test and than create .py file in your own module like as a test.py...
Guide to wordpress dashboard
At whatever point you login to your WordPress site, you are taken to your administrator territory. The principal page you see is your administrator landing page; which shows the WordPress dashboard.
The WordPress dashboard range gives you a ge...
Binding options in selectbox at runtime using Angular js with Demo
Hello Readers,
We will add value of input text field in options of select box on blur event. Whatever we type in input text field it will added to the options of select box on blur event.
To understand the full functionality her...
How to install and use Active Admin as your Admin Panel for Rails Application?
As we know that these days every web application needs an admin panel which allows the owner or the manager of the web application to manage all the data and restrict the accessibility of certain things to certain users.
For that there is a ge...
How to upload a file using Asp.Net MVC and AJAX?
In this blog we illustrate how we can upload a file using ASP.Net MVC and AJAX.
Follow the below steps to upload a file:
Firstly we need to create model which contains the properties such as name, length and type o...
Capybara get css attributes value
While testing an application many times we get some testcases where we have to check the value of CSS attributes. Suppose we have the following cucumber step:
Then(/^The month section should have a grey background$/) do
@page...
Create A 3D Logo In illustrator
In this tutorial you will learn how to make a 3D logo in illustrator. First step is to open the new document. Once the new document window appears name the document then add width and height.
STEP 1
First create a rectan...
How to invoke mails in account module in OpenERP(Odoo)?
In OpenERP first create custom module and inherit the email_template object in your own module. Then create templates in .xml file.
Follow these step given below:
Step1- First, create module like: test and then create .py file lik...
LIVBubbleMenu for iOS
We can create animated and customisable bubble menu for iOS using LIVBubbleMenu. Here is a link from GitHub for the project https://github.com/limitlessvirtual/LIVBubbleMenu-iOS.
In the following example we are going to show bub...
How to add page in wordpress
Step 1:- To begin adding another page to your WordPress site, discover the Pages menu in the WordPress Dashboard menu. Click Add new.
Then page editor get open. Where we have to add description of our page.
S...