Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/themes/Divi/functions.php on line 1382

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/themes/Divi/functions.php on line 1384

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/themes/Divi/functions.php on line 1386
class="home blog et_fixed_nav et_right_sidebar unknown">
How to find which application is using the PORT in Linux ?

How to find which application is using the PORT in Linux ?


Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793
Let's see an example to find which application is using the PORT number 9000. We will be using the netstat command , which is a network statistics command line utility. Find the process PID and name : [[email protected] ~]# netstat -nlp | grep :9000 tcp 0 0 0.0.0.0:9000...
How to find which application is using the PORT in Windows ?

How to find which application is using the PORT in Windows ?

Lets see an example to find which application is using the port 5001. Step 1: Find PID of the process D:\Lab\CodeForEach>netstat -aon | find ":5001" TCP     0.0.0.0:5001          0.0.0.0:0     LISTENING     5964 TCP     127.0.0.1:50014     0.0.0.0:0     LISTENING ...
How sorting data helps in performance improvement or reducing the execution time of code ? Here is an example.

How sorting data helps in performance improvement or reducing the execution time of code ? Here is an example.


Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Do you think that sorting the data before processing it helps in reducing the execution time of code ? If you ask me, I say yes. Sorting data helps in branch prediction and thereby increasing the overall performance. Here is a short example.

Java 8 - Stream API and its benefits with simple examples

Java 8 - Stream API and its benefits with simple examples


Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Stream API is a new and most useful features introduced in Java 8 which can perform sequential and parallel operations such as filter, map, reduce on Collections. Understand Streams using simple example here.

Java 8 - Nashorn - JavaScript Engine - Java + JavaScript Example

Java 8 - Nashorn - JavaScript Engine - Java + JavaScript Example


Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

How do you run JavaScript from within Java source code ? Here is a simple example which shows how to do this in Java 8.

Java 8 - new features and enhancements with examples

Java 8 - new features and enhancements with examples


Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Java 8 introduced lot of exiting new features and enhancements which are useful for developers . This article covers these features ( functional interfaces, lambda expression, method reference, Stream API, default and static methods in interface and more ) with short and simple examples.

Java - Program to find the first non repeated character in a string

Java - Program to find the first non repeated character in a string


Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Examples : Input - codeforeach , Output - d ; Input - principles , Output - r. Pseudo Algorithm : 1) Build a map consisting of each character of string with repetition count. i) Loop through the string characters ii) For each character,if the character key is found in the map...
increment the value by 1

Git - frequently used git commands on command line

Git - frequently used git commands on command line


Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

Notice: Undefined index: HTTP_USER_AGENT in /storage/ssd3/949/7407949/public_html/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 793

In this short tutorial, we will see some of the frequently used git commands which can be executed on command line.

Encoding vs Encryption vs Hashing

Encoding vs Encryption vs Hashing

We often see or hear the words such as encoding / encryption / hashing. These are related to techniques meant for data transformation from one format to another and used to enable data privacy or proper consumption of data by electronic devices such as computers. Lets have a quick look at the differences between these techniques...

www.000webhost.com