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
Change default editor for linux terminal
The default editor generally with linux terminal is vi editor and if you edit crontab etc. it by default opens up using vi editor.
To change this default behavior and set the editor to nano you can use command
export EDITOR=nano
after ...
How To Install JBoss On Ubuntu
How To Install JBoss On Ubuntu
This article will describe that how to install Jboss application server on Ubuntu. Jboss is a powerful open source java application server developed by RedHat.
To install Jboss we will follow the following ste...
Autoplay media files in UIWebView in IOS
When displaying media content using HTML5 in a web view on IOS the autoplay functionality does not work.
To enable to web view to autoplay the media (if coded in HTML to autoplay) you need to add a line of code in your IOS application as expla...
Bug Life Cycle and its States
Bug Life cycle and its states
Bug life cycle is a time period or cycle of a bug from its identification to closure. Its life starts when a bug is found and ends when it is closed after ensuring that it' will not reproduced. Bug life cycle is rel...
How to send mail in DNN 7
The first thing is to do SMTP server settings.
Steps of SMTP server settings are as follow:
1.Login in your portal with super user account
2.Go to host->host settings->Advanced Settings->SMTP Server Settings
3.Fill details : Fi...
Why OWIN
OWIN:
Open Web Interface for .Net. Before starting, keep in mind that owin is just a specification and not technology or framework. Owin in simple words is an standard interface between .Net web server and web application.
Basically OWIN is des...
Stored Procedures and Functions in MySQL- Part 5
Conditional Constructs - IF...ELSEIF..ELSE
This construct is used to evaluate some complex conditions and based on the results execute different set of statements.
The basic syntax is
IF <conditions> THEN
&n...
What should a designer must know before starting design for an android app ?
Hello friends
While designing my first android app in Photoshop, I preferred researching on web for the guidelines and standards, before starting the task.
In doing so, I found some terms like dpi, dp and sp which were very confusing to me ...
How to create RSS (Rich Site Summary) in Cakephp framework
This tutorial help us in creating RSS Feed in cakephp framework. For more on RSS Feed see the link below:
"http://findnerd.com/account#url=/list/publish/What-is-RSS-Rich-Site-Summary-/2965/"
Let use take a table users in the database.
...
Stored Procedures and Functions in MySQL- Part 4
Conditional Constructs - CASE
As in any programming constructs even in stored routines we might need to execute different commands based on what the variable or expression evaluates to. For the same we have CASE.... END CASE and IF...ELSEIF......
How to get current device location using of GPS
This android tutorial will help you to get current device location based on GPS service. GPS is a technology except device internet and WiFi that provide device current location. GPS location provider will give our location accurately.
To use of...
What is RSS (Rich Site Summary )
First let us understand what is RSS feed:
It is a format to share data, defined in the 1.0 version of XML. We can provide information in this format and get this information, and also get information in this format from various other sources. ...
Test Coverage and its advantages
What is test coverage and its advantages and disadvantages?
Test coverage or Code coverage is a very useful tool which is used to test untested parts of code. Test coverage is a measure which is used to describe the degree to which a source code...
Test scenarios for Database testing
Following are the possible test scenarios to test Database:-
1) Exact data is saved in database on successful page submission.
2) Only after successful completion of operation data is saved in database.
3) To test values for columns which doe...
How to create new portal using old portal with different skin in DNN 7
DNN provide export and import portals functionality by which we can create new portal using old portal
Steps to export the template:
1.Login in the portal with super user account.
2.Go to host->site management ->Export site template.
...
DNN Could not load file or assembly or one of its dependencies
Try the below mentioned points to make it work properly
Delete all files in "Temporary ASP.NET Files" Folder, "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files".
Version number(v4.0.30319) will be change, based on the i...
Easy way to add Favicon in DNN
Go to Admin menu, click site settings
In Basic settings, scroll down, click on Appearance
option to upload Favicon.ico icon, upload icon and click update
How to create custom video camera
This tutorial is very helpful to create a custom video camera with controls . With the help of this content you can designing your own camera GUI with flash light ,start capturing video,stop capturing video.This content also has a feature to open...
Copying Text Styles with Eyedropper
Generally we think Eyedropper tool is used for picking colors or gradients in Illustrator. But you know that the **eyedropper can be used for picking character styles and appearances**.
To do this,
Type a text & add some style on it.
The...
Method overLoading In Objective C
**
Method overLoading In Objective C:
**
method overloading concept in object oriented language we use the same method name with the different signature. Signature is the argument that we send using the function.
we just change the number...
Opening a Flattened (composite) Version of a Layered Photoshop File
Opening a Flattened (composite) Version of a Layered Photoshop File
When opening a file in Photoshop,
holding the Option (Mac) / Alt + Shift (Win) will open a flattened version of a file (instead of a layered one),
if the original layere...
When to use includes or joins in rails
While working with a large relational database in rails we come to point where we have to access data from a large number of tables in a single query. Well for this rails provide us with two very powerfull active records methods i.e joins and inc...
Convert file to Byte array in c#
Now since most of the applications are using APIs for data communication between server and client, the requirement of converting files to Byte array has increased immensely.
e.g. If we need to Upload a zip file to azure blob then we need to co...
How to share post/pics/link using IOSLinkedInAPI
Hello Reader's,
I m using IOSLinkedinAPI to Share Video link to LinkedIn. But i m giving option to share picture URL , links and text post to LinkedIn.
Install AFNetworking using pods.
Download IOSLinkedinAPI and drag-drop "IOSLi...
Select n to m records using Entity Framework C#
This is a very common requirement for Mobile app developers who use APIs to interact with the Data.
e.g. You want to show the list of events in an app and you have lots of data for the call at server. If server returns you back with all the data...
Quick reference of swift language comparison with Objective C
Quick reference of swift language comparison with Objective C code
Whats the Difference Between Raster and Vector?
Whats the Difference Between Raster and Vector?
Whats the difference between raster and vector? This question is asked by many newbie designers, webmasters and other interested individuals and sometimes the answers can be as confusi...
How to clear ASP.NET Cache forcibly code behind or expire cache using HTML Cache Control Tag?
Hi All,
Though leverage browser caching reduces the load times of pages by storing commonly used files from your website on your visitors browser but sometimes, we need to force application to clear Cache (or System.Web.HttpRuntime.Cache), many ...
Install Oracle JDK with apt-get
The official JDK is provided by Oracle but is not provided as default installation by ubuntu
You can install Oracle JDK using apt-get by adding the repositories and then using apt-get command.
To add the repository issue the following comm...
Kendo UI : Creating a data grid
This series would be introducing simple examples of the widget along with the problems and the solutions that were used during execution of a project.
Kendo UI is a set library extended from Jquery developed and managed by Telerik.com.
It h...
Refreshing a ListView or GridView using Vertical Swipe Gesture
We can refresh a ListView or GridView by vertical swipe using SwipeRefreshLayout class. The SwipeRefreshLayout should be used whenever the user can refresh the contents of a view via a vertical swipe gesture. We need to add an OnRefreshListener t...
Servlet Filter
Java Servlet Filters :
Servlet filters are the classes which can intercept the request and can modify the response. Filters are not servlets, because filters can not create the response.The purpose of using filters are as follows :
To int...
Change the URI of remote repository
Reset the remote URL :
Git provides the ' git remote set-url ' command to reset the remote URI.The other way to reset the remote URI is first delete the current URI and then again use git remote add command. Following is the syntax of change the...
How to use theme in yii2
First download a sample theme from http://yii.themefactory.net/ and extract it in to yii2basic/themes folder.
Now open /config/web.php and add the below code
'view' => [
'theme' => [
'pathMap' => ['@app/views' => 'th...
How to solve [MongoError: connect ECONNREFUSED]
Hello Readers,
I came across a solution while working on mongodb and would like to share with you all in case you face any such problem while working on mongodb.
If you are coming across the error like the following:
Connection error: {...
Renaming a remote
Rename the existing remote repository :
There could be a condition where you want to add a new repository and you will get the message like repository already exist, or in other case when you mistakenly set the remote name wrong, then we need ...
Adding a remote address to git
Add Remote Address : Git allow you to fetch and commit the repository from remote address. Before doing any operation using remote address you need to specify the remote address for the repository. We can connect with remote repository using one ...
Login to Your Site through Google+ using Javascript
Many a times we need to authenticate our users through social media such as facebook, twitter and google+.
Today I will be discussing how to login to the system using Google+ credentials without using any sdk but through javascript.
Using the...
15 Awesome Photoshop Tips & Shortcuts
Improve your skills and speed up your workflow with these expert Photoshop tips and shortcuts.
Photoshop is an easy tool to use and a difficult one to master, but help is at hand with our comprehensive list of tips and tricks for Adobe Photosh...
Best way to get iOS, MAC OS version
Many times we need to make check for iOS version as it Apple changes its API from version to version. For this reason Apple provide the safest way to achieve it, which is "NSFoundationVersionNumber". It returns on which version device is running....
How to Add/Remove multiple classes in Jquery
If you want to remove mutiple classes on click of a button:
HTML:
<div class="container">
<span class="class1 class2 class3"></span>
<button id="clear" type="button"></button>
</div>
JS:
$("#cl...
Indexed full text search in PHP-MySQL (PART - 1)
We need to write search queries every now and then in our projects. This is one of the most common tasks a PHP developer has to do. Most of the developers still use wildcard queries for this purpose which is very slow in searching records. Howeve...
Retrieve File from a private container in Azure
Now in the current scenario, Most of the Project Owners want to keep their data on cloud. Specially for the .Net projects, we often need to store data in Cloud based Microsoft Azure server.
Azure provides azure storage account to facilitate th...
Store File in Azure Blob
As i have already defined what all things we need as prerequisite to access a blob in Azure in my previous blog Retrieve File from a private container in Azure, Here is the code for Storing byte array in an Azure blob
public string UploadByteA...
Difference between Delete and Truncate
Following is difference between Delete and Truncate in database:
Delete:
DELETE is a DML(Data Manipulation Language) Command.
DELETE statement is executed using a row lock, each row in the table is locked for deletion.
You can add filte...
Signal R - an API integration tool in dot net for API's and WebSocket
Signal R - An Introduction
ASP.NET SignalR is a library for ASP.NET developers which help's the developers in the process of adding real-time web functionality to applications. Real-time web functionality is like to have server code push conte...
How to extract parameters from query string using Javascript or Jquery
Well my previous blog was on how to replace parameters in query string of a uri, this one simply gets the param value from the url..
function getParameterByName(uri,paramName) {
paramName = paramName.replace(/[\[]/, "\\[").replace(/[\]]/,...
Changing URL parameters using Javascript
More often than not we need to change URL parameters sometimes for Hash tags and sometimes for creating url parameters for creating new clickable URLs..
function updateQueryStringParameter(uri, key, value) {
var re = new RegExp("([?&])"...
Get current date ,time, year, month, weekday using JavaScript
This example will help a user to get the current time,date, day, month and the year.
Here we have used JavaScript Date class and the following methods of Date class.
getFullYear(); getFullYear() returns a four-digit number
...
Role Management Providers Configuration:
Role Management Providers Configuration:
Role management providers are used by the role management services in order to separate the functionality of role management from the data store that contains the role information, however roles can use...