
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
Number() function in JavaScript
JavaScript Number() function : The Number function is used to cast the other objects to the number. Number() is a global function in JavaScript.
Syntax of the Number() funciton :
Number(object)
object: It is required parameter. It ...
toLowerCase() method in JavaScript
JavaScript String toLowerCase() method : The toLowerCase() method is used to convert the letters to the lower case. It doesn't change the original string. It returns the new string in lower case.
Syntax of toLowerCase() method :
string.toLo...
Finding max and min value in an array using javascript
To find the maximum and minimum in an array we can use Math.max and Math.min function that returns the largest and smallest of zero or more numbers.
Syntax : - Math.max([value1[, value2[, ...]]])
Using apply,you can choose your own context...
Web Storage in HTML5
There are two storage session storage and local storage in the new web storage API in html5.
HTML local storage contains two objects for storing data on the browser:
window.localStorage - stores data with no expiration date
window.session...
Use of Drawable folder in Android Application
Whenever we create an android app we have many folders in out solution which are used for building application in android.
Drawable folder in android app is mainly used to change or set the background image of an android application .In t...
Route Config File in MVC
In MVC project whenever we run the application we have default form to be run.
To setting up or changing up the startup view in MVC project we have entry in the Route.config file for the default view associated with the controller
For Ex:
...
Sessions in Javascript
Hi All,
SessionStorage is something we can use to store values in session in Javascript. Below I will demonstrate how we can use it in our project.
To set Session Value:
var valueKey = "Value";
function setSession(value) {
...
What is difference between sorting string array and sorting numerical array in jQuery?
Hello Readers,
sorting string array :
sort method in jquery is used to sort array elements in alphabetically order this type of sorting is called as sorting through string array.
For Example :
$(document).ready(function(){
var list =...
JSON
Javascript Object Notation
JSON is a way to transfer data or information from one page to another page.
JSON stands for JavaScript Object Notation
JSON is a lightweight data transfer format
JSON is language indepe...
Intent - Xamarin
Hello all,
I this blog we will discuss about another very important part of the building blocks of Xamarin.Android, that is Intent class.
The easiest way to understand the Intent is really an messaging object that you are to create and pass...
Binary Search in DSA(Data Structure and Algorithms)
Binary search is simple and fast search algorithm which works on the principle of divide and conquer.
It will work properly when the data collected is in sorted form.
It is having run-time complexity of (log n).
This searching algorithm ...
Image Upload using Dropzone
Hi All,
This Blog will help you to use dropzone js and css to upload files in your project.
You can get dropzone package from NUGET. Once Installed get the reference of it in your project, Below example will show it used in MVC Project.
Yo...
Bundle Class in Xamarin.Android
Hello All,
In this we will discuss about one of the most important part of the building blocks of Xamarin.Android, and that is Bundle class.
A Bundle class. in nothing but a mapping from values of String types to various other types that c...
JavaScript encodeURIComponent() Function
The URI component encoding is yield by the function called encodeURIComponent(). This function encodes special characters like this: , / ? : @ & = + $ #. We can use the decodeURIComponent() function to decode an encoded URI component.
Sy...
Inner Join
Using Inner Join:
It selects rows from both tables as long as there is a match between the column on which join is applied. Inner join is used to fetch data from more than one table.
Syntax:
SELECT columnname(s) FROM tablename1 INNER JO...
Tabbing & Accordion in Angular Material
Hi All,
We Often need tabbing & Accordion functionality in our project and what if we need it via angular material. Her is a quick guide of doing it simply and accurately.
Angular Material CSS references
<!-- Angular Materia...
Uninstalling Drupal 7 themes
Hello friends,
If you want to uninstall the Drupal 7 theme from your Drupal installation then just follow the below simple steps-
1. Uninstalling a theme is a simple process, it just the reverse of installing a theme.
2. Access the t...
How to read, write and delete cookies in jQuery
In jquery to read, write and delete cookies by using dough cookie plugin. It is easy and powerful characteristics in jquery to use this plugin.
Firstly, below is the syntax to create cookie.
Create cookie :
$.dough("cookie_name", "cookie...
How to install a Drupal 7 theme
There are 2 ways to install drupoal themes one is automatically from the admin interface.
Automattic Installation
Log in as site administrator go to the theme manager by selecting Appearance and here you will find two option to install ...
Determine Height & Width of browser window in JavaScript
Hi All,
We most of the time in web development get stuck with responsive designs, the best way to handle that now a days is to use Bootstrap classes which take cares of your site but that helps you to achieve responsiveness width wise.
What...
How to delete duplicate data in Oracle SQL?
Let's create a table with duplicate rows in SQL.
create table CustomerDuplicate(customer_id int,customer_name varchar(20))
insert into CustomerDuplicate values(1,'Adam')
insert into CustomerDuplicate values (1,'Adam')
insert into Customer...
Controlling visiblility of blocks in Drupal 7
Go to Structure -> Blocks Here you can fill the information regarding a block like,
Block Title (you can override the default title for the block. Use to display no title, or leave blank to use the default block title. This field suppor...
How to the use file_get_contents() in PHP ?
Welcome to findnerd, today we are going to discuss How the use file_get_contents() in PHP ?
Fistly let know what is use of file_get_contents() ?
The file_get_contents() basically reads a file into a string.
So we can say that file_get_con...
What is procees to print HTML page with tags using PHP ?
Hello all welcome to findnerd, today we are going to discuss How to print HTML page with tags using PHP ?
The htmlspecialchars() Function is very useful print HTML page with tags using PHP
Firstly let know what does htmlspecialchars() Func...
How to Create Banner Ads on Doubleclick for Publishers
Doubleclick for Publishers an Intro
We use different type of techniques for internet marketing to promote the content and drive traff...
Undo Changes in git
Previous Git Blogs
1. Intialize git repostiory
2. First Commit
3. Two tree architecture and Three tree architecture
4. Best basic practices for writing commit messages
5. Viewing the commit logs
6. Git Basic WorkFlow
7. What is HEA...
Validations in .NET
In .NET we do validations to restrict wrong entries and making valid values to be entered through the forms.
Validation on a form or UI page can be done on two sides
1 Server Side Validation
2 Client Side Validation
Server Side vali...
How to fetch all data from model in cakephp 2.x
In cakephp it allows a beautiful feature that helps in fetching all the data of the Model and set on the view.
The fetching can be done in cakephp with the find method and the set function is used to set the data on the view.
The find method ca...
cal_days_in_month() function in PHP
cal_days_in_month() function is a PHP calendar function. This function always return number of days in a specified calendar for month of year .
Syntax is : -
cal_days_in_month ( $calendar, $month, $year );
parameter are : -
...
How to print a java array using Arrays.toString
An Array is a collection of data of similar data type.
We can use Arrays.toString(array_name) to print a java array.
Arrays.toString() return a String for a given set of elements specified in brackets([]) and,
the elements are separated wi...
Git Diff and add commit in one shot
Previous Git Blogs
1. Intialize git repostiory
2. First Commit
3. Two tree architecture and Three tree architecture
4. Best basic practices for writing commit messages
5. Viewing the commit logs
6. Git Basic WorkFlow
7. What is HEA...
Surface Programming
Surface Programming
Microsoft identifies four key concepts in Surface:
Surface programming like we have seen in many ways browsing things on a surface. It would be like you are placing an order on the order table using its surface like disp...
How to convert given digits to words using PHP
Hello Reader's! If you have given digits of number and you want it to convert into words for example 76 will be converted as seventy six and 102 will be convert as one hundred two
Lets see the function below:-
<?php
function digitti...
How to get file information using PHP
Hello Reader's If you want to get the full path , name or the directory of a file using php then you can use the code below:-
Let's see the example below:-
function filePathParts($arg1) {
echo $arg1['dirname'], "\n";
echo $arg1['bas...
How to make custom session timeout in php
Hello Reader's!, If you want to make the custom php session which will destroy automatic then you can use the code as below:-
session_start(); // ready to go!
$now = time();
if (isset($_SESSION['discard_after']) && $now > $_SESS...
How to validate url in php
Hello Reader's! If you have a url given and you want to check weather it is valid or not. For example www.facebook.com is a valid but www.fcebook.com is invalid link.
By using you can do this by Curl function, Lets see the example below:-
f...
How to integrate PHP Mailer
Hello Reader's!
If you want to send email some other than php mail then php mailer is the best option. PHPMailer provides an object oriented interface, but in case of php mail() is not object oriented. Let's see how to integarte php mailer funct...
Load cakephp component on fly
In cakephp we load component by using code
public $components = array('Custom');
but we might not need this in all actions so we can load this component on fly under actions for example
public function test(){
$this->Customr = ...
Difference between $document.ready() and $window.load() in jQuery
Hello Readers,
Usually, we use the jQuery in our web project as per the requirement. We start the jQuery syntax as $(document).ready() OR $(window).load() function.
Here I will describe the difference between $(document).ready() and $(w...
Email template in cakephp
Cakephp provides simple way to send email. The templates for emails resides in a view directory folder called emails. Email views can also use layouts.
$Email = new CakeEmail();
$Email->template('myemail', 'mylayout')
->emailFormat...
Check WSDL for WS-I compliance using the SoapUI
If you are developing web-service, your web-service should be at-least WS-I Compliance to work correctly on other system like SAP, Dynamics etc. You can Check your WSDL for WS-I compliance using the SoapUI WS-I compliance test.
You need to do ...
How to remove any application through Appium ?
Appium also provides to remove any application from the device programmatically by just passing the the package name of the application.
Suppose that we have test many applications on the same mobile device and the capacity of the device is not...
Send email in cakephp
First create configuration file name as email.php inside app/config/email.php and setup different config options here.
public $default = array(
'transport' => 'Mail',
'from' => array('fromname@email.com' => 'kshitiz dixit'...
How to reset any application through Appium ?
There are many times we have to reset application at some point. Lets take the example of browser in the mobile device. Suppose that we are navigating in the application and at some point on clicking the link it should opened in the browser and i...
How to Delete Past search and Web Browsing History in Google
Hi Friends,
Today I am going to explain the, how we can delete past search and web activity data, If you want know How to save Past search and browsing activity in Google you can visit my previous blog post.
Today Inte...
valueOf() method in JavaScript String
JavaScript String valueOf() method : The valueOf() method is used to cast the string object to the primitive value. It doesn't change the original string.
Syntax of the valueOf() method :
string.valueOf()
Example of valueOf() metho...
How to install application programmatically in Appium ?
There are many times there is a need to install the application programmatically in our testcase. The first thing that we should do before installing the application is to check that whether the desired application is installed in the device or n...
How to Flip an Image using css?
Yon can flip image with css please check the code below
img {
-moz-transform: scaleX(-1);
-o-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
filter: FlipH;
-ms-...
Drupal Global Theme Configuration
Global Theme Configuration
I am asuming this is the fresh installaiton of drupal.
From the menu bar click on Appearance you would see that Bartik is selected as the default frontend and seven is the Administrative theme,
Where to change...
trim() method in JavaScript
JavaScript String trim() method : The trim() method is used to trim the unwanted extra space from both sides (left and right). It returns the new string without having the white-space on both sides. It doesn't change the original string.
Synta...