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 use AFNetworking to make a server call in iOS
Hi Reader’s,
This blog is to use AFNetworking to make a server call with the help of API. Here we are using an API which includes GIF images and other related data. So below is the code used to get response from server. Before ...
How to create a partial view in Asp.net MVC
This blog illustrate how to create a partial view in Asp.net MVC by using below steps:
Create a model class for partial view
using System;
using System.Collections.Generic;
using System.Linq;
using Syste...
Rails Testing with Cucumber
Rails Testing with Cucumber
Hi Friends,
In my previous blog Testing In Rails: Introduction and Creating Test Data, I had given you a brief idea about testing and later we talked about how we can test rails models and controllers. Here ...
Move Comment Field to Bottom inWordPress
In this blog i am going to explain why comment field of comment form in wordpress 4.4 and above version comes on the top whereas other fields come on the bottom and how to make comment field to come on the bottom and other fields on the top. ...
Ruby Length vs Size vs Count method
Ruby provides us three methods to interact with Array, Hashes or Objects.
Length
Size
Count
Lets takes a simple array to explain the difference between these methods
array1 = [A, B, C, D, E]
&nbs...
Basics of LocalBroadcastManager
If you want to send broadcasts within your application, LocalBroadcastManager is a more suitable option than sending global broadcast as:
1. The broadcasts sent by LocalBroadCastmanager can only be recieved inside the application s...
WPF Triggers
Introduction :
A WPF trigger changes one or more properties of a control in response to an action when a pre-defined condition is met. For example, we can use a Trigger on IsMouseOver event to change the font of the control. Triggers allow y...
How to get longitude and latitude from address in Google map?
In the below example blog I have Implemented a Google map to get lat and long from address, In Google map I have added search address functionality. When user input address(place) name in an EditText and on clicking button, the application draws ...
A simple Reactjs Counter Application in asp.net MVC
ReactJs is a facebook library which is developed to handle views for the web and mobile applications. To implement React in your Asp.net MVC application, first, user need to add the ReactJs references in your application.
As I am cre...
Android convert Text to Speech using TextToSpeech engine.
In this tutorial, we will know that how to convert a text into speech. Android has a predefined convert engine called TextToSpeech which converts text words in speech.
You can use this feature in many application such as a dictionary applicati...
.Net :Lambda expression
.Net :Lambda expression
Lambda expression was introduced in C# 3.0 and .Net framework 3.5. The Lambda expressions are the easiest and shortest way of writing anonymous methods.
Lambda Expression have some special syntax represente...
Few Important Documents For Any Software Testing
There are many types of documents which are utilized at the time of any software testing. These testing documents are normally created both the time ie ahead of software testing and throughout the software testing. These testing documents are ver...
How to write basic query(find and findById) using node.js and mongoDb?
As in my previous chapter I have explained how we will authenticate using passport module. Now I will explain that how we will write basic query using node.js and mongoDb.
Here are the few query which I will implement step by step:
...
How to send smtp mail in codeigniter?
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to send SMTP mail in codeigniter?
In a web applications sending email is a very common feature.This is used for sending Emails messages,notifications and newsletters.
If...
HTML 5 Drag and Drop
Drag and Drop feature allows a user to catch an element and drag it to any page or drop to some other location of the page. Earlier to use the feature of drag and drop programmer either has to create more complex javascript programming or use som...
Passing data using NSNotificationCenter
There are different ways for passing data between controllers in Objective-C. In this example we are going to use NSNotificationCenter for passing data from one view controller to another view controller. NSNotificationCenter is generally used to...
Returns the default price unity in Odoo/OpenERP
In res.partner method we can returns the default price unity on run time and we can access the default price unity in Odoo server. For example you can see below code.
from openerp import api
from openerp.osv import osv, fields
from openerp...
Reflect the change on accounts in Odoo/OpenERP
In accounts method we can reflect the change on accounts on run time and we can access the account method in Odoo server. For example you can see below code.
from openerp import fields, models, api, _
from datetime import timedelta
cla...
How to make animated flipping menus using css3?
hello Readers , here is a simple blog on animated flipping menus using css3. I have created simple animated menus by using transition and rotate property of css3. In this I have created an unordered list of menus , on mouse hover on a...
Changing font-size using jquery
In this tutorial I am going to explain how to change the font size of text content in a paragraph dynamically using jquery. We can change the font-size using jQuery css() function.When page will load font-size will be 14px .When us...
What is custom post type and how to create custom post type
Different kind of content is hold by wordpress. From that content a single item is known as post, in spite of the fact that post is also post type in a particular place all the post are placed i.e. it resides in the wp_post data table, by post_ty...
Media Player Android Basics
A newbie in Android development comes across Media player usage in his/her project. So in this blog, I am here to tell you the basic of media player. One can use android inbuilt media player or can customize media player according to the nee...
Open Date picker on textField begin editing in Swift
To open a date picker in textFieldShouldBeginEditing we can use the inpuView property of the textField.
To open a datePicker when text Field start editing we can follow these steps.
1- On your View Controller add a view that contains the our ...
Ranges in Ruby
In modern programming world, ruby is so much popular because of its easability and general purpose syntaxes. Ranges are yet another example of that feature. They store the start and end of a sequence and rest are assumed to be inside them. Ranges...
How to use strlen() function in PHP?
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use strlen() function in PHP?
If you want to get the length of your string word then you should use the strlen() function.
This function is used for getting the lengt...
Error: E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Sometimes while using apt-get command to install some packages, we come across an error like:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dp...
HTML5 Audio element events
In the previous post HTML5 Audio element methods i have explained about the HTML5 <audio> methods. In this blog i will further explained the different events associated with the audio element.
Commonly used audio events are:
1. loada...
How to amount residual in account module in OpenERP(Odoo-8)?
In OpenERP first we create custom module and module name is account_demo and then create four file like as __init__.py, __openerp__.py, account_demo.py, account_demo.xml file in your module and create function and function name like accoutss_resi...
How to change product id in your account module in OpenERP(Odoo-8)?
In OpenERP, create a custom module like: demo and then create file like: demo.py file in your demo module and demo.py file pass in your other file __init__.py file. And then create other file demo.xml file and pass this file in your other file li...
Aniamted SVG triangles
Hello reader's today we will discuss about SVG. SVG is a scalable vector graphics in which we can make a graphic for the web. In HTML5 <svg> element is used for the container of svg graphic. SVG is used by several method such as paths, ...
onchange quantity sequence in account module in OpenERP(Odoo-8)
In OpenERP first, we will manage all file and create module and then inherits to the account.invoice object in your .py file.
Follow these step given below
Step1- First, we create custom module like as a test module and put this test m...
6 Amazing Social Media Practices to Boost SEO Business
Are you interested in the ways by which social media and social media practices can assist in higher search engines ranking?
&n...
Blend modes in CSS3
Hello reader's in this blog we will discuss about the blend modes in CSS3, by the use of blend mode you can create some artistic look to images and text for the websites without using photoshop you can modify the images.
With CSS3 blend ...
HTML5 Audio element methods
In the previous post HTML5 Audio element and its attributes i have explained about the HTML5 <audio> elements and its attributed. In this blog i will further explained the different methods associated with the audio element.
Methods :
...
Social Icons With Hover Effect Using CSS
Hello readers , In today's blog we will discuss about the Social Icons .
As we all are linked to the social media which help us to communicate over a vast social network and we can even share video, images, documents, file etc ov...
How to create flip effect horizontally and vertically to show images and text?
Hello Readers , here is a simple blog on flipping effect horizontally and vertically using jquery flip() method on mouse hover. On mouse hover image will flip and we will see some text in a div having background color. ...
Android Star Rating
This tutorial will guide you to implement Rating Bar View in android in an application with a simple example. Follow some below steps to get RatingBar functionality in android.
Step 1: Introduction
Sometimes we need to give RatingBar View t...
How to add marker with Infowindow in google map?
In the below example code I have described to add a marker with Infowindow. Here I have used array list for adding marker items, then I have created plotMarkers method, in this method, it will addMarker by passing MarkerOptions as a paramet...
Testing In Rails: Functional Testing For Controllers
Testing In Rails: Functional Testing For Controllers
Hi Guys,
In my previous two blogs Testing In Rails: Introduction and Creating Test Data and Testing In Rails: Unit Testing In Models, I talked about the introduction and usage of ...
Adding Toolbar above keyboard
Hello Readers,
To add a toolbar above the keyboard we may use the following code snippet.
We will create a toolbar with the needed items and set as the input accessory View of the keyboard. In the below code we have added a done button on t...
How many tables a default WordPress will have?
When you start working in the database you have to mention your database name ,User name, Password, Database host and your table prefix the WordPress site has 12 tables in the database including the users table the user doesn't create t...
How to save and fetch record from NSUserDefault in iOS?
Hi Readers,
This blog includes the concept of NSUserDefault which is used to store a small amount of data in it. Now the question arises if we already have SQLite database to store data then why do we need NSUserDefault?
The answer is other...
HTML5 Audio element and its attributes
Earlier in order to play an audio file in browser Flash was used. But with HTML5 audio element we can play the audio files without the need of the flash.
It supports formats like:
mp3
ogg
wav
The syntax of <audio> element ...
How to convert NSData to UIImage in iOS
Hi Readers,
This blog includes the concept of converting NSData to UIImage with the help of a very simple example. Given below is the screenshot and code which is used to convert NSData to UIImage on button click. Snapshot of storyboard is g...
UIActionSheet in objective c
We can show the action sheet by using following code. In the below code we displayed the action sheet on button action.
- (IBAction)actionSheetButtonAction:(id)sender {
UIAlertController *obj1=[UIAlertController alertControlle...
Reading setting in Wordpress
In WordPress, there is a Reading setting option in WordPress dashboard which is inside setting option. We can use this Reading setting for controlling Reading experience in WordPress. Reading setting is utilized to set the substance which i...
Sbiling in jquery with demo
It returns all the sibling elements of the element that you have selected.
It allows you to go through the siblings of the matched elements in the DOM tree and creates a new jQuery object from the matching elements.
Lets see how it works:
...
Active Inactive button in cakephp using ajax
Suppose we have a table name player and in player table we have field like id , image,player_name, status, etc. Suppose data inside fields are id=1, name=ram, image=abcd.jpg and status=0, Now we want to change status to 1, and again we have...
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...