
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
Best basic practices for writing commit messages
In my last blog we did our first commit, and we gave it a really simple commit message that was just initial commit.
it doesn't really describe what we were doing and where we left.
we must commit message that describes the changes...
commiting a first file using git
As we have initialize here our first project we are now ready to make our first commit.
Check the status naveen@naveen:/var/www/html/RND/symfony_sites/symfony_todoapp$ git status
Git will show the message
On branch master
Initia...
Internet bandwidth
Welcome to Findnerd. Today we are going to discuss the network bandwidth. We do all the personal as well as business things online. Network speed is depend upon the
bandwidth. We use the internet on specific bandwidth. If you upload the file or ...
How Git store its files
In my Last Blog (init git) I mentioned how to initialize git repository, Now lets see what git init did and also understand where git stores its files to do version control on our project.
On terminal
use the UNIX ls command to list what's ...
How to create ShareActionProvider function in android
If you want to create Share Action Provider function check my below example. Here I have created frist main.xml. After creating main.xml I have added attribute to the menu item. In MainActivity created onCreateOptionsMenu method I sets the share ...
Initializing Git
once you have Git intalled and configured the next step is to initialize Git. It basically telling git to start tracking things in a project
git init /* command to tell Git to initializie the project to get everything ready to start doing i...
How to create an alert dialog box in javascript
An alert is a type of dialog box supported in javascript and is mostly used to give a warning message to the users.
For example:
If one input field requires to enter some text but the user does not provide any input, then as a part of v...
What is input pattern ?
The pattern value is use in input box which tells the user, In which pattern value will store in database. If the value is according to pattern then data will store otherwise it will shows an error.
Its works with following input types:-
t...
Difference Between paypal parallel payments and chained payments
According to paypal docs: https://developer.paypal.com/webapps/developer/docs/classic/adaptive-payments/gs_AdaptivePayments/
The payment which is split among 2-6 receivers is known as a parallel payment. Technically, we can say that the mult...
What Is Globalization Testing ?
What Is Globalization Testing ?
Any application or any product is called to be globalized while that specific product or application may be run separately of its edifying and geological atmosphere or environment. This kind of testing approach ...
How to create a responsive menu button
hii.
i am providing html,css and jquery code for creating a responsive menu button.
1.Here's the HTML code:
<body>
<nav class="topnavfirst">
<ul class="clr">
<li>
...
Displaying Map using HTML5
Html5 provides geolocation API by using which we can display the results in a Map. Following example shows how we can show the Map in html5. To display the result in a map, you need access to a map service, like Google Maps.
<!DOCTYPE html&...
Bootstrap Pager
Bootstrap Pager
In case of multiple pages in bootstrap,we can also create previous and next links for effective pagination. This is used when the number of pages are less in quantity. It is great and effective for simple sites blogs or magazin...
A program to count the different types of characters in given string
counting of different characters is done by using strlen(i.e string length) and arr denotes array. We use for loop to pass the ASCII code of alphabets from a to z.
#include<stdio.h>
#include<string.h>
void main()
...
Bootstrap pagination
Bootstrap pagination
In case of multiple pages in bootstrap,we can also number them making our presentation more efficient.This can be done through pagination.These large blocks is hard to miss,easily scalable and provides large click areas.
...
Javascript Carousel
Javascript Carousel
In javascript you can create a slideshow with the help of carousel.So multiple slides can be created making our presentation more attractive and user-friendly.
<div id="carousel-example-generic" class="carousel sli...
Javascript toggle
Javascript toggle
In javascript you can create toggle behaviour wit the help of flexible plugin that utilizes a handful of classes.
The class collapse hides the content,class collapsing is applied during transitions and class collapse.in show...
Geolocation API in HTML5
HTML5 Provides new feature of geolocation API which can help user to find his current location and share the location to the web site.
It works with the javascript which capture the latitude and longitude of the user. It works with the global ...
Expression Tag in JSP
JSP Expression Tag : In JSP the Expression tag is used to print in the output stream.So whenever you have some data to print into the screen or can say browser you can use the JSP Expression Tag.
The java code '<% out.println(msg); %>' c...
Why Niche Marketing is Important in SEO
Introduction to Niche Market Niche market refers to the market where some specific product is focused and considered for promotion. This special market niche is used to define some features of the product with an aim to satisfy h...
How to add custom portlet in Liferay Control Panel section
Hello Guys
Liferay allow to create custom portlet to write own business logic or controller code. Portlet is a small application of the liferay.
When we need to define rules on the custom portlet, So we need to add custom portlet in liferay...
Laravel Eloquent groupBy() AND also return count of each group
We can also make our query on groupBy using Laravel 4.x.Let me demonstrate it by the following example.
Suppose we have a table in which we have n number of users which are from different-different state and we have to find that how many user...
Progress bars in Bootstrap
Progress bars in Bootstrap.
Bootstrap helps in providing up-to-date feedback on the progress of a workflow or action.This can be done by using progress bars.You can also add label to the progress bar thus making it more user-friendly.
<d...
Sort function in C++
Sort function is used to sort a given range in ascending order. This function is defined in the header algorithm.
There are two version are defined of it.
template< class RandomIt >
void sort( RandomIt first, RandomIt last );
templa...
Links in alerts
Links in alerts.
In bootstrap we can also create matching colored links along with the alert messages.Through this you can add a link whenever contextual message pop's up under specified action.This can be done by adding alert-link class.
&...
laravel 4 - how to Limit (Take and Skip) for Eloquent ORM
Take and Skip are one of the functionality which is used when we are making Android API. By using Take And Skip we will fetch limited record according to our need.I can easily explain it by using simple example.
Example:
$start=$offset*10;
...
How to find portlets added on a particular page in Liferay
Hello Guys
Portlet used to write business logic in liferay and liferay also provide page creation functionality. Portlet add on a particular page of the website of liferay. Liferay page create from website administration in the liferay.
Bel...
Stored routies in Mysql
Welcome to Findnerd. We are going to explain the storage procedure and functions. It is also known as stored routines. Stored routines is available from Mysql5.7.
There is table named proc which is required to work with stored routines. It will ...
How to use hide() and show() methods in jQuery ?
Welcome to findnerd
Today we are going to discuss hide() method and show() method in jQuery
firstly, let start hide() method
hide() method is used for hiding data with HTML elements
Syntex of hide()
$(selector).hide();
And now abou...
Bootstrap Alerts
Bootstrap Alerts.
Bootstrap provides a medium to print contextual feedback messages for typical user actions with the handful of available and flexible alert messages.These alert messages pop-up under specified user action which can be manipul...
How to apply Ripple Animation in Android XML file
If you want to implement Ripple effect for buttons and other views, then this tutorial is helpfull for you. Ripple is like a wave, when user interact with the UI elements, material design provides a visual effect at the point of contact. Ripple a...
How to use Array sort() Method in JavaScript ?
sort() method is used for sorting the items of an array.It sorts the values as strings in alphabetical and ascending order.
And sort() method sort alphabetic or numeric.
you can take reference of bellow example.
<!DOCTYPE html>
&l...
Bootstrap badges(active nav states)
Bootstrap badges(active nav states)
Bootstrap provides built-in styles which can be included in bootstrap navs or more for placing badges in active states in pill navigations.
<ul class="nav nav-pills" role="tablist">
<li role="...
How to get a list of registered route paths in Laravel
If some one find a way to create an array with the registered routes paths within Laravel 4. If someone wants to get a list something like this returned:
/
/login
/join
/password
Solution: For this we will use the method
Route::getR...
Fetch the user detail from facebook in iOS 9.0
To fetcht the user detail from facebook like name,first_name,last_name,middle_name,gender etc use the code below :
func fetchUserDetails(useid: String,accessToken:String)
{
let graphRequest : FBSDKGraphRequest = FBSDKGraphRequest...
login to facebook in ios 9.0
to login using facebook in iPhone sdk please use the code below.
install the pods for facebook using
pod "FBSDKCoreKit";
pod "FBSDKLoginKit";
pod "FBSDKShareKit";
pod "FBSDKMessengerShareKit"
import FBSDKLoginKit
...
Bootstrap badges
Bootstrap badges.
Badges can be easily created by adding a predefined class badge to links of nav bar in Bootstrap.You can customize it further according to your requirement.
<a href="#">Inbox <span class="badge">42</span>...
How to use auto login in liferay
Hello Guys
I am writing blog to develop auto login logic in liferay. Liferay provide auto login functionality, So we can login by screenName, userId and email address parameter's.
We need to create hook to implement AutoLogin interface,...
Anonymous class in php
Welcome to Findnerd. We have discussed the anonymous function. Today we are going to discuss the anonymous class. Here is the same concept. It does not have no name.
It can extends the class and implement the interface to use these menthods and ...
Export MySQL Table Records into CSV file
This article demonstrate how we can export records from MySQL Table to a CSV file. fputcsv() is a buit in function of PHP which takes an array and a file pointer as parameters which convert the array data into CSV format and writes it to the fil...
How to make WebView function in android
Hello friend's
If you are looking to created WebView function in android below example will help you. WebView is used for display web pages inside your application and it turns application to a web application.
Here I have added <webview&g...
array_flip function php
Welcome to Findnerd. We are going to discuss the array function named array_flip which is useful to exchange the keys and its associated values.Please have a look.
<?php
$patients_nfo = array('Deepak'=>23,'Dipti'=>24,'sonak'=&g...
Using closure function for passing data to callbacks
Here we will see example of how we can pass data using closure function.As we've seen how to create a closure, let's see how we can use them.
When we pass a callback function to the PHP usort() function, and usort() calls our callback, the cal...
Respond to http request with json object in Liferay Portlet
Hello Guys
Ajax known as Asynchronous JavaScript and XML. Ajax based web applications used to send data and retrieve from a server in the background without refreshing complete web page. When we send http request to server from client side us...
array_map function php
Welcome to Findnerd. Today we are going to discuss the array function that is array_map which takes two main arguments one for callback function and other arguments
are in form of arrays. It will return the array according to callback function. ...
Virtual Private Network and it's type
VPN is a network technology that is used to create secure network connection over a public network Corporations like government organizations , educational institutions use VPN technology so as to help remote users to securely communicate with a ...
Inline functions PHP
Welcome to Findnerd. Today we are going to discuss the inline functions in php. PHP implements inline functions concept is different from other programming language.
In php you can define the function inside other function. Please have a look.
...
Anonymous Function PHP
Welcome to Findnerd. PHP introducing new concepts version by version but many of us still are using old style of coding. We need to study these new concept and implement
these concepts in our code. Today we are going to discuss the anonymous fun...
How CSS triangles work?
Hello folks,
How css triangle works ? actually when we create css triangle, its means we are just showing and hiding borders of any element.
The angle intersects at (45) so the intersection edge is used by border here and we can also skew a...
Accessing the user from a liferay portlet
Hello Guys
Liferay is an EMS to develop java based web application and it's have portlets to write business logics.
Liferay provide inbuilt login and other portlets, so now we need to use functionality of them in our custom portlets.
Fo...