
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
Fetch data in Laravel Route without a controller
Laravel provide more routing features. In laravel we can fire mysql queries in 'Route' also without any controller or model. For example
Route::get('/getData', function()
{
$fetchData = DB::select('select * from users where id = ?', a...
Methods to locate elements through Appium
Locating element is the basic activity to automate any web application or the mobile application. The action can only be performed on the element once we have located the element successfully. If the element is not located then we get NoSuchEleme...
Extracting Audio only From Video File using FFmpeg command
Hello Readers,
FFmpeg is such a command line application tool which provides complete solution for recording, converting as well as streaming video and audio. It is a good command line application tool which convert a video file format in ...
Get both text and value of selected option in a dropdown in Asp.Net MVC
How to get both text and value of selected option in a dropdown
in Asp.Net MVC?
While working in a MVC project, I got a requirement where I needed both Value as well as
Text of the selected option in the Dropdown.
The solution that ...
DROP Statement
DROP Statement:
With the help of drop statement we can easily delete a table or a database and it is a DML(Data Manipulation Language) command.
Syntax to drop a table:
DROP table tablename;
Example:
DROP table Employee;
It ...
Compression and Decompression in SQL Server 2016
In the upcoming version of SQL 2016 a new component of COMPRESS and DECOMPRESS T-SQL functions is added. SQL Server 2016 provides built in functions for compression and decompression.The COMPRESS and DECOMPRESS functions can store and retrieve da...
Updating a file and adding it to repository
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
Git...
How to create joomla user password using php
To generate password in joomla first need to import JUserHelper which defines in libraries/joomla/user/helper.php.
jimport( 'joomla.user.helper' );
$salt = JUserHelper::genRandomPassword(32);
$crypt = JUserHelper::getCryptedPassword("mypa...
How to get a category in wordpress
Hello reader's, we discussed about "How to get a category in wordpress".
In the below code gallery is the custom post type. For this you can create a taxonomy-gallery-category.php file. You can put the below code into this file.
<?php...
Installing JAVA (open-jdk) in LINUX using TERMINAL simple steps.
The simplest and the easyest way to install anything on Linux is throught Terminal
1. Open terminal using ALT+CTRL+T
2. Type command shown below:
sudo apt-get install openjdk-7-jdk
Note: in : openjdk-7-jdk, 7 is for demonstration, you can c...
How to get child of Category(Parent Child relation)
Hello reader's today we discussed about "How to get child of Category".
In Wordpress, if we create a category and their sub category and we want to call category and their sub-category. In Programming language we called it Parent Child relatio...
Check username availability on keypress using jquery
Username or email availability or any other types of availability check we can do in this way. When user type on a text box an ajax request has made and check what if its available or not. we only required jquery.js
HTML
<input type='te...
Viewing history
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
Git...
Custom Exceptions in Java
An exception is any problem that occurs during the execution of a program and disrupts the normal flow of the programs instructions.In basic terms, when a condition occurs, in which it is not sure how to proceed in an ordinary way it creates an e...
Table in HTML
With the help of HTML table, we can arrange the data in a proper format. HTML table consist of rows and columns.we use various tags for creating HTML table.
Tags used for creating HTML table:-
Table :- This is the very first tag for creati...
How to pass data from controller to view in laravel
You can pass data from laravel controller to view by using 'with' keyword
$userDetails=array('name'=>'abc','mobile'=>'768576565');
return View::make('profile')->with('userDetails', $userDetails);
you can send multiple argument b...
html link
How can you create image as a link in html.
You can make an image as an link as through following coding.This make your link more eye-catchy and you can also make logo as link thus making your page more effective.
<a href="default.asp"&g...
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 ...
