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

How can Internet of Things improve your day to day productivity levels?

source: blog.externetworks.com   Internet of Things(IoT) means communication between everyday objects over the internet, allowing them to send and receive data. The term was coined by British entrepreneur Kevin Ashton in 1999 a...

html link styles

html link styles. We can change the style of link such as background color, color and text decoration on various event done by mouse such as hover,active and visited through style property.Customization can be done according to your requiremen...

html address

html address. html5 provides an inbuilt tag <address>.Through this tag you can define contact information of a document or article.The element between the address is displayed in italic and also most browsers will also add line break bef...

Git Configuration

Previous Git Blogs Intialize git repostiory First Commit Two tree architecture and Three tree architecture Best basic practices for writing commit messages Viewing the commit logs Git Basic WorkFlow What is HEAD pointer in GIT ...

Column offseting.

How can we increase the left margin of a column in bootstrap. In bootstrap we can increase the left margin of a column by adding class offset. for example by adding .col-md-offset-4 moves .col-md-4 by four places. <div class="row"> ...

Use of intern() of string in Java

String.intern() has a great importance in java. We can use String.intern() to deal with String duplication problem in Java. A string is said to be duplicate if it contains the same content as another string but has a different memory location e.g...

INTRODUCTION OF C#

C# is an object-oriented programming language which is developed by Microsoft. Mr. Anders Helsberg developed C# with his team during the development of .Net Framework. C# was approved by ECMA and ISO. ECMA-"European Computer Manufacturers As...

How to bind model at runtime in cakephp

Hello guys, Most of time we need to bind model at runtime, So cakephp provides inbuilt function bindModel(). Using this function we can associates model according to requirement . Using this technique we dont need to association in Model. I...

What is HEAD pointer in GIT

Previous Git Blogs Intialize git repostiory First Commit Two tree architecture and Three tree architecture Best basic practices for writing commit messages Viewing the commit logs Git Basic WorkFlow Git SHA-1 Git maintain...

What is FFmpeg?

Hello Readers, Usually, we need to perform a different tasks/activities with audio/video like video/audio format conversion, resize the video Files, adding poster image to an audio file and so on. Even then we need to knowledge of FFmpe...

How to union two sql query in yii

For combine the result of two or more select query we use union in sql query.If you want to use union in yii query you can use the below code $queryFirst = (new \yii\db\Query()) ->select("id, name") ->from('tableA') ->l...

How to make BadgeCount on the menuItem on toolbar

If you are looking to create BadgeCount view in android toolbar, here is the way to code it:- Step 1:- Create badgeCount layout file say badgecount.xml :- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...

How to swipe in Appium ?

Swipe is one of the basic functionality in any mobile application and in order to automate the mobile application the swipe functionality should be successfully implemented. Appium has a wide range of libraries and a method to swipe the screen...

What is grid system ?

What is grid system ? Grid usage to guide design and page layout is in practice for around 100 years now Rationalism and New Objectivity came into picture in 1910s and 1920s due to ornamental design This shift in design was responsib...

How to add custom validation in validation.js

If you are using validation.js to add validation in your page and want to add some custom validation on the same, like I want a user can only enter alphabetic character with comma, dashes and space on first name text box. Please follow below cod...

ASP.NET MVC HTML Helpers

We use HTML helpers in a view to render HTML content. An HTML Helper is simply a method that returns a string. The string can represent any type of content that we want to define. The ASP.NET MVC framework includes the following set of stan...

SIF Authentication using Java API

You can authenticate user in your application using SIF (Service Integration Framework) Java API. Following is the code you can use to authenticate the user: Properties props = new Properties();     &...

search() method in JavaScript String

JavaScript string search() method : The search() method is used to search a specific string within a given string. It returns the index of the searched string and if no string matched then it returns the -1. Syntax of the search() method :...

How to avoide exposing the public properites

In this tutorial we will see the how to avoid exposing the public properites of any class in oop as it is always a good practice to use encapsulation while coding.One of the main advantage of hide the public properties is that if we want to make...

Git SHA-1

Previous Git Blogs Intialize git repostiory First Commit Two tree architecture and Three tree architecture Best basic practices for writing commit messages Viewing the commit logs Git Basic WorkFlow In the last Blog Git Basic ...

ASP.NET MVC Areas

We already know that ASP.NET MVC framework includes separate folders for Model, View and Controller. However a large application can include a large number of controller, views and model which is difficult to manage. Areas help in splitting such ...

Text highlight

How to highlight a text in bootstrap In bootstrap we can highlight the important text with the tag <mark>. Thus text can be easily highlighted and customization can be done as required. As shown in example below name of country's get...

User Authentication using LDAP

If your application has requirement to authenticate user using LDAP you can use following code for same: LDAP: is Lightweight Directory Access Protocol. LDAP server will be having users information, and requirement could be to only authenticat...

Gradient

How to create background of two colors. In bootstrap we can create background of two colors with the help of gradient.You can also specify the angle os standard two color. #gradient > .vertical(#333; #000); #gradient > .horizontal(#...

replace() method in JavaScript

JavaScript String replace() method : The replace() method is used to replace a string from new value. The replace() method has two parameters, first parameter is a string or regular expression which need to be replace by new value and the second ...

How to make menuItem visible and invisible

If you are looking how to create menuItem and make them visible or invisible on certain condition, here is way to create menuItems:- Step 1:- Create items on menu.xml:- <menu xmlns:android="http://schemas.android.com/apk/res/android" ...

how to use video in background using html/Bootstrap

Hi , This post will help you to use Video in background with bootstrap. View Live Example : http://107.20.120.5/HTML/fn/video.html <style> #background { position: fixed; top: 50%; left: 50%; min-width: 100%;...

ASP.NET MVC Life Cycle

In a MVC application the requests are routed to a special class called the Controller. The controller is responsible for generating the response and sending the content back to the browser. When an MVC application receives request the action m...

Multiple Pages Inside One Liferay Portlet

Hello Guys We can add multiple Pages Inside One Liferay Portlet from portlet class. You can display any JSP page's you want via the PortletRequestDispatcher in your doView, doHelp, doEdit etc. method. Below example help you to add multipl...

Clearfix

how to clear floats in bootstrap. Bootstrap provides an predefined class .clearfix through which you can clear floats just by adding this class to the parent element. .clearfix() { &:before, &:after { content: " "; ...

match() method in JavaScript String

JavaScript String match() method : We use match() method to match a string against a regular expression. It returns the array object of strings which matched if used with the /g modifier otherwise it returns the first matched string. It returns n...

Feedback with optional icons

Feedback with optional icons. Bootstrap provides classes to add optional feedback icons which would required manual positioning for inputs. Thus, it save a lot of time for making it user friendly. This can be done by adding class .has-feedback...

Important Facebook Limits Every Social Media Expert Should know

Hi friends, In this Blog, I am going to explain some Facebook limits that every social media expert should know. Facebook is the largest social media Networking website in the world which has nearly 1.4 billion active users. If we go into ...

Validation states

Validation states We can denote the state of a form through visual,color-based indications.This can be done through using classes as .control-label, .form-control, and .help-block.These are the validation styles for warning, error and success ...

SEVERE: Exception unloading sessions to persistent storage

While making changes in jsp pages in eclipse IDE, i was continously getiing error: java.io.FileNotFoundException:/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/work/Catalina/localhost/_/SESSIONS.ser SEVERE: Exception unloading sessions ...

Git Basic WorkFlow

Previous Git Blogs Intialize git repostiory First Commit Two tree architecture and Three tree architecture Best basic practices for writing commit messages Viewing the commit logs To keep things simple I am using only one file...

How to start an Activity with Shared Element Transition Animation

A view that moves from one activity to another in a smooth motion is possible with the help of Shared Element Transition. Its a type of animation when user clicks on certain view in one activity the view smoothly expands to the next activity. Whe...

How to install Laravel 5.0

Laravel 5 is the latest version of Laravel. If we want to install Laravel 5 in our system then we have to write simple command to run the project. composer create-project laravel/laravel test-laravel-5-project --prefer-dist Here test-lar...

How to get oldest cache time in point of sale module in openerp

To achieve the oldest cache time first you have to install point of sale module and inherit the pos_config class in your own module and fetch cache ids in pos_config class and then use this function in your own module. @api.depends('cach...

Understanding The Global Object

The global object is a JavaScript's regular object that serves as a very important purpose: the properties of this object are the globally defined symbols that are available to a JavaScript program. When the JavaScript execution starts, it creat...

Two tree architecture and Three tree architecture

Two-tree architecture Is used by lot of other version control systems . In this we have a repository and a working copy, our working copy begins with the top of our project directory and below of that might be one or thousands of fil...

How to make TextSwitcher in android

TextSwitcher is useful to animate a label on screen. TextSwitcher animates the current text out and animates the new text. In below example Frist I have created a main layout, In main layout I have added TextSwitcher attributes. See the below exa...

How to Merge Google+ Brand Page With Local Page

When you are working as a social media marketer for Google Plus and have just created a brand page on Google plus account for promoting your product or service then you may have encounte...

How to set a Cookie in Liferay portlet?

Hello Guys Liferay is an EMS portal to develop java based web appliction and having portlets to write business logics. We can set cookies in liferay portlet without heavily modifying the Liferay portal itself, The best way to set the portlet...

What are various methods to make ajax request in jQuery?

Hello Readers, Using below jQuery methods, you can make ajax calls. load(): It's a jquery method and simple method in jquery and the most powerful AJAX method.Load method load the data from the server and returned the data and this return...

How to fetch twitter user feeds using PHP

If you want to display twitter user feeds then use the below code of flow. First of all for user timeline json you have to visit below twitter link. http://dev.twitter.com/doc/get/statuses/user_timeline For detail parameter please visit....

How to use AJAX in WP

If you are looking to use AJAX in WP. Please follow the below example. var stateName = $('#state').val(); $.ajax({ type: "POST", url: "<!--?php echo admin_url( 'admin-ajax.php' ); ?-->", data: { 'action':'custom_d...

Different activities in Risk Management?

Activities in risk management are as follows:- 1.) Risk identification, 2.) Risk prioritization and 3.) Risk treatment 1.) Risk identification:- Risk identification is majorly dependent on the project scope. It is often carried forward...

How to use HTML5 Local Storage

HTML5 Local Storage(Web Storage) mechanisms provides you the facility to store data much more easy way than cookies. Local storage save the data more secure then cookies, where cookie only can store data up to 5mb, local storage capacity is far l...

Extract Zip File Using PHP

If we do not have access to shell and we want to extract a zip file then just put the below php piece of code and run. $zipObj = new ZipArchive; $file = $zipObj->open(zip_file_name.zip); if ($file == TRUE) { $zipObj->extractTo('ex...
1 160 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: