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 add ChildViewController using container view in objc
We can add a ChildViewController using container by following code.
-(void)addChildViewController{
UIStoryboard *sb = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
NSString *strClass = NSStringFromClass([YourChildViewContro...
MongoDB Installation steps for Ubuntu
MongoDB is a free and open source document based DBMS . Use the following command for MongoDB installation:
1) Execute the following command to import the public GPG Key.
sudo apt-key adv --keyserver hkp://keyserver...
before_filter TestCase for ApplicationController using "Unit Test" approach or "test-unit" gem
I am using Browsernizer gem to prevent some browsers version from accessing website and redirect to a static instruction page to upgrade browser version.
So using before_filter method in ApplicationController to detect browser version & re...
Database Auto Backup System in OpenERP/Odoo
Step-1 Go to menu settings->Configuration-> Configuration backup
Step-2 In OpenERP/Odoo Database to enable Auto-Backup system you have to first enable the user to make configurations for the automatic backup of the database...
Guid in C#
Hi friends,
To discuss this topic let's start with some obvious questions and try to answering them with suitable explanation(if needed).
What is Guid in C#?
Guid refers to Global Unique Identifier. It takes 16 bytes space in...
How to read CSV file in asp.net
CSV file contains Comma Separated Values in plain text format. For an example, refer the below screenshot:
To understand this functionality first we will read CSV file by using DataTable and then we will display csv file data in gridview.
...
What is typeof and how to use it in Javascript
In this post, we will discuss about typeof operator in javascript. First we should know what is typeof.
What is typeof:
typeof is an operator that is used to identify the type of any object in javascript. It returns a value that is st...
Cordova Geolocation API and Google API- To get from lat/long value
Cordova Geolocation API and Google API- Getting address, city name, state and country name from latitude/longitude value
Hello Readers,
In this post we will discuss to get the current address, city name, state and country name from latitude...
Active Record Migrations In Rails
Migrations in Rails
Active records provide us with a very useful feature to change or alter our database schema in ruby on rails.
Through these migrations we can make necessary changes to our database and make changes in our tables and rows...
Table View
Table view is one of the most frequent iOS app UI element. In iOS many of the apps utilize tableview to exhibit a list of data. Special features of tableView include headers, footers, rows, and section. It provides a list of options fur...
Traits in Php 5.4
Hello Readers! Here is a small blog on traits. What is trait? What are its uses? Why it is implemented?.. In this blog all these questions will be covered.
A trait, in simple language, is a group of methods that we would include with...
How to open new window from code behind?
In c#, there are different ways to implement the functionality,Here i am going to explain this functionality in the most easiest way. Let's try to understand and then follow the same in visual studio installed in you...
How to check network information in phonegap
If you want to check the network information in your code, here is the plugin that cordova provides to check if the user is online or offline. This plugin gives the information of cellular or wifi connection of the device and it can also check if...
Transition of a div on click event using Jquery with demo
Hello friends,
If you want to make an animation like transition on your multiple views or If you want to slide your view i.e. your DIV element from one to another, you can use the following code.
In this we have all the content in...
How to use LIKE operator in MySQL
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use LIKE operator in MySQL?
Basically, LIKE operator is used for searching for a specified pattern in a column. So in other words we can say that the LIKE operat...
ZoomIn and ZoomOut Animation
Animation is generally used to make user interface more attractive and pleasant.
In android, we can have the animation from many ways.
We call a static function loadAnimation() of the class AnimationUtils. to perform animation in androi...
SweetAlert- Replacement of Javascript's Alert.
Hello Readers,
This blog is about about implementation of sweet alerts in our application.
Sweet alerts are the beautiful replacement of javascript's alerts. They look great on laptop,desktop, mobile and tablet. They are perfect for all...
Best Practices : Asp.Net Application Performance.
Performance tuning of Asp.Net application can be a complex task because multiple components are involved. In the list below we will go through best practices to improve ASP.Net Web application performance.
1) We should disable ViewSt...
Image Zoom Effect Using CSS3
Hello,readers as we all visit various websites we mostly get attractive towards those websites comprising with various animation effects in it.So here in my example i have tried to give zooming effect to the images using CSS3 properties such as t...
Javascript HTML DOM
In Javascript, we can add, delete or edit any HTML element, attributes, values and their corresponding content. DOM stands for Document Object Model that is used in Javascript to represent complete HTML document displayed in web browser.
We ca...
How to check which shopping cart rules are applied to product?
In magento if we need to check, if any shopping cart rule is applied to the product or not.
To do so we can perform it in a test file in our root folder.
lets perform the same, create a file test.php in root folder and write the below code:
...
How to define a global variable
A global variable is a variable which is accessible throughout the program until the program is running. Global variables are generally static variables so that the initial values must be expressed as constants, rather than expressions. Global va...
Understanding UpdatePanel control in ASP.NET
Hi friends, this blog is targeting those readers who are keen to know about a very common method of partial updating specific region in asp.net page without reloading the whole page again and again, it is also meant for targeting readers who are ...
How to rename a file
We have two ways by which we can rename our file
1. Move method
2. MoveTo method
1. Move method
Move method move a specified file to a new location.
Syntax:
public static void Move( string sourceFileName, string destinatio...
How To transfer data from one viewcontroller to another viewcontroller in Tabbar?
If we have to transfer data from one view controller to another then we generally use prepare for segue method but in case of Tabbar do not need to use that method, we can directly send data in following way:
For Example: suppose we ...
Writing data from MySql table to Excel using Java
Hi readers,
If you want to write your MySQL table data to excel sheet. Then by using Apache's POI libraries and MySQL connector you can actually do this. Have a look on the below simple example. It May give you an idea how to proceed....
Ionic Framework - ion-infinite-scroll
Hello Readers,
Today, We will discuss about on of the Ionic Framework directive ion-infinite-scroll.
ion-infinite-scroll directive allows you to load more data when you reach bottom of the page.
Code snippet to understand the functionali...
How to use SmartLock for Passwords in Android
SmartLock for passwords saves your favorites apps and websites accounts authentication to your google account for future use for fast Login.
With SmartLock for passwords you save authentication in Android app may be available on Chrome on Syst...
Parse big data in Cucumber using Doc Strings
There are many times when we have to handle a some large data(multiline text) in our Feature file. If we pass the data in data table then every line inside the data table will be considered as new argument. So, data table will not fulfill our req...
Capybara Optional capture Group and Optional noncapture Group
There are many times in our Feature file when there is a situation where we have to test the positive as well as the negative scenario. The steps are almost same with a little change. Let’s suppose the following scenarios:
Scen...
Concept of protocols in Objective-C
Protocols are another important feature provided by Objective-C language. Basically protocols are used for a particular situation according to the need of a program. Within protocol methods will be declared which are expected to be used for a par...
iCloud
Apple iCloud
With the help of cloud computing technology Apple introduces iCloud storage for Apple devices. It's an online storage space given by apple so that you can save any data or access it. iCloud, is designed to work seamlessly with...
Service Objects in Rails (Refactoring)
"Fat models, skinny controllers" has been the design style for Rails app development. However, with time this style has been outdated as with code growth the models become too fat to handle.
Why not use concerns?
ActiveSupport c...
New Features in iPhone and iPad
Night Shift
iOS 9.3 has introduced night shift feature for iPhones, which automatically tints our screen to warmer colors(less blue light) at nighttime, so that we don’t have to change the setting by our own for nighttime(like ...
Angular BlockUI - An Overview
What you will learn from this blog:
1. What is Angular BlockUI
2. How to use it in view and js
3. Learn how it will remove unnecessary hide and show of loader during each ajax request
4. how it will reduce line of code
If you are looking...
How to change size of UITEXTVIEW according to its text ?
To change the size of a UITextView to its contents i.e as the content of the UITextView increases the size of the textview will also increase.
We can implement this by applying the following code :-
- (void)textViewDidChange:(UITextView *)t...
Want Freelancer Android Game Developer
Any freelancer who can develop games on android may contact.
For contacting, please send your bid here.
Autofill functionality for website forms
I have a website whose source code cannot be changed.It has several forms which has repetitive fields so for reducing manual filing of repetitive fields i want autofill functionality.I will have another website from where data will be stored and ...
flash control
Hello iam not profi in adobe flash pro i made logo animation and i need to be controlled by mause. How can I make this?
Export Excel Data to mysql by using codeigniter framework
How do i export Excel Data to mysql by codeigniter framework?
How to create tasks in PIM
Hello
This blog post gives a brief overview of tasks in PIM. It also illustrates the steps to create, sort and accept tasks.
Tasks
The tasks that are created manually or by a workflow are represented in a tree structure. These ...
Ruby Constructors and Setter and Getter
Ruby Constructors
1. Ruby supports constructors.
2. They are declared with the method initialize.
3. Initialize method is called automatically when the object is created.
Example:
class Cons
def initiali...
routes and resources in ruby
If you are new to ruby then you must have wondered about what is routes in ruby, so today I will discuss everything about routes in detail. Rail routes are used to dispatch URl to the controllers action. it is used to generate path for particular...
How to convert NSDate from local timezone to UTC and vice versa in objc
1. To convert UTC to local time zone
- (NSString *)convertLocalDateFromUTCDate:(NSString *)dateStr{
NSDateFormatter *formatter = [self dateFormatter];
[formatter setDateFormat:@"yyyy-MM-dd HH:mm:ss Z"];
NSDate *sourceDate...
CRUD operations in Rails
CRUD Operations in Rails
Before understanding CRUD operations in rails we will see what are active records. Active records point to the models of MVC architecture. Model is the component of mvc architecture which is responsible for persisting ...
Word Count program on Hadoop
Hi this blog is to help you to learn that how to run application on Hadoop system. For this we are going to take an example of wordcount program on a data.
So first of all we need our data on which wordcount process has to b...
$this vs $scope in AngularJs
$scope and $this are the mostly used in AngularJs.
But we often caught up in a perplexed situation, which one we should use.
whatever we define in a certain block(or DIV) of HTML, all the variables comes under the $scope or this.
for exa...
Different functionality related to NavigationBar .
Here are listed some of the functionalities that can be implemented on navigationBar:-
The below code will Hide the back button from NavigationBar :-
self.navigationItem.hidesBackButton = YES;
Thie below code will Set background image ...
.Net : Best practices for memory management
In this blog we will discuss about best practices for memory management in .Net framework. Even though the .Net framework has its own garbage collection support still as developers we have to think and write code that minimizes memory wasta...
Iterators in Ruby
Iterators are used to iterate over each element of a collection or array one by one. In ruby there are different types of iterators. Here we are going to discuss over each and collect.
1. each:
It iterates over each element of the array or ...