Samual Sam has Published 2755 Articles

Upskilling: The Sure Shot Career Mantra for 2020

Samual Sam

Samual Sam

Updated on 29-Feb-2024 15:05:00

42 Views

Job trends keep changing every year because of the introduction of new realms of life and business around us. This influence is always felt in the job market. While some professions may become extinct many other new and unheard roles plunge in front of us. As it is well known, ... Read More

Set.delete() function in JavaScript

Samual Sam

Samual Sam

Updated on 24-Nov-2023 01:01:23

1K+ Views

The delete() function of the Set object accepts a value and removes it from the current Set object. Syntax Its Syntax is as follows setObj.delete() Example    JavaScript Example           const setObj = new Set();       setObj.add('Java');   ... Read More

ffmpeg settings for converting to mp4 and ogg for HTML5 video

Samual Sam

Samual Sam

Updated on 20-Nov-2023 12:25:08

997 Views

Convert videos to proper formats for HTML5 video on Linux shell using ffmpeg.When converting to an MP4, you want to use the h264 video codec and the aac audio codec because IE11 and earlier only support this combination.   ffmpeg -i input.mov -vcodec h264 -acodecaac -strict -2 output.mp4In this example, ... Read More

What is the difference between novalidate and formnovalidate attributes?

Samual Sam

Samual Sam

Updated on 20-Nov-2023 11:34:03

1K+ Views

The novalidate and formnovalidateattributes are used to bypass validation. The novalidate attribute is applied to a form and prevents it from validation. The formnovalidate is applied to input type submit button, which overrides the novalidate. It submits the form without validating. The novalidate attribute is also a Boolean attribute, but using ... Read More

What does “dereferencing” a pointer mean in C/C++?

Samual Sam

Samual Sam

Updated on 07-Nov-2023 20:34:31

20K+ Views

Dereferencing is used to access or manipulate data contained in memory location pointed to by a pointer. *(asterisk) is used with pointer variable when dereferencing the pointer variable, it refers to variable being pointed, so this is called dereferencing of pointers. int main() {    int a = 7, ... Read More

Check if a String is empty ("") or null in Java

Samual Sam

Samual Sam

Updated on 07-Nov-2023 13:19:45

25K+ Views

To check if a string is null or empty in Java, use the == operator.Let’s say we have the following strings.String myStr1 = "Jack Sparrow"; String myStr2 = "";Let us check both the strings now whether they are null or empty. Result will be a boolean.res = (myStr1 == null ... Read More

How to read a text file with C++?

Samual Sam

Samual Sam

Updated on 07-Nov-2023 04:43:01

52K+ Views

This is a C++ program to read a text file.Inputtpoint.txt is having initial content as “Tutorials point.”OutputTutorials point.AlgorithmBegin    Create an object newfile against the class fstream.    Call open() method to open a file “tpoint.txt” to perform write operation using object newfile.    If file is open then   ... Read More

Wavelength Division Multiplexing

Samual Sam

Samual Sam

Updated on 03-Nov-2023 13:34:43

27K+ Views

Wavelength division multiplexing (WDM) is a technique of multiplexing multiple optical carrier signals through a single optical fiber channel by varying the wavelengths of laser lights. WDM allows communication in both the directions in the fiber cable. Concept and Process In WDM, the optical signals from different sources or ... Read More

A Protocol Using Go-Back-N

Samual Sam

Samual Sam

Updated on 03-Nov-2023 03:15:35

28K+ Views

Go-Back-N protocol, also called Go-Back-N Automatic Repeat reQuest, is a data link layer protocol that uses a sliding window method for reliable and sequential delivery of data frames. It is a case of sliding window protocol having to send window size of N and receiving window size of 1.Working PrincipleGo ... Read More

How to mount usb drive in a linux system

Samual Sam

Samual Sam

Updated on 01-Nov-2023 01:42:40

44K+ Views

Do you know “how to use USB memory sticks with Linux”, If you are not sure then this article describes “how to mount USB drive on a Linux system with command line interface”Universal serial bus, or USB (also known as Flash drive), is an electronic communications protocol that is commonly ... Read More

1 2 3 4 5 ... 276 Next
Advertisements