Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

How to write a basic Plugin in wordpress

Hello reader's today we discuss about "How to write a simple Plugin in wordpress". If you want a to write own Plugin in WordPress there are some steps you must follow and these steps are mention below: Plugin name should be unique(the nam...

How to set selector in android

If you are looking to change the image or color of the widget when it is clicked or focused, Here is the code snippet that explains it:- Step 1:- set the widget in an XML file for which you want to applying selector:- <ImageView ...

What is progress Element in HTML5 ?

The <progress> Element is use to show the completeness of the task. We can use script to manipulate the value of progress bar. This tag is new in HTML5 and progress element have start tag (<progress>) and end tag (</progress>...

ASP.NET MVC : ActionResult Types

An ActionResult is a return type of a controller method in MVC. We can return various types of results as ActionResult. Here, we will discuss about some of the ActionResults available as part of ASP.NET MVC. 1) ViewResult It renders a sp...

Set title of the page for view pages in liferay

Hello Guys I here to set title of the view page in liferay. We can also set the title of the portlets. We have many ways to set page title of the liferay page because liferay provide dynamic functionality. You can add page title by using...

The process involved in Penetration Testing

The process involved in penetration testing are following:- Discovering a combination of legal/official functioning that will let the tester carry out an unofficial function. SQL commands Unchanged salts in source-visible projects Human c...

SetTimeout Function

SetTimeout function is used when you want to execute the code after specific number of milliseconds, Syntax: - setTimeout(function() { $(".thememessage").html('Code Executed after three second'); ...

How to set process in subscription module in openerp?

To set process in subscription module, first you need to install subscription module and set interval number and interval type fields in subscription module is used to set the process. You can use this function as given below def process(self...

What is difference between .attr() and .prop() in jquery ?

Hello Readers, .attr() and .prop() in jquery: Both .attr() and .prop() are jquery methods. jquery.attr() is used to get the value of an attribute for the set of matched elements while jquery .prop() is used to get the value of a property...

ASP.NET : Use of AllowAnonymous attribute

The AllowAnonymous attribute was introduced in ASP.NET MVC 4.This attribute is used for specifying those controller actions that can be accessed by anonymous users. For using this attribute we use a global authentication filter for the appl...

Create a zip with excluding folders using command

Sometime we need to create zip of the folder which contains several subfolders, but all folders are not necessary to include in zip. For such cases we will run following command - zip -r archiveName.zip folderName -x folderName/subfolder/**\*...

Comparison of Asp.Net Web Form and Asp.Net MVC

Asp.net framework is a part of .net platform for building web applications. Now, with arrival of MVC framework developers have the option of using Asp.Net Web Form or Asp.Net MVC. In this article, we will see the main difference between Asp.Net W...

ASP.NET MVC : Filters and Attributes

ASP.NET MVC provides a simple way to inject the pre-processing and post-processing logic for an action. This is achieved by adorning the controllers/ actions with ASP.NET MVC attributes. For example in the below piece of code we have adorned ...

Sending Push Notification to Android device using GCM C#

In one of my current project, I had to develop and integrate the Android Push notification functionality in my server side C# code.For this purpose, i used the Google Cloud Messaging service. Here is code for the same. public void Se...

Javascript:Prompt Dialog Box

Prompt dialog Box is used to have an input from the users or to get confirmation on any input. This dialog box is displayed using a method called prompt() which takes two parameters:- (i) A label which you want to display in the text box. ...

Images shapes

Images shapes. In bootstrap,we can modify shape of image just by adding pre-defined classes as img-rounded,img-circle,img-thumbnail.It saves a lot of time of developer as prevents them from long and confusing coding for creating different shap...

How to create different units of measure in Odoo?

To create Unit Of Measure(UOM) in openerp first install sale module and go to sale module menus in openerp and following these step given below Step-1 go to Sales Configuration menu and click it. Step-2 then go to Configuration Settings->...

Static Contol

Static Control. When we need to insert an plane text in front of form label we can do this by adding a class .form-control static class.Thus bootstrap provides an predefined class for inserting an plane text thus making it more effecient for ...

Checkboxes and radios

Checkboxes and radios. In bootstrap we can add features of multiple selection from group of choices with the help of checkboxes while for selecting one option out of many we use radios.It also provides an option of disabled checkboxes and radi...

Star rating using pure css

Hi all, Below is an example, how to make star rating using pure css. CSS - .rate { float: left; } .rate:not(:checked) > input { position:absolute; top:-9999px; } .rate:not(:checked) > label { float:right; ...

Horizontal form

Horizontal form. Bootstrap provide us the feature to align labels and groups of form controls,we can do so by adding .form-horizonal class to the form.Required customization can be done by little effort making it more user friendly and time sa...

PHP Namespaces

What is namespaces PHP introduce NAMESPACES in 5.3 version. Namespaces are virtual container/directory to organize code structure. In php we can not share same name for two classes. For example if you are using user management plugin for your...

How to create clone of any object using jQuery ?

Hello Readers, If we create clone() of any object using jquery, then jquery provides the clone() method which performs the copy of the matched element (means it copies all the matched elements as well as of their descendant elements and nodes ...

Different states of activity in xamarin.android

Hello All, In this blog we will discuss about the different states of the Activity of your application running on any device or the emulator.So the first one of the highest priority one is going to be the Active state or the running state whic...

Contextual classes

Contextual classes In bootstrap we can create color table rows and cells with the help of contextual classes such as active,success,info,warning,danger. <!-- On rows --> <tr class="active">...</tr> <tr class="success...

Explain .bind() vs .live() vs .delegate() vs .on() in jquery?

Hello Readers, .bind() vs .live() vs .delegate() vs .on() all these 4 are jquery methods and all are used for attaching events to selectors (elements). .bind(): bind() method is the jquery method and it is one of the easiest and quick met...

How to hide portlet in liferay by using javascript

When we add protlet on the page it by default set visible. Now, hide the portlet or set visible false using javascript. For this you can combine your javascript approach with the parameter approach as follows: <% String paramFromReque...

User authorization in Cakephp

In order to use the auth component. You have to add the component to the AppController. (/app/Controller/AppController.php) var $components = array('Auth'); Define $components array in your controller. public $components = array( '...

How to create Circular Reveal Effect like WhatsApp in Android

While sending a photograph/audio/video/contact through WhatsApp in Android, we have to use a attach button at the top right corner, clicking on that button makes a circular reveal effect. To show or hide a group of UI elements we called it a Reve...

How to access the private members of the same object type

In this tutorial we will see the visibility of the properties/methods of Objects of the same class, wherein same type of objects can access each other's protected/private members and also both the instances are not same. Let us create a file tes...

Creating Modals with Bootstrap

Please follow below code to create modules or popup with bootstrap help. <!DOCTYPE html> <html> <head> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css"&...

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

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...
1 162 269
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: