title
stringlengths
3
221
text
stringlengths
17
477k
parsed
listlengths
0
3.17k
Pointers in Golang
11 Aug, 2021 Pointers in Go programming language or Golang is a variable that is used to store the memory address of another variable. Pointers in Golang is also termed as the special variables. The variables are used to store some data at a particular memory address in the system. The memory address is always found in...
[ { "code": null, "e": 53, "s": 25, "text": "\n11 Aug, 2021" }, { "code": null, "e": 417, "s": 53, "text": "Pointers in Go programming language or Golang is a variable that is used to store the memory address of another variable. Pointers in Golang is also termed as the special var...
exportfs - Unix, Linux Command
Normally this xtab file is initialized with the list of all file systems named in /etc/exports by invoking exportfs -a. However, administrators can choose to add and delete individual file systems without modifying /etc/exports using exportfs. exportfs and it’s partner program mountd work in one of two modes, a leg...
[ { "code": null, "e": 10833, "s": 10711, "text": "\nNormally this\nxtab file is initialized with the list of all file systems named in\n/etc/exports by invoking\nexportfs -a. " }, { "code": null, "e": 10959, "s": 10833, "text": "\nHowever, administrators can choose to add and dele...
Flutter – GridView
24 Nov, 2020 Flutter GridView is a widget that is similar to a 2-D Array in any programming language. As the name suggests, a GridView Widget is used when we have to display something on a Grid. We can display images, text, icons, etc on GridView. We can implement GridView in various ways in Flutter : GridView.count() ...
[ { "code": null, "e": 54, "s": 26, "text": "\n24 Nov, 2020" }, { "code": null, "e": 344, "s": 54, "text": "Flutter GridView is a widget that is similar to a 2-D Array in any programming language. As the name suggests, a GridView Widget is used when we have to display something on ...
SQL Query to Match City Names Ending With Vowels
23 Sep, 2021 In this article, we will learn SQL Query How to Write an SQL Query to Match City Names Ending With Vowels in the Table. and we will implement with the help of an example for better understanding, first of all, we will create a database Name of the Database will Sample. and inside the database, we will crea...
[ { "code": null, "e": 28, "s": 0, "text": "\n23 Sep, 2021" }, { "code": null, "e": 364, "s": 28, "text": "In this article, we will learn SQL Query How to Write an SQL Query to Match City Names Ending With Vowels in the Table. and we will implement with the help of an example for b...
jQuery | after() with Examples
13 Feb, 2019 The after() is an inbuilt function in jQuery which is used to insert content, specified by the parameter for the each selected element in the set of matched element.Syntax: $(selector).after(A); Parameter: It accepts a parameter “A” which is either a content or function passed to the method.Return Value: ...
[ { "code": null, "e": 28, "s": 0, "text": "\n13 Feb, 2019" }, { "code": null, "e": 201, "s": 28, "text": "The after() is an inbuilt function in jQuery which is used to insert content, specified by the parameter for the each selected element in the set of matched element.Syntax:" ...
Matrix manipulation in Python
28 Jun, 2021 In python matrix can be implemented as 2D list or 2D Array. Forming matrix from latter, gives the additional functionalities for performing various operations in matrix. These operations and array are defines in module “numpy“. Operation on Matrix : 1. add() :- This function is used to perform element wise...
[ { "code": null, "e": 52, "s": 24, "text": "\n28 Jun, 2021" }, { "code": null, "e": 280, "s": 52, "text": "In python matrix can be implemented as 2D list or 2D Array. Forming matrix from latter, gives the additional functionalities for performing various operations in matrix. Thes...
Find the closest element in Binary Search Tree | Space Efficient Method
31 Mar, 2022 Given a binary search tree and a target node K. The task is to find the node with the minimum absolute difference with given target value K.NOTE: The approach used should have constant extra space consumed O(1). No recursion or stack/queue like containers should be used. Examples: Input: k = 4 Output: ...
[ { "code": null, "e": 54, "s": 26, "text": "\n31 Mar, 2022" }, { "code": null, "e": 327, "s": 54, "text": "Given a binary search tree and a target node K. The task is to find the node with the minimum absolute difference with given target value K.NOTE: The approach used should hav...
Various kind of Framing in Data link layer
26 Aug, 2020 Framing is function of Data Link Layer that is used to separate message from source or sender to destination or receiver or simply from all other messages to all other destinations just by adding sender address and destination address. The destination or receiver address is simply used to represent where m...
[ { "code": null, "e": 54, "s": 26, "text": "\n26 Aug, 2020" }, { "code": null, "e": 473, "s": 54, "text": "Framing is function of Data Link Layer that is used to separate message from source or sender to destination or receiver or simply from all other messages to all other destin...
What’s the difference between ng-pristine and ng-dirty in AngularJS?
31 Dec, 2019 AngularJS supports client-side form validation. AngularJS keeps tracks of all the form and input field and it also stores the information about whether anyone has touched or modified the field or not. Let’s See the two different class ng-dirty and ng-pristine that are used for form validation ng-pristine: ...
[ { "code": null, "e": 53, "s": 25, "text": "\n31 Dec, 2019" }, { "code": null, "e": 254, "s": 53, "text": "AngularJS supports client-side form validation. AngularJS keeps tracks of all the form and input field and it also stores the information about whether anyone has touched or ...
JSF - h:outputLink
The h:outputLink tag renders an HTML "anchor" element. <h:outputLink value = "page1.jsf" >Page 1</h:outputLink> <a href = "page1.jsf">Page 1</a> id Identifier for a component binding Reference to the component that can be used in a backing bean rendered A boolean; false suppresses rendering styleClass Cascading styl...
[ { "code": null, "e": 2141, "s": 2086, "text": "The h:outputLink tag renders an HTML \"anchor\" element." }, { "code": null, "e": 2199, "s": 2141, "text": "<h:outputLink value = \"page1.jsf\" >Page 1</h:outputLink> " }, { "code": null, "e": 2234, "s": 2199, "te...
Nagarro Interview Experience | Set 2
14 Oct, 2014 First Round:1.Aptitude Questions, basically logical aptitude, Not the standard aptitude questions which we get in other companies, it included some questions of geometry, trigonometry, and puzzle type questions, analytical ability, Question were like – find the measure of an angle in the figure, solve the ...
[ { "code": null, "e": 52, "s": 24, "text": "\n14 Oct, 2014" }, { "code": null, "e": 284, "s": 52, "text": "First Round:1.Aptitude Questions, basically logical aptitude, Not the standard aptitude questions which we get in other companies, it included some questions of geometry, tri...
Sum of digits written in different bases from 2 to n-1
08 Apr, 2021 Given a number n, find the sum of digits of n when represented in different bases from 2 to n-1.Examples: Input : 5 Output : 2 3 2 Representation of 5 is 101, 12, 11 in bases 2 , 3 , 4 . Input : 7 Output : 3 3 4 3 2 As the given question wants the sum of digits in different bases, first we have to c...
[ { "code": null, "e": 52, "s": 24, "text": "\n08 Apr, 2021" }, { "code": null, "e": 160, "s": 52, "text": "Given a number n, find the sum of digits of n when represented in different bases from 2 to n-1.Examples: " }, { "code": null, "e": 271, "s": 160, "text"...
How to design a modern sidebar menu using HTML and CSS?
05 Mar, 2021 Sidebar menu is a component that is used for vertical navigation. It can be customized and made responsive by using simple HTML and CSS. To make a collapsing sidebar, you need to have HTML and CSS knowledge for creating it. Example: In this example, first we will create a structure by using HTML after that...
[ { "code": null, "e": 52, "s": 24, "text": "\n05 Mar, 2021" }, { "code": null, "e": 276, "s": 52, "text": "Sidebar menu is a component that is used for vertical navigation. It can be customized and made responsive by using simple HTML and CSS. To make a collapsing sidebar, you nee...
Count BST nodes that lie in a given range
11 Feb, 2022 Given a Binary Search Tree (BST) and a range, count number of nodes that lie in the given range.Examples: Input: 10 / \ 5 50 / / \ 1 40 100 Range: [5, 45] Output: 3 There are three nodes in range, 5, 10 and 40 The idea is to traverse the given binary sear...
[ { "code": null, "e": 52, "s": 24, "text": "\n11 Feb, 2022" }, { "code": null, "e": 160, "s": 52, "text": "Given a Binary Search Tree (BST) and a range, count number of nodes that lie in the given range.Examples: " }, { "code": null, "e": 312, "s": 160, "text"...
Python – Right and Left Shift characters in String
22 Apr, 2020 Sometimes, while working with Python Strings, we can have problem in which we have both right and left rotate count of characters in String and would like to know the resultant condition of String. This type of problem occurs in competitive programming. Lets discuss certain ways in which this task can be p...
[ { "code": null, "e": 28, "s": 0, "text": "\n22 Apr, 2020" }, { "code": null, "e": 345, "s": 28, "text": "Sometimes, while working with Python Strings, we can have problem in which we have both right and left rotate count of characters in String and would like to know the resultan...
Using NumPy to Convert Array Elements to Float Type
02 Sep, 2020 There are often times when it is necessary for us to convert an array in Python to a differing type. One of these times would be when given an array and having to convert it to an array of float types. This is often useful when conducting data analysis and there are a variety of ways of doing this. Whilst ...
[ { "code": null, "e": 28, "s": 0, "text": "\n02 Sep, 2020" }, { "code": null, "e": 510, "s": 28, "text": "There are often times when it is necessary for us to convert an array in Python to a differing type. One of these times would be when given an array and having to convert it t...
Program to find the transpose of given matrix in Python
Suppose we have a (n by n) matrix M, we have to find its transpose. As we know the transpose of a matrix switches the row and column indices. More formally, for every r and c, matrix[r][c] = matrix[c][r]. So, if the input is like then the output will be To solve this, we will follow these steps − M := a new list tracke...
[ { "code": null, "e": 1392, "s": 1187, "text": "Suppose we have a (n by n) matrix M, we have to find its transpose. As we know the transpose of a matrix switches the row and column indices. More formally, for every r and c, matrix[r][c] = matrix[c][r]." }, { "code": null, "e": 1417, "...
Scanner useDelimiter() method in Java with Examples
23 Nov, 2020 The useDelimiter(Pattern pattern) method of java.util.Scanner class sets this scanner’s delimiting pattern to the specified pattern. Syntax: public Scanner useDelimiter(Pattern pattern) Parameter: The function accepts a mandatory parameter pattern which specifies a delimiting pattern. Return Value: The f...
[ { "code": null, "e": 54, "s": 26, "text": "\n23 Nov, 2020" }, { "code": null, "e": 187, "s": 54, "text": "The useDelimiter(Pattern pattern) method of java.util.Scanner class sets this scanner’s delimiting pattern to the specified pattern." }, { "code": null, "e": 196,...
How to setup 404 page in angular routing ?
26 May, 2021 To set up a 404 page in the angular routing, we have to first create a component to display whenever a 404 error occurred. In the following approach, we will create a simple angular component called PagenotfoundComponent. Creating Component: Run the below command to create pagenotfound component. ng gener...
[ { "code": null, "e": 28, "s": 0, "text": "\n26 May, 2021" }, { "code": null, "e": 251, "s": 28, "text": "To set up a 404 page in the angular routing, we have to first create a component to display whenever a 404 error occurred. In the following approach, we will create a simple a...
CSS text-align Property
09 Nov, 2021 The text-align property in CSS is used to specify the horizontal alignment of text in an element ie., it is used to set the alignment of the content horizontally, inside a block element or table-cell box. Syntax: text-align: left|right|center|justify|initial|inherit; Default Value : left if direction is lt...
[ { "code": null, "e": 28, "s": 0, "text": "\n09 Nov, 2021" }, { "code": null, "e": 233, "s": 28, "text": "The text-align property in CSS is used to specify the horizontal alignment of text in an element ie., it is used to set the alignment of the content horizontally, inside a blo...
Animated expanding card using framer-motion and ReactJS
17 Jan, 2022 In this article, we are going to learn how to create an animated expanding card using react and framer. Prerequisites: Knowledge of JavaScript (ES6).JavaScript inbuilt methods we are going to make use are :Arrow function (ES6)Ternary operatorObjects in JavaScriptKnowledge of HTML/CSS.Basic knowledge of Rea...
[ { "code": null, "e": 28, "s": 0, "text": "\n17 Jan, 2022" }, { "code": null, "e": 132, "s": 28, "text": "In this article, we are going to learn how to create an animated expanding card using react and framer." }, { "code": null, "e": 147, "s": 132, "text": "Pr...
Removing Levels from a Factor in R Programming – droplevels() Function
05 Jun, 2020 droplevels() function in R programming used to remove unused levels from a Factor. Syntax:# For vector objectdroplevels(x, exclude = if(anyNA(levels(x))) NULL else NA, ...) # For data frame objectdroplevels(x, except, exclude) Parameter values:x represents object from which unused level has to be droppedex...
[ { "code": null, "e": 28, "s": 0, "text": "\n05 Jun, 2020" }, { "code": null, "e": 111, "s": 28, "text": "droplevels() function in R programming used to remove unused levels from a Factor." }, { "code": null, "e": 201, "s": 111, "text": "Syntax:# For vector obj...
ReactJS Reactstrap InputGroup Component
30 Jul, 2021 Reactstrap is a popular front-end library that is easy to use React Bootstrap 4 components. This library contains the stateless React components for Bootstrap 4. The InputGroup component provides a way to put one add-on or button on either side or both sides of an input. We can use the following approach i...
[ { "code": null, "e": 28, "s": 0, "text": "\n30 Jul, 2021" }, { "code": null, "e": 397, "s": 28, "text": "Reactstrap is a popular front-end library that is easy to use React Bootstrap 4 components. This library contains the stateless React components for Bootstrap 4. The InputGrou...
Array implementation of queue (Simple)
20 May, 2022 In queue, insertion and deletion happen at the opposite ends, so implementation is not as simple as stack. To implement a queue using array, create an array arr of size n and take two variables front and rear both of which will be initialized to 0 which means the queue is currently empty. Element rear is t...
[ { "code": null, "e": 52, "s": 24, "text": "\n20 May, 2022" }, { "code": null, "e": 543, "s": 52, "text": "In queue, insertion and deletion happen at the opposite ends, so implementation is not as simple as stack. To implement a queue using array, create an array arr of size n and...
Print sums of all subsets of a given set
30 May, 2022 Given an array of integers, print sums of all subsets in it. Output sums can be printed in any order. Examples : Input : arr[] = {2, 3} Output: 0 2 3 5 Input : arr[] = {2, 4, 5} Output : 0 2 4 5 6 7 9 11 Method 1 (Recursive) We can recursively solve this problem. There are total 2n subsets. For every ele...
[ { "code": null, "e": 54, "s": 26, "text": "\n30 May, 2022" }, { "code": null, "e": 156, "s": 54, "text": "Given an array of integers, print sums of all subsets in it. Output sums can be printed in any order." }, { "code": null, "e": 168, "s": 156, "text": "Exa...
Sum of all array elements less than X and greater than Y for Q queries
14 Aug, 2020 Given a sorted array arr[], and a set Q having M queries, where each query has values X and Y, the task is to find the sum of all integers less than X and greater than Y present in the array.Note: X and Y may or may not be present in the array. Examples: Input: arr[] = [3 5 8 12 15], Q = {{5, 12}, {4, 8}}O...
[ { "code": null, "e": 52, "s": 24, "text": "\n14 Aug, 2020" }, { "code": null, "e": 297, "s": 52, "text": "Given a sorted array arr[], and a set Q having M queries, where each query has values X and Y, the task is to find the sum of all integers less than X and greater than Y pres...
How to add simple DatePicker in Next.js ?
30 Nov, 2021 In this article, we are going to learn how we can add a Simple Datepicker in NextJs. NextJS is a React-based framework. It has the power to Develop beautiful Web applications for different platforms like Windows, Linux, and mac. The linking of dynamic paths helps in rendering your NextJS components conditi...
[ { "code": null, "e": 28, "s": 0, "text": "\n30 Nov, 2021" }, { "code": null, "e": 343, "s": 28, "text": "In this article, we are going to learn how we can add a Simple Datepicker in NextJs. NextJS is a React-based framework. It has the power to Develop beautiful Web applications ...
Decidability, Semi-Decidability, and Undecidability in TOC
08 Apr, 2021 We know about Decidable, Semi-decidable, and Undecidable problems and in this article, we will briefly define these problems and provide the most commonly asked questions on these problems and classify them accordingly. Prerequisite – https://www.geeksforgeeks.org/decidable-and-undecidable-problems-in-the...
[ { "code": null, "e": 52, "s": 24, "text": "\n08 Apr, 2021" }, { "code": null, "e": 273, "s": 52, "text": "We know about Decidable, Semi-decidable, and Undecidable problems and in this article, we will briefly define these problems and provide the most commonly asked questions on ...
Append multiple lists at once in Python
For various data analysis work in python we may be needed to combine many python lists into one list. This will help processing it as a single input list for the other parts of the program that need it. It provides performance gains by reducing number of loops required for processing the data further. The + operator do...
[ { "code": null, "e": 1490, "s": 1187, "text": "For various data analysis work in python we may be needed to combine many python lists into one list. This will help processing it as a single input list for the other parts of the program that need it. It provides performance gains by reducing number o...
College Management System using Django - Python Project - GeeksforGeeks
11 Apr, 2022 In this article, we are going to build College Management System using Django and will be using dbsqlite database. In the times of covid, when education has totally become digital, there comes a need for a system that can connect teachers, students, and HOD and that was the motivation behind building this ...
[ { "code": null, "e": 25130, "s": 25102, "text": "\n11 Apr, 2022" }, { "code": null, "e": 25446, "s": 25130, "text": "In this article, we are going to build College Management System using Django and will be using dbsqlite database. In the times of covid, when education has totall...
Program to Calculate Body Mass Index (BMI) - GeeksforGeeks
29 May, 2021 The Body Mass Index (BMI) or Quetelet index is a value derived from the mass (weight) and height of an individual, male or female. The BMI is defined as the body mass divided by the square of the body height and is universally expressed in units of kg/m2, resulting from the mass in kilograms and height in ...
[ { "code": null, "e": 24331, "s": 24303, "text": "\n29 May, 2021" }, { "code": null, "e": 24664, "s": 24331, "text": "The Body Mass Index (BMI) or Quetelet index is a value derived from the mass (weight) and height of an individual, male or female. The BMI is defined as the body m...
HTML - Email Links
It is not difficult to put an HTML email link on your webpage but it can cause unnecessary spamming problem for your email account. There are people, who can run programs to harvest these types of emails and later use them for spamming in various ways. You can have another option to facilitate people to send you emails...
[ { "code": null, "e": 2627, "s": 2374, "text": "It is not difficult to put an HTML email link on your webpage but it can cause unnecessary spamming problem for your email account. There are people, who can run programs to harvest these types of emails and later use them for spamming in various ways."...
UnitTest Framework - API
This chapter discusses the classes and methods defined in the unittest module. There are five major classes in this module. Object of this class represents the smallest testable unit. It holds the test routines and provides hooks for preparing each routine and for cleaning up thereafter. The following methods are defin...
[ { "code": null, "e": 2222, "s": 2098, "text": "This chapter discusses the classes and methods defined in the unittest module. There are five major classes in this module." }, { "code": null, "e": 2387, "s": 2222, "text": "Object of this class represents the smallest testable unit...
HBase - Count & Truncate
You can count the number of rows of a table using the count command. Its syntax is as follows: count ‘<table name>’ After deleting the first row, emp table will have two rows. Verify it as shown below. hbase(main):023:0> count 'emp' 2 row(s) in 0.090 seconds ⇒ 2 This command disables drops and recreates a table. Th...
[ { "code": null, "e": 2132, "s": 2037, "text": "You can count the number of rows of a table using the count command. Its syntax is as follows:" }, { "code": null, "e": 2155, "s": 2132, "text": "count ‘<table name>’ \n" }, { "code": null, "e": 2241, "s": 2155, "...
Clone a Binary Tree | Practice | GeeksforGeeks
Given a special binary tree having random pointers along with the usual left and right pointers. Clone the given tree. Example 1: Input: Output: 1 Explanation: The tree was cloned successfully. Your Task: No need to read input or print anything. Complete the function cloneTree() which takes root of the given tree a...
[ { "code": null, "e": 357, "s": 238, "text": "Given a special binary tree having random pointers along with the usual left and right pointers. Clone the given tree." }, { "code": null, "e": 369, "s": 357, "text": "\nExample 1:" }, { "code": null, "e": 435, "s": 369...
TypeScript - String replace()
This method finds a match between a regular expression and a string, and replaces the matched substring with a new substring. The replacement string can include the following special replacement patterns − string.replace(regexp/substr, newSubStr/function[, flags]); regexp − A RegExp object. The match is replaced by th...
[ { "code": null, "e": 2174, "s": 2048, "text": "This method finds a match between a regular expression and a string, and replaces the matched substring with a new substring." }, { "code": null, "e": 2254, "s": 2174, "text": "The replacement string can include the following special...
Auto-Transcribe : Google Speech API Time Offsets in Python | by Soham Sil | Towards Data Science
Transcribing audio files or speech is vital for many companies around the world and as we know, the old school technique of Listen — Transcribe by humans may cause fatal errors and eats up lot of your resources(humans). It requires painstaking attention to transcribe every word that’s being recorded and sometimes, you ...
[ { "code": null, "e": 532, "s": 172, "text": "Transcribing audio files or speech is vital for many companies around the world and as we know, the old school technique of Listen — Transcribe by humans may cause fatal errors and eats up lot of your resources(humans). It requires painstaking attention t...
Find the difference between current date and the date records from a MySQL table
To find the difference, use the DATEDIFF() method. Let us first create a table − mysql> create table DemoTable1446 -> ( -> DueDate date -> ); Query OK, 0 rows affected (1.42 sec) Insert some records in the table using insert command − mysql> insert into DemoTable1446 values('2019-01-21'); Query OK, 1 row affec...
[ { "code": null, "e": 1143, "s": 1062, "text": "To find the difference, use the DATEDIFF() method. Let us first create a table −" }, { "code": null, "e": 1250, "s": 1143, "text": "mysql> create table DemoTable1446\n -> (\n -> DueDate date\n -> );\nQuery OK, 0 rows affected (...
F# - Data Types
The data types in F# can be classified as follows − Integral types Floating point types Text types Other types The following table provides the integral data types of F#. These are basically integer data types. 42y -11y 42uy 200uy 42s -11s 42us 200us 42 -11 42u 200u 42L -11L 42UL 200UL 42I 1499999 9999999 9999999 99999...
[ { "code": null, "e": 2213, "s": 2161, "text": "The data types in F# can be classified as follows −" }, { "code": null, "e": 2228, "s": 2213, "text": "Integral types" }, { "code": null, "e": 2249, "s": 2228, "text": "Floating point types" }, { "code": n...
RegEx in ReactJS
In this article, we are going to see how to handle the strings with RegEx handling in a React application. A RegEx or Regular Expression is a sequence of characters that forms a search pattern and is used to check if a string contains a specified search pattern or not. It is also used to validate strings which consist ...
[ { "code": null, "e": 1169, "s": 1062, "text": "In this article, we are going to see how to handle the strings with RegEx handling in a React application." }, { "code": null, "e": 1407, "s": 1169, "text": "A RegEx or Regular Expression is a sequence of characters that forms a sear...
Plotting dates on the X-axis with Python's Matplotlib
Using Pandas, we can create a dataframe and can set the index for datetime. Using gcf().autofmt_xdate(), we will adjust the date on the X-axis. Make the list of date_time and convert into it in date_time using pd.to_datetime(). Make the list of date_time and convert into it in date_time using pd.to_datetime(). Consider...
[ { "code": null, "e": 1331, "s": 1187, "text": "Using Pandas, we can create a dataframe and can set the index for datetime. Using gcf().autofmt_xdate(), we will adjust the date on the X-axis." }, { "code": null, "e": 1415, "s": 1331, "text": "Make the list of date_time and convert...
PUT method – Python requests
22 Sep, 2021 Requests library is one of the important aspects of Python for making HTTP requests to a specified URL. This article revolves around how one can make PUT request to a specified URL using requests.put() method. Before checking out the PUT method, let’s figure out what a Http PUT request is – PUT is a requ...
[ { "code": null, "e": 28, "s": 0, "text": "\n22 Sep, 2021" }, { "code": null, "e": 322, "s": 28, "text": "Requests library is one of the important aspects of Python for making HTTP requests to a specified URL. This article revolves around how one can make PUT request to a specifie...
Group by clause in MS SQL Server
24 Aug, 2020 Group by clause will be discussed in detail in this article. There are tons of data present in the database system. Even though the data is arranged in form of a table in a proper order, the user at times wants the data in the query to be grouped for easier access. To arrange the data(columns) in form of g...
[ { "code": null, "e": 28, "s": 0, "text": "\n24 Aug, 2020" }, { "code": null, "e": 89, "s": 28, "text": "Group by clause will be discussed in detail in this article." }, { "code": null, "e": 503, "s": 89, "text": "There are tons of data present in the database ...
Python | Creating a button in tkinter
16 Feb, 2021 Tkinter is Python’s standard GUI (Graphical User Interface) package. It is one of the most commonly used packages for GUI applications which comes with Python itself. Let’s see how to create a button using Tkinter. Follow the below steps: Import tkinter module # Tkinter in Python 2.x. (Note Capital T)Cre...
[ { "code": null, "e": 53, "s": 25, "text": "\n16 Feb, 2021" }, { "code": null, "e": 269, "s": 53, "text": "Tkinter is Python’s standard GUI (Graphical User Interface) package. It is one of the most commonly used packages for GUI applications which comes with Python itself. Let’s s...
TypeScript | Array map() Method
17 Feb, 2021 The Array.map() is an inbuilt TypeScript function that is used to create a new array with the results of calling a provided function on every element in this array. Syntax: array.map(callback[, thisObject]) Parameter: This method accepts two parameters as mentioned above and described below: callback : T...
[ { "code": null, "e": 28, "s": 0, "text": "\n17 Feb, 2021" }, { "code": null, "e": 193, "s": 28, "text": "The Array.map() is an inbuilt TypeScript function that is used to create a new array with the results of calling a provided function on every element in this array." }, { ...
Shared ViewModel in Android
14 Feb, 2022 In android, we can use ViewModel to share data between various fragments or activities by sharing the same ViewModel among all the fragments and they can access everything defined in the ViewModel. This is one way to have communication between fragments or activities. Almost every application has some comm...
[ { "code": null, "e": 52, "s": 24, "text": "\n14 Feb, 2022" }, { "code": null, "e": 411, "s": 52, "text": "In android, we can use ViewModel to share data between various fragments or activities by sharing the same ViewModel among all the fragments and they can access everything de...
Different Types of Functions in Dart
31 Oct, 2021 The function is a set of statements that take inputs, do some specific computation, and produce output. Functions are created when certain statements are repeatedly occurring in the program and a function is created to replace them. Functions make it easy to divide the complex program into smaller sub-grou...
[ { "code": null, "e": 54, "s": 26, "text": "\n31 Oct, 2021" }, { "code": null, "e": 415, "s": 54, "text": "The function is a set of statements that take inputs, do some specific computation, and produce output. Functions are created when certain statements are repeatedly occurring...
Rotation of a point about another point in C++
22 Jun, 2022 We have already discussed the rotation of a point P about the origin in the Set 1 and Set 2. The rotation of point P about origin with an angle θ in the anti-clockwise direction is given as under: Rotation of P about origin: P * polar(1.0, θ) Rotation of P about point Q Now, we have to rotate the point P n...
[ { "code": null, "e": 28, "s": 0, "text": "\n22 Jun, 2022" }, { "code": null, "e": 225, "s": 28, "text": "We have already discussed the rotation of a point P about the origin in the Set 1 and Set 2. The rotation of point P about origin with an angle θ in the anti-clockwise directi...
How to connect WiFi using Python?
23 Aug, 2021 Seeing a computer without an active internet connection today is next to impossible. The Internet has been of the utmost importance in the 21st Century. There are multiple ways one can connect their machine to the Internet. The first being, the traditional cables, i.e. the Ethernet, and the other being, th...
[ { "code": null, "e": 54, "s": 26, "text": "\n23 Aug, 2021" }, { "code": null, "e": 728, "s": 54, "text": "Seeing a computer without an active internet connection today is next to impossible. The Internet has been of the utmost importance in the 21st Century. There are multiple wa...
How to download a file using Node.js?
29 Jan, 2021 Downloading a file using node js can be done using inbuilt packages or with third party libraries. Method 1: Using ‘https’ and ‘fs’ module GET method is used on HTTPS to fetch the file which is to be downloaded. createWriteStream() is a method that is used to create a writable stream and receives only one ...
[ { "code": null, "e": 28, "s": 0, "text": "\n29 Jan, 2021" }, { "code": null, "e": 127, "s": 28, "text": "Downloading a file using node js can be done using inbuilt packages or with third party libraries." }, { "code": null, "e": 167, "s": 127, "text": "Method ...
WebAssembly - WASM
WebAssembly is also called wasm, which is an improvement to Javascript. It is designed to run inside browsers just like javascript and also with nodejs. You happen to get wasm output, when any high level language like C, C++, Rust is compiled. Consider the following C program − int factorial(int n) { if (n == 0) ...
[ { "code": null, "e": 2477, "s": 2233, "text": "WebAssembly is also called wasm, which is an improvement to Javascript. It is designed to run inside browsers just like javascript and also with nodejs. You happen to get wasm output, when any high level language like C, C++, Rust is compiled." }, {...
jQuery - ajaxStart( callback ) Method
The ajaxStart( callback ) method attaches a function to be executed whenever an AJAX request begins and there is none already active. This is an Ajax Event. Here is the simple syntax to use this method − $(document).ajaxStart( callback ) Here is the description of all the parameters used by this method − callback − Th...
[ { "code": null, "e": 2479, "s": 2322, "text": "The ajaxStart( callback ) method attaches a function to be executed whenever an AJAX request begins and there is none already active. This is an Ajax Event." }, { "code": null, "e": 2526, "s": 2479, "text": "Here is the simple syntax...
Adaptive Software Development (ASD) - GeeksforGeeks
20 Nov, 2021 Adaptive Software Development is a method to build complex software and system. ASD focuses on human collaboration and self-organization. ASD “life cycle” incorporates three phases namely: 1. Speculation 2. Collaboration 3. Learning These are explained as following below. 1. Speculation: During this pha...
[ { "code": null, "e": 24205, "s": 24177, "text": "\n20 Nov, 2021" }, { "code": null, "e": 24395, "s": 24205, "text": "Adaptive Software Development is a method to build complex software and system. ASD focuses on human collaboration and self-organization. ASD “life cycle” incorpor...
Python - Extract Emails from Text
To extract emails form text, we can take of regular expression. In the below example we take help of the regular expression package to define the pattern of an email ID and then use the findall() function to retrieve those text which match this pattern. import re text = "Please contact us at contact@tutorialspoint.com ...
[ { "code": null, "e": 2841, "s": 2587, "text": "To extract emails form text, we can take of regular expression. In the below example we take help of the regular expression package to define the pattern of an email ID and then use the findall() function to retrieve those text which match this pattern....
Tryit Editor v3.7
CSS Attr Selectors Tryit: The [attribute] selector
[ { "code": null, "e": 28, "s": 9, "text": "CSS Attr Selectors" } ]
Validate the first name and last name with Java Regular Expressions
In order to match the first name and last name using regular expression, we use the matches method in Java. The java.lang.String.matches() method returns a boolean value which depends on the matching of the String with the regular expression. Declaration −The java.lang.String.matches() method is declared as follows − p...
[ { "code": null, "e": 1305, "s": 1062, "text": "In order to match the first name and last name using regular expression, we use the matches method in Java. The java.lang.String.matches() method returns a boolean value which depends on the matching of the String with the regular expression." }, { ...
Create Different Types of Cells
How to create different types of cells in a spreadsheet using Java. Following is the program to create different types of cells in a spreadsheet using Java. import java.io.File; import java.io.FileOutputStream; import java.util.Date; import org.apache.poi.xssf.usermodel.XSSFCell; import org.apache.poi.xssf.usermodel.X...
[ { "code": null, "e": 2136, "s": 2068, "text": "How to create different types of cells in a spreadsheet using Java." }, { "code": null, "e": 2225, "s": 2136, "text": "Following is the program to create different types of cells in a spreadsheet using Java." }, { "code": nul...
ROC Curve explained using a COVID-19 hypothetical example: Binary & Multi-Class Classification tutorial | by Serafeim Loukas | Towards Data Science
In 99% of the cases where a machine learning classification model is used, people report its ROC curve plot (as well as the AUC: area under the ROC) along with other metrics such as the accuracy of the model or the confusion matrix. But what is a ROC curve? What does it tell us? Why everyone is using them? How is it co...
[ { "code": null, "e": 405, "s": 172, "text": "In 99% of the cases where a machine learning classification model is used, people report its ROC curve plot (as well as the AUC: area under the ROC) along with other metrics such as the accuracy of the model or the confusion matrix." }, { "code": ...
How to animate a scatter plot in Matplotlib?
Using the FuncAnimation method of matplotlib, we can animate the diagram. We can pass a user defined method where we will be changing the position of the particles, and at the end, we will return plot type. Get the particle's initial position, velocity, force, and size. Get the particle's initial position, velocity, fo...
[ { "code": null, "e": 1269, "s": 1062, "text": "Using the FuncAnimation method of matplotlib, we can animate the diagram. We can pass a user defined method where we will be changing the position of the particles, and at the end, we will return plot type." }, { "code": null, "e": 1333, ...
MomentJS - Checking current locale
We can check the current locale using moment.locale(). moment.locale(); moment.locale('fr'); var k = moment.locale(); moment.locale('fr'); var k = moment.locale(); moment.locale('ja'); var s = moment.locale(); moment.locales() gives the list of all the locales available for use or which are loaded. Observe the followi...
[ { "code": null, "e": 2015, "s": 1960, "text": "We can check the current locale using moment.locale()." }, { "code": null, "e": 2033, "s": 2015, "text": "moment.locale();\n" }, { "code": null, "e": 2079, "s": 2033, "text": "moment.locale('fr');\nvar k = moment....
Most Frequent Number in Intervals in C++
Suppose we have a list of lists of integers intervals where each element has interval like [start, end]. We have to find the most frequently occurred number in the intervals. If there are ties, then return the smallest number. So, if the input is like [[2, 5],[4, 6],[7, 10],[8, 10]], then the output will be 4 To solve ...
[ { "code": null, "e": 1289, "s": 1062, "text": "Suppose we have a list of lists of integers intervals where each element has interval like [start, end]. We have to find the most frequently occurred number in the intervals. If there are ties, then return the smallest number." }, { "code": null...
Transform nested array into normal array with JavaScript?
Let’s say the following is our nested array − const arrayObject = [ [ { Name: "John" }, { countryName: "US" } ], [ { subjectName: "JavaScript" }, { teacherName: "Mike" } ] ]; To transform nested array into normal array, use ...
[ { "code": null, "e": 1108, "s": 1062, "text": "Let’s say the following is our nested array −" }, { "code": null, "e": 1333, "s": 1108, "text": "const arrayObject = [\n [\n {\n Name: \"John\"\n },\n {\n countryName: \"US\"\n }\n ],\n [\n ...
How to MySQL SELECT by month?
To select by month, use MONTH() function. Let us first create a table − mysql> create table DemoTable1599 -> ( -> Shippingdate datetime -> ); Query OK, 0 rows affected (0.78 sec) Insert some records in the table using insert command − mysql> insert into DemoTable1599 values('2019-10-21'); Query OK, 1 row affec...
[ { "code": null, "e": 1134, "s": 1062, "text": "To select by month, use MONTH() function. Let us first create a table −" }, { "code": null, "e": 1250, "s": 1134, "text": "mysql> create table DemoTable1599\n -> (\n -> Shippingdate datetime\n -> );\nQuery OK, 0 rows affected (...
C# program to count number of bytes in an array
Set a byte array − byte[] b = { 5, 9, 19, 23, 29, 35, 55, 78 }; To count number of bytes − Buffer.ByteLength(b) The following is the code − Live Demo using System; class Program { static void Main() { byte[] b = { 5, 9, 19, 23, 29, 35, 55, 78 }; int len = Buffer.ByteLength(b); for (int i = 0; i < ...
[ { "code": null, "e": 1081, "s": 1062, "text": "Set a byte array −" }, { "code": null, "e": 1126, "s": 1081, "text": "byte[] b = { 5, 9, 19, 23, 29, 35, 55, 78 };" }, { "code": null, "e": 1153, "s": 1126, "text": "To count number of bytes −" }, { "code"...
Reinforcement Learning in a few lines of code | by Maarten Grootendorst | Towards Data Science
Reinforcement learning has seen major improvements over the last year with state-of-the-art methods coming out on a bi-monthly basis. We have seen AlphaGo beat world champion Go player Ke Jie, Multi-Agents play Hide and Seek, and even AlphaStar competitively hold its own in Starcraft. Implementing these algorithms can ...
[ { "code": null, "e": 332, "s": 46, "text": "Reinforcement learning has seen major improvements over the last year with state-of-the-art methods coming out on a bi-monthly basis. We have seen AlphaGo beat world champion Go player Ke Jie, Multi-Agents play Hide and Seek, and even AlphaStar competitive...
Python Program for Binary Insertion Sort
In this article, we will learn about the solution to the problem statement given below. Problem statement − We are given an array, we need to sort it using the concept of binary insertion sort. Here as the name suggests, we use the concept of the binary search along with the insertion sort algorithm. Now let’s observe ...
[ { "code": null, "e": 1150, "s": 1062, "text": "In this article, we will learn about the solution to the problem statement given below." }, { "code": null, "e": 1256, "s": 1150, "text": "Problem statement − We are given an array, we need to sort it using the concept of binary inse...
Anomaly Detection for Dummies. Unsupervised Anomaly Detection for... | by Susan Li | Towards Data Science
Anomaly detection is the process of identifying unexpected items or events in data sets, which differ from the norm. And anomaly detection is often applied on unlabeled data which is known as unsupervised anomaly detection. Anomaly detection has two basic assumptions: Anomalies only occur very rarely in the data. Their...
[ { "code": null, "e": 440, "s": 171, "text": "Anomaly detection is the process of identifying unexpected items or events in data sets, which differ from the norm. And anomaly detection is often applied on unlabeled data which is known as unsupervised anomaly detection. Anomaly detection has two basic...
Generate random string/characters in JavaScript?
To generate random string/ characters in JavaScript, use Math.random(). We are generating 6 random characters here from the following characters − 'ABCDEFGHIJKLMNOabcdefghijklmnopqrstuvwxyzPQRSTUVWXYZ'; Following is the code − function generateRandomNumber(numberOfCharacters) { var randomValues = ''; var stringVa...
[ { "code": null, "e": 1209, "s": 1062, "text": "To generate random string/ characters in JavaScript, use Math.random(). We are generating 6 random characters here from the following characters −" }, { "code": null, "e": 1265, "s": 1209, "text": "'ABCDEFGHIJKLMNOabcdefghijklmnopqrs...
sympy.stats.FDistribution() in python - GeeksforGeeks
05 Jun, 2020 With the help of sympy.stats.FDistribution() method, we can get the continuous random variable representing the F distribution. Syntax : sympy.stats.FDistribution(name, d1, d2)Where, d1 and d2 denotes the degree of freedom.Return : Return continuous random variable. Example #1 :In this example we can see t...
[ { "code": null, "e": 25045, "s": 25017, "text": "\n05 Jun, 2020" }, { "code": null, "e": 25173, "s": 25045, "text": "With the help of sympy.stats.FDistribution() method, we can get the continuous random variable representing the F distribution." }, { "code": null, "e"...
Git Getting Started
You can download Git for free from the following website: https://www.git-scm.com/ To start using Git, we are first going to open up our Command shell. For Windows, you can use Git bash, which comes included in Git for Windows. For Mac and Linux you can use the built-in terminal. The first thing we need to do, is to c...
[ { "code": null, "e": 83, "s": 0, "text": "You can download Git for free from the following website: https://www.git-scm.com/" }, { "code": null, "e": 152, "s": 83, "text": "To start using Git, we are first going to open up our Command shell." }, { "code": null, "e": 2...
How to take care of SSL certificate issues in chrome browser in Selenium?
We can face SSL certificate issue because of the reasons listed below − While the website was developed, its SSL certificate was not proper. While the website was developed, its SSL certificate was not proper. The site may have a self-signed certificate. The site may have a self-signed certificate. SSL not configured p...
[ { "code": null, "e": 1134, "s": 1062, "text": "We can face SSL certificate issue because of the reasons listed below −" }, { "code": null, "e": 1203, "s": 1134, "text": "While the website was developed, its SSL certificate was not proper." }, { "code": null, "e": 1272...
Convert.ToDecimal(String, IFormatProvider) Method in C#
The Convert.ToDecimal() method in C# converts the specified string representation of a number to an equivalent decimal number, using the specified culture-specific formatting information. Following is the syntax − public static decimal ToDecimal (string val, IFormatProvider provider); Above, Val is a string that contai...
[ { "code": null, "e": 1250, "s": 1062, "text": "The Convert.ToDecimal() method in C# converts the specified string representation of a number to an equivalent decimal number, using the specified culture-specific formatting information." }, { "code": null, "e": 1276, "s": 1250, "te...
How to write files to asset folder in android?
This example demonstrates how do I write files to asset folder in android. Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main.xml. <?xml version="1.0" encoding="utf-8"?> <RelativeLay...
[ { "code": null, "e": 1137, "s": 1062, "text": "This example demonstrates how do I write files to asset folder in android." }, { "code": null, "e": 1266, "s": 1137, "text": "Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to ...
Communication between components using $emit and props in Vue.js - GeeksforGeeks
12 Dec, 2021 Components in Vue.js need to share data with each other sometimes in order to give the desired output. Components in a webpage are in a hierarchical order like a tree. The most basic way of interacting and passing data between components is using $emit and props. $emit and props: In Vue.js, we use $emit to...
[ { "code": null, "e": 24894, "s": 24866, "text": "\n12 Dec, 2021" }, { "code": null, "e": 25158, "s": 24894, "text": "Components in Vue.js need to share data with each other sometimes in order to give the desired output. Components in a webpage are in a hierarchical order like a t...
Word Wrap | Practice | GeeksforGeeks
Given an array nums[] of size n, where nums[i] denotes the number of characters in one word. Let K be the limit on the number of characters that can be put in one line (line width). Put line breaks in the given sequence such that the lines are printed neatly. Assume that the length of each word is smaller than the line...
[ { "code": null, "e": 746, "s": 238, "text": "Given an array nums[] of size n, where nums[i] denotes the number of characters in one word. Let K be the limit on the number of characters that can be put in one line (line width). Put line breaks in the given sequence such that the lines are printed nea...
C# Program to convert Digits to Words
Firstly, declare the words from 0 to 9 − // words for every digits from 0 to 9 string[] digits_words = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" }; The following are the digits to be converted to words − // number to be converted into words val = 4677; Console.WriteLine("...
[ { "code": null, "e": 1103, "s": 1062, "text": "Firstly, declare the words from 0 to 9 −" }, { "code": null, "e": 1258, "s": 1103, "text": "// words for every digits from 0 to 9\nstring[] digits_words = { \"zero\", \"one\", \"two\",\n \"three\", \"four\", \"five\",\n \"six\", ...
Program to Implement NFA with epsilon move to DFA Conversion - GeeksforGeeks
20 Feb, 2018 Non-determinestic Finite Automata (NFA) : NFA is a finite automaton where for some cases when a single input is given to a single state, the machine goes to more than 1 states, i.e. some of the moves cannot be uniquely determined by the present state and the present input symbol. An NFA can be represented ...
[ { "code": null, "e": 29834, "s": 29806, "text": "\n20 Feb, 2018" }, { "code": null, "e": 30115, "s": 29834, "text": "Non-determinestic Finite Automata (NFA) : NFA is a finite automaton where for some cases when a single input is given to a single state, the machine goes to more t...
Espresso Testing Framework - View Matchers
Espresso framework provides many view matchers. The purpose of the matcher is to match a view using different attributes of the view like Id, Text, and availability of child view. Each matcher matches a particular attributes of the view and applies to particular type of view. For example, withId matcher matches the Id ...
[ { "code": null, "e": 2435, "s": 1976, "text": "Espresso framework provides many view matchers. The purpose of the matcher is to match a view using different attributes of the view like Id, Text, and availability of child view. Each matcher matches a particular attributes of the view and applies to p...
Ngx-Bootstrap - Sortable
ngx-bootstrap sortable component provides a configurable sortable component, with drag drop support. bs-sortable bs-sortable fieldName − string, field name if input array consists of objects. fieldName − string, field name if input array consists of objects. itemActiveClass − string, class name for active item. itemAct...
[ { "code": null, "e": 2201, "s": 2100, "text": "ngx-bootstrap sortable component provides a configurable sortable component, with drag drop support." }, { "code": null, "e": 2213, "s": 2201, "text": "bs-sortable" }, { "code": null, "e": 2225, "s": 2213, "text":...
How to create a responsive navigation bar with dropdown in CSS?
Following is the code to create a responsive navigation bar with dropdown − Live Demo <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1" /> <style> *,*::after,*::before{ box-sizing: border-box; } .menu-btn { font-size: 18px; font-weight: bold; display: inline-...
[ { "code": null, "e": 1138, "s": 1062, "text": "Following is the code to create a responsive navigation bar with dropdown −" }, { "code": null, "e": 1149, "s": 1138, "text": " Live Demo" }, { "code": null, "e": 3561, "s": 1149, "text": "<!DOCTYPE html>\n<html>\...
Item-Based Collaborative Filtering in Python | by Yohan Jeong | Towards Data Science
Item-based collaborative filtering is the recommendation system to use the similarity between items using the ratings by users. In this article, I explain its basic concept and practice how to make the item-based collaborative filtering using Python. The fundamental assumption for this method is that a user gives simil...
[ { "code": null, "e": 423, "s": 172, "text": "Item-based collaborative filtering is the recommendation system to use the similarity between items using the ratings by users. In this article, I explain its basic concept and practice how to make the item-based collaborative filtering using Python." }...
PHP | base64_encode() Function - GeeksforGeeks
14 Aug, 2018 The base64_encode() function is an inbuilt function in PHP which is used to Encodes data with MIME base64. MIME (Multipurpose Internet Mail Extensions) base64 is used to encode the string in base64. The base64_encoded data takes 33% more space then original data. Syntax: string base64_encode( $data ) Param...
[ { "code": null, "e": 25164, "s": 25136, "text": "\n14 Aug, 2018" }, { "code": null, "e": 25428, "s": 25164, "text": "The base64_encode() function is an inbuilt function in PHP which is used to Encodes data with MIME base64. MIME (Multipurpose Internet Mail Extensions) base64 is u...
Big Data Analytics - K-Means Clustering
k-means clustering aims to partition n observations into k clusters in which each observation belongs to the cluster with the nearest mean, serving as a prototype of the cluster. This results in a partitioning of the data space into Voronoi cells. Given a set of observations (x1, x2, ..., xn), where each observation i...
[ { "code": null, "e": 2802, "s": 2554, "text": "k-means clustering aims to partition n observations into k clusters in which each observation belongs to the cluster with the nearest mean, serving as a prototype of the cluster. This results in a partitioning of the data space into Voronoi cells." },...
Differences between CSS and PHP - GeeksforGeeks
15 Sep, 2020 CSS: CSS stands for Cascading Style Sheet, it is a style sheet language used to shape the HTML elements that will be displayed in the browsers as a web-page. By using CSS, the website which has been created by using HTML will look attractive. Basically CSS gives the outer cover on any HTML elements. If you...
[ { "code": null, "e": 25608, "s": 25580, "text": "\n15 Sep, 2020" }, { "code": null, "e": 26063, "s": 25608, "text": "CSS: CSS stands for Cascading Style Sheet, it is a style sheet language used to shape the HTML elements that will be displayed in the browsers as a web-page. By us...
JSP - Http Status Codes
In this chapter, we will discuss the Http Status Codes in JSP. The format of the HTTP request and the HTTP response messages are similar and will have the following structure − An initial status line + CRLF (Carriage Return + Line Feed ie. New Line) An initial status line + CRLF (Carriage Return + Line Feed ie. New Lin...
[ { "code": null, "e": 2416, "s": 2239, "text": "In this chapter, we will discuss the Http Status Codes in JSP. The format of the HTTP request and the HTTP response messages are similar and will have the following structure −" }, { "code": null, "e": 2489, "s": 2416, "text": "An in...
Tree and Distance | Practice | GeeksforGeeks
Given a tree with N nodes rooted at 1, the task is to find the maximum distance of node X from any other node Note: All the nodes are numbered from 1 to N. Input: 1. The first line of the input contains a single integer T denoting the number of test cases. The description of T test cases follows. 2. The first line ...
[ { "code": null, "e": 384, "s": 226, "text": "Given a tree with N nodes rooted at 1, the task is to find the maximum distance of node X from any other node\n\nNote: All the nodes are numbered from 1 to N. " }, { "code": null, "e": 717, "s": 384, "text": "Input: \n1. The first line...
Kali Linux - Information Gathering Tools
In this chapter, we will discuss the information gathering tools of Kali Linux. NMAP and ZenMAP are useful tools for the scanning phase of Ethical Hacking in Kali Linux. NMAP and ZenMAP are practically the same tool, however NMAP uses command line while ZenMAP has a GUI. NMAP is a free utility tool for network discover...
[ { "code": null, "e": 2109, "s": 2029, "text": "In this chapter, we will discuss the information gathering tools of Kali Linux." }, { "code": null, "e": 2301, "s": 2109, "text": "NMAP and ZenMAP are useful tools for the scanning phase of Ethical Hacking in Kali Linux. NMAP and Zen...
Order strings by length of characters IN mYsql?
You can order by length of characters with the help of CHAR_LENGTH() function from MySQL. The function returns the number of characters i.e. 4 for the following string − AMIT To order strings by length of characters, the following is the syntax − select *from yourTableName order by CHAR_LENGTH(yourColumnName); To under...
[ { "code": null, "e": 1232, "s": 1062, "text": "You can order by length of characters with the help of CHAR_LENGTH() function from MySQL. The function returns the number of characters i.e. 4 for the following string −" }, { "code": null, "e": 1237, "s": 1232, "text": "AMIT" }, ...
Getting started with planned contrasts in R | Towards Data Science
It’s a situation many of us face: You just ran an ANOVA, and your results are significant... but what next? We basically know that something is going on, but what exactly? Which treatments are making the difference? This is where planned contrasts come in. They sound more complicated than they are, and they are a flexi...
[ { "code": null, "e": 387, "s": 171, "text": "It’s a situation many of us face: You just ran an ANOVA, and your results are significant... but what next? We basically know that something is going on, but what exactly? Which treatments are making the difference?" }, { "code": null, "e": 56...
C++ Ostream Library - put
It is used to inserts character c into the stream.this function accesses the output sequence by first constructing a sentry object. Then (if good), it inserts c into its associated stream buffer object as if calling its member function sputc, and finally destroys the sentry object before returning. Following is the dec...
[ { "code": null, "e": 2903, "s": 2603, "text": "It is used to inserts character c into the stream.this function accesses the output sequence by first constructing a sentry object. Then (if good), it inserts c into its associated stream buffer object as if calling its member function sputc, and finall...
Multidimensional array in Java
Following is a simple example of a multi-dimensional array. Live Demo public class Tester { public static void main(String[] args) { int[][] multidimensionalArray = { {1,2},{2,3}, {3,4} }; for(int i = 0 ; i < 3 ; i++){ //row for(int j = 0 ; j < 2; j++){ System.out.pri...
[ { "code": null, "e": 1123, "s": 1062, "text": "Following is a simple example of a multi-dimensional array. " }, { "code": null, "e": 1133, "s": 1123, "text": "Live Demo" }, { "code": null, "e": 1478, "s": 1133, "text": "public class Tester {\n public static ...
How can we run Matplotlib in Tkinter?
Python Matplotlib library is helpful in many applications for visualizing the given data and information in terms of graphs and plots. It is possible to run matplotlib in a Tkinter application. Generally, importing any Python library explicitly in an application gives access to all its functions and modules in the libr...
[ { "code": null, "e": 1387, "s": 1062, "text": "Python Matplotlib library is helpful in many applications for visualizing the given data and information in terms of graphs and plots. It is possible to run matplotlib in a Tkinter application. Generally, importing any Python library explicitly in an ap...
Add multiple number input fields with JOptionPane and display the sum in Console with Java
At first, set multiple number input fields − JTextField text1 = new JTextField(10); JTextField text2 = new JTextField(10); JTextField text3 = new JTextField(10); JTextField text4 = new JTextField(10); JTextField text5 = new JTextField(10); JTextField text6 = new JTextField(10); JTextField text7 = new JTextField(10); JT...
[ { "code": null, "e": 1107, "s": 1062, "text": "At first, set multiple number input fields −" }, { "code": null, "e": 1563, "s": 1107, "text": "JTextField text1 = new JTextField(10);\nJTextField text2 = new JTextField(10);\nJTextField text3 = new JTextField(10);\nJTextField text4 ...
8085 program to divide two 16 bit numbers - GeeksforGeeks
26 Jul, 2021 Problem – Write an assembly language program in 8085 microprocessor to divide two 16 bit numbers. Assumption – Starting address of program: 2000 Input memory location: 2050, 2051, 2052, 2053 Output memory location: 2054, 2055, 2056, 2057. Example – INPUT: (2050H) = 04H (2051H) = 00...
[ { "code": null, "e": 24780, "s": 24752, "text": "\n26 Jul, 2021" }, { "code": null, "e": 24879, "s": 24780, "text": "Problem – Write an assembly language program in 8085 microprocessor to divide two 16 bit numbers. " }, { "code": null, "e": 24894, "s": 24879, ...
Manage Your Entire R Code Base With TODOr | by Bryan Jenks | Towards Data Science
Never forget to fix your FIXME's or do your TODO's ever again! TODOr Is an incredibly helpful R Package and RStudio Add in that makes the management of all of your developer comments incredibly easy. “I need to remember to fix this bug...” mean[1] # FIXME: This doesn't work#> Error in mean[1] : object of type 'closure'...
[ { "code": null, "e": 110, "s": 47, "text": "Never forget to fix your FIXME's or do your TODO's ever again!" }, { "code": null, "e": 247, "s": 110, "text": "TODOr Is an incredibly helpful R Package and RStudio Add in that makes the management of all of your developer comments incr...
Channel in Golang - GeeksforGeeks
20 Nov, 2019 In Go language, a channel is a medium through which a goroutine communicates with another goroutine and this communication is lock-free. Or in other words, a channel is a technique which allows to let one goroutine to send data to another goroutine. By default channel is bidirectional, means the goroutines...
[ { "code": null, "e": 24932, "s": 24904, "text": "\n20 Nov, 2019" }, { "code": null, "e": 25319, "s": 24932, "text": "In Go language, a channel is a medium through which a goroutine communicates with another goroutine and this communication is lock-free. Or in other words, a chann...
A Short Introduction to ggvis in R | Towards Data Science
The Grammar of Graphics, the product of Leland Wilkinson’s multi-decade long work and research in the graphics domain, provides the philosophical basis for R graphing libraries such as ggplot2, ggvis and Julia graphing libraries such as Gadfly. Although, there are other libraries which can provide you really amazing gr...
[ { "code": null, "e": 784, "s": 172, "text": "The Grammar of Graphics, the product of Leland Wilkinson’s multi-decade long work and research in the graphics domain, provides the philosophical basis for R graphing libraries such as ggplot2, ggvis and Julia graphing libraries such as Gadfly. Although, ...
7 Best Python Packages Kagglers Are Using Without Telling You | Towards Data Science
Kaggle is a hot spot for what is trending in data science and machine learning. Due to its competitiveness, the top players are constantly looking for new tools, technologies, and frameworks that give them an edge over others. If a new package or an algorithm delivers actionable value, there is a good chance it receive...
[ { "code": null, "e": 251, "s": 171, "text": "Kaggle is a hot spot for what is trending in data science and machine learning." }, { "code": null, "e": 533, "s": 251, "text": "Due to its competitiveness, the top players are constantly looking for new tools, technologies, and framew...
Remove default list-style in Bootstrap
To remove the list styles in Bootstrap, use the .list-unstyled class. You can try to run the following code to implement the .list-unstyled class − Live Demo <!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet"> <script sr...
[ { "code": null, "e": 1132, "s": 1062, "text": "To remove the list styles in Bootstrap, use the .list-unstyled class." }, { "code": null, "e": 1210, "s": 1132, "text": "You can try to run the following code to implement the .list-unstyled class −" }, { "code": null, "e...
How to clear a Tkinter ListBox?
To create a list of items with a scrollable widget, Tkinter provides the Listbox widget. With the Listbox widget, we can create a list that contains items called List items. Depending upon the configuration, the user can select one or multiple items from the list. If we want to clear the items in the Listbox widget, we...
[ { "code": null, "e": 1327, "s": 1062, "text": "To create a list of items with a scrollable widget, Tkinter provides the Listbox widget. With the Listbox widget, we can create a list that contains items called List items. Depending upon the configuration, the user can select one or multiple items fro...