Samual Sam has Published 2492 Articles

Find my public ip address from linux command line

Samual Sam

Samual Sam

Updated on 07-Jul-2020 07:16:49

3K+ Views

An IP address stands for Internet Protocol Address. Devices are assigned with specified IP Address to identify the device which are connected on internet. Public IP addresses are routable on Internet and are generally provided by an ISP (Internet service provider) which are accessible over the Internet.Do you know how ... Read More

Count the number of threads in a process on linux

Samual Sam

Samual Sam

Updated on 07-Jul-2020 07:10:42

7K+ Views

Linux process can be visualized as a running instance of a program where each thread in the Linux is nothing but a flow of execution of the processes. Do you know how to see the number of threads per process on Linux environment? There are several ways to count the ... Read More

Mobile ip a complete solution for emerging communications

Samual Sam

Samual Sam

Updated on 07-Jul-2020 06:37:11

2K+ Views

The world is now embracing connectivity and communication like never before through the application of various mobility based devices. Mobile computing devices such as mobile phones, palmtops etc. have become a part of our daily routine as they are convenient and effective to use.Mobile IP (Internet Protocol) serves the needs ... Read More

Set how much a flex item will grow relative to the rest of the flex items with CSS

Samual Sam

Samual Sam

Updated on 04-Jul-2020 08:10:20

93 Views

Increase the size of a flex item, using the flex-grow property. Use it with one or more than flex items.ExampleYou can try to run the following code to implement the flex-grow property. Here Q3 flex-item is larger than other items −Live Demo             ... Read More

Set the initial length of a flex item with CSS

Samual Sam

Samual Sam

Updated on 04-Jul-2020 08:09:38

79 Views

Set the length of a flex item with the flex-basis CSS property.ExampleYou can try to run the following code to implement the flex-basis property −Live Demo                    .mycontainer {             display: flex;       ... Read More

Set the flex items horizontally from right to left with CSS

Samual Sam

Samual Sam

Updated on 04-Jul-2020 07:59:28

147 Views

Use the flex-direction property with row-reverse value to set the flex-items horizontally from right to left.ExampleYou can try to run the following code to implement the row-reverse valueLive Demo                    .mycontainer {             display: flex;     ... Read More

MongoDB query to find the highest numeric value of a column?

Samual Sam

Samual Sam

Updated on 02-Jul-2020 11:33:59

132 Views

You can use $not operator along with $type for this. Let us first create a collection with documents −> db.highestNumericValueOfAColumnDemo.insertOne( ...    { ...       "StudentName": "John", ...       "StudentMathMarks":69 ...    } ... ); {    "acknowledged" : true,    "insertedId" : ObjectId("5cba05727219729fde21ddb1") } > ... Read More

How to use peekLast() in android ConcurrentLinkedDeque?

Samual Sam

Samual Sam

Updated on 30-Jun-2020 14:58:49

73 Views

Before getting into an example, we should know what ConcurrentLinkedDeque is, it is unbounded deque based on linked nodes. Multiple threads can access deque elements with safety.This example demonstrates about How to use peekLast() in android ConcurrentLinkedDequeStep 1 − Create a new project in Android Studio, go to File ⇒ ... Read More

How to use peekFirst() in android ConcurrentLinkedDeque?

Samual Sam

Samual Sam

Updated on 30-Jun-2020 14:57:54

51 Views

Before getting into the example, we should know what ConcurrentLinkedDeque is, it is unbounded deque based on linked nodes. Multiple threads can access deque elements with safety.This example demonstrates about How to use peekFirst() in android ConcurrentLinkedDequeStep 1 − Create a new project in Android Studio, go to File ⇒ ... Read More

How to use peek() in android PriorityBlockingQueue?

Samual Sam

Samual Sam

Updated on 30-Jun-2020 14:55:17

64 Views

Before getting into the example, we should know what PriorityBlockingQueue is. It is an unbounded queue and follows the same order as a priority queue. The main usage of priority blocking queue is, it going to handle out of memory error.This example demonstrates about How to use peek() in android ... Read More

Advertisements