Articles on Trending Technologies

Technical articles with clear explanations and examples

Golang program to add items into the hash collection

Akhil Sharma
Akhil Sharma
Updated on 27-Mar-2023 328 Views

In Golang, we can use a simple indexing method and slicing method to add items to the hash collections. A hash function is used for retrieving and storing the data. In this article are going to see two different examples where we are going to use the above-mentioned methods to add items to a hash collection in go programming language. Syntax func make ([] type, size, capacity) The make function in go language is used to create an array/map it accepts the type of variable to be created, its size and capacity as arguments. Algorithm Import the required ...

Read More

How to Use cd Command in Bash Scripts

Satish Kumar
Satish Kumar
Updated on 24-Mar-2023 17K+ Views

The cd command is one of most fundamental commands in Bash shell. It is used to change current working directory to a specified location. This command is particularly useful when navigating through file system, especially in situations where you need to access files or directories in a different location. In this article, we will explore how to use cd command in Bash scripts. What is cd Command? Before diving into usage of cd command, it is important to understand what it does. cd command is a built-in command in Bash that is used to change current working directory. When you ...

Read More

Using docker-compose With Private Repositories

Satish Kumar
Satish Kumar
Updated on 24-Mar-2023 6K+ Views

Introduction Docker Compose is a tool for defining and running multi-container Docker applications. It allows developers to define their application stack as a YAML file, making it easy to spin up complex environments with just a few commands. However, using private repositories with Docker Compose can be tricky. In this article, we'll explore how to use Docker Compose with private repositories, covering different authentication methods and their examples. What are Private Repositories? Docker images can be stored in private or public repositories. Public repositories are open to everyone, while private repositories require authentication to access them. Private repositories are often ...

Read More

How to define a list or menu of commands in HTML5?

Diksha Patro
Diksha Patro
Updated on 24-Mar-2023 346 Views

HTML5 includes several methods for creating object lists, including ordered lists, unordered lists, and description lists. These lists can be used to build menus or command lists that help users explore a website or application. Unordered lists use bullet marks to show the sequence of things, whereas ordered lists use numbers. Definition lists are used to describe words and the meanings that go with them. Developers can build ordered and structured menus or command lists in HTML5 by using these list types. This improves user experience and navigation. In this response, we will look at how to build an unordered ...

Read More

How to define a label for an input element using HTML5?

Diksha Patro
Diksha Patro
Updated on 24-Mar-2023 911 Views

The label element in HTML5 is used to link a text title to an entry element, such as a form control. This label gives context and information about the goal of the input piece, allowing users to comprehend and engage with the form more easily. The “for” property is used to connect the label element to the input element. Web makers can make their websites' forms more approachable and user-friendly by combining the label and characteristics. In this section, we'll look at how to use HTML5 to create a title for an input element. Approaches There are three methods ...

Read More

How to define a key-pair generator field in HTML5?

Diksha Patro
Diksha Patro
Updated on 24-Mar-2023 454 Views

A key-pair generator field is a form of the input field in HTML5 that enables users to create a public and private key combination for encryption. This field is helpful in circumstances requiring secure correspondence, such as online banking or e-commerce platforms. Users can generate a unique combination of keys that can be used to encrypt and decrypt private information, guaranteeing the security and integrity of their interactions, by using a key-pair generator field. In HTML5, the "input" element with the "type" attribute set to "keygen" can be used to create a key-pair generator field. The "name" attribute is used ...

Read More

How to define a drop-down list in HTML5?

Diksha Patro
Diksha Patro
Updated on 24-Mar-2023 1K+ Views

A drop-down list in HTML5, allows website users to select one of several predefined alternatives. This type of input field is typically used in forms when users are given a number of alternatives from which to pick. Creating a drop-down list in HTML5 is a simple procedure that requires the use of the choose and option components. The drop-down list is defined by the choose element, and the available alternatives are specified by the option elements. Web developers may use this markup to construct customizable and interactive forms that make it easier for visitors to enter data on a website. ...

Read More

How to define a caption for a fieldset element in HTML5

Diksha Patro
Diksha Patro
Updated on 24-Mar-2023 1K+ Views

When developing HTML forms, it is critical to offer users clear and simple information about the purpose of the form and the data being gathered. One method is to add a caption or heading to a fieldset element, which is a collection of linked form components. The caption or header gives context and information about the form components contained inside the field set, allowing users to understand what information is being asked and how to appropriately fill out the form. Approaches There are several ways to add captions to a fieldset element in HTML. Here are several possibilities − ...

Read More

How Should a Machine Learning Beginner Get Started on Kaggle?

Shreya Purohit
Shreya Purohit
Updated on 24-Mar-2023 465 Views

Kaggle is a social hub for data science and machine learning advocates where enthusiasts learn, explore, share, and collaborate to enhance their skills. Kaggle is like a playground for data, providing features like courses, competitions, discussions, and more. It provides users with a Jupyter notebook-like environment, saving time on setup and getting to work quickly. Kaggle is a great platform to practice and improve your skills. However, if you're new to Kaggle, the platform can be quite overwhelming to navigate. In this article, you’ll get a quick overview of how ML engineers can make the most of Kaggle. We'll guide ...

Read More

How to check the current selection against an expression using jQuery?

Vidushi Tomar
Vidushi Tomar
Updated on 24-Mar-2023 359 Views

Overview jQuery is a fast, small, and feature-rich JavaScript library. It helps in DOM manipulation, event handling, animation, CSS and Ajax. To achieve the requirement we’ll use the “is(selector)” method of jQuery. is(selector) This method checks the currently selected elements against an expression/selector and returns true if any one of the selected elements matches with the selector. In the below code, we have created a container with the class “test”. We want to change the background color of the container when it is clicked. So, “test” which is the class name of the container will be used as a selector ...

Read More
Showing 39531–39540 of 61,297 articles
Advertisements