Media queries

Media queries In bootstrap we can create responsive site which can run on desktop as well as mobile.Thus breakpoints can be defined by using media queries whose attributes can be changed under specified conditions. <!-- Stack the colum...

OOPS Visibility concept of properties in php

In this tutorial we will see the visibility of the properties which are defined as public , protected or private. The property of a class that is defined as public can be accessed from any where restricting the visibility of property which are de...

How to devloped a Affix Navigation Menu in bootstrap3

Hi Readers, Affix means attached or locked, hence Affix navigation helps and authorize an element to lock or get attached to a particular area of web page. This is general used with icons (social media icons like- FB, Twitter, LinkedIn, G+ etc...

Create portlet configuration page in liferay

Portlet configuration page use some parameters for liferay portlet. For example I would like to select what page should a controller display when viewing it. Below steps help you to create configuration page in liferay : Step 1: Create con...

Activities in Xamarin.Android

Hello all, In this blog, I will continue on my previous blog What are the building blocks of Xamarin.Android , and we will discuss about the building blocks of Xamarin. One of the most important and interesting building block of the Xamarin...

PROGRAM TO SUBTRACT TWO NUMBER WITHOUT USING SUBTRACTION OPERATOR

A program on C language without using subtraction operator is done by taking the numbers 2's complement and then add it to another number. #include<stdio.h> int main(){ int a,b; int sum; int complement=0; prin...

What is the default approach for logging in Liferay

Liferay provide default logging functionality, So you can instantiate your Log4j Log object through LogFactory, identified by the current class name, then enable the log category on the control panels "Log level" settings tab. Following steps ...

Connecting to remote mongodb database via SSH

Hi friends, So many times developer face an issue of not able to connect to their mongo db using a GUI tool, If the mongo is installed on a remote server There is a solution of connecting to remotely installed mongodb via SSH First open your ...

View routes for a particular controller in Rails

In rails it is possible to to view Routes for a particular resource or Controller . It can be done in the following ways : 1> rake routes CONTROLLER=name_of_controller ex:- rake routes CONTROLLER=users <2> ...

How to Send e-mail Newsletter as Per Recipient's Time Zone

  eMail newsletter sending to different users all across the globe is an effective eMail marketing campaign to engage huge amount of users wit...

Different behavior of heading tag with section

If I'm write Heading tag (h1 and h2) in section or aside it shows same font size and if I put this outside of section or aside tag it works normal. Why? <h1>heading 1</h1> <h2>heading 2</h2> <h3>heading 3</h3...

Remember me in Cakephp

In a portal login page once you check the Remember Me checkbox your login id will be remembered on the browser for 7 days. And when with in a 7 days if you login on the same browser, you will get logged out. Use the below code in order to use ...

How to use animate() method in jQuery ?

Welcome to findnerd, today we are going to discuss on prepend() method in jQuery. Firstlt let know what use of prepend() method So, basically animate() method is used to creating custom animations. Syntex of animate() method $(selector)...

What is Penetration test?

What is Penetration test? A penetration test, or as you may call it **pentest**, is an attack on a computer system. The intention of this attack is to find security frailty and thus obtain access to it. Following is the process that leads ...

Applet in java

APPLET Applet are the client side web based program run on web browser. Applet implements the functionality of the clients.Dynamic and interactive programs runs inside a web page with a displayed Java capable browser.We don't have constructor...

How to use append() method in jQuery ?

Welcome to findnerd, today we are going to discuss on append() method in jQuery. Firstly let know what use of append() method Append() method is used for inserting at the end of the selected elements in jQuery you can see bellow example h...

Extract metadata using ImageIO in java

Hello guys We are creating a file which have some information about file i.e create date, modify date, tags and description etc. called metadata of the file. Now, We are extract the Imagedata using javax.imageIO package requires Imag...

How to use toggle() method in jQuery ?

Welcome to findnerd, today we are going to discuss on toggle() method in jQuery. Firstly let know what use of toggle() method In the toggle() method, you can toggle between the hide() and show() methods in jQuery. So we can say that toggle()...

Javascript:Confirmation Dialog Box

Confirmation dialog Box is used to get confirmation on any input. It is mostly used to take user's opinion on any option. It displays a dialog box with two buttons: Cancel and OK. If the user clicks on the Cancel button, then confirm() returns...

Sort an array of strings based on length of its elements in Ruby

In ruby if you want to sort an array of strings based on the length of its element, you can use the code given below. i.e If you want the word having the least number of characters in it to come first and arrange other words in this manner as w...

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 ...

ArrayList is not synchronized

What does it mean when we say an ArrayList is not synchronized?

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 Import Data from Website in LibreOffice Calc

Hi Guys, I need to import data from a website, Like a Website ( http://ss64.com/nt/ ), which provide list of commands and their description. I want these command and description can directly import to my local LibreOffice Calc Sheet ...

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> ...

What is HTML Local Storage?

What is HTML Local Storage Objects ? Local Storage is that method we can store data on user browser. Its work same as cookies. Cookies was use in old time means before html5 and Local Storage is much better then it because we can store more ...

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...

how can I use php to display question

how can I use php to display question stored in mysql database and choose the right answer for it and give grade if the answer is right and store it back in mysql database (sorry I don't speak English very well )

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; ...
1 180 292