Trending questions in Edureka Community

0 votes
0 answers

Publish NodeJS Server Online

I'm having trouble port forwarding my modem ...READ MORE

Jun 21, 2022 in Node-js by Vaani
• 7,070 points
711 views
0 votes
1 answer

Launching Google Maps Directions via an intent on Android

We can open Google Maps app using ...READ MORE

Jun 1, 2022 in Others by nisha
• 2,210 points
1,531 views
0 votes
1 answer

Add two lines on graph using abline in R

I am using "y 0+x" to fit ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
771 views
0 votes
1 answer

How to use enums in C++

This will be sufficient to declare your ...READ MORE

Jun 20, 2022 in C++ by Damon
• 4,960 points
813 views
0 votes
0 answers

How to crop screenshot or image (.png) in nodejs?

Consider a image file .png Consider you have ...READ MORE

Jun 21, 2022 in Node-js by Vaani
• 7,070 points
708 views
0 votes
0 answers

Explicitly calling return in a function or not

A while back, Simon Urbanek from the ...READ MORE

Jul 6, 2022 in Data Science by avinash
• 1,840 points

edited Mar 4 59 views
0 votes
0 answers

zodiac sign calculator using bash script

#!/usr/bin/bash echo "This is a zodiac sign calculator" echo ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
654 views
0 votes
1 answer

What is the best way to use a HashMap in C++?

The ordered and unordered map containers (std::map and std::unordered map) are included in the standard library.  The items in an ordered map are sorted by key, and insert and access are in O (log n).  For ordered maps, the standard library often use red black trees.  However, this is only an implementation detail.  Insert and access are in O in an unordered map (1).  It is simply another term for a hashtable. An illustration using (ordered) std::map: #include <map> #include <iostream> #include <cassert> int main(int argc, char ...READ MORE

Jun 10, 2022 in C++ by Damon
• 4,960 points
1,163 views
0 votes
0 answers

How Can I add HTML And CSS Into PDF

The HTML document I have renders perfectly fine ...READ MORE

Jun 26, 2022 in PHP by narikkadan
• 63,600 points
505 views
0 votes
0 answers

How to detect the OS from a Bash script?

I would like to keep my .bashrc and .bash_login files in ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
693 views
0 votes
1 answer

How to increase maximum execution time in php

Add this at the top of your PHP ...READ MORE

Jun 18, 2022 in PHP by Kithuzzz
• 38,000 points

edited Mar 5 830 views
0 votes
1 answer

How to generate the "create table" sql statement for an existing table in postgreSQL

Create a table for a demo: CREATE TABLE ...READ MORE

Jun 20, 2022 in Others by nisha
• 2,210 points
718 views
0 votes
0 answers

How to send control+c from a bash script?

I'm starting a number of screens in ...READ MORE

Jun 16, 2022 in Linux Administration by Rahul
• 3,380 points
921 views
0 votes
1 answer

What is a Class and Object in C++?

A Class is like a blueprint, an ...READ MORE

Jun 21, 2022 in C++ by Damon
• 4,960 points
682 views
0 votes
0 answers

can the font type of an Edittext,Radio Button and CheckBox be changed in Android

TextView text = (TextView) layout.findViewById(R.id.text); text.setText(msg); Typeface font = ...READ MORE

Jun 22, 2022 in Others by nisha
• 2,210 points
662 views
0 votes
0 answers

Generate Controller and Model

How can I generate Controller and Model ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 63,600 points
431 views
0 votes
1 answer

std::greater on a an std::pair of a double and a class

std::greater is simply a wrapper for a ...READ MORE

Jun 2, 2022 in C++ by Damon
• 4,960 points
1,475 views
0 votes
1 answer

Java.lang.ClassNotFoundException: com.mysql.jdbc.Driver in Eclipse

Just follow these two steps: Step 1 Add This ...READ MORE

Apr 29, 2022 in Other DevOps Questions by narikkadan
• 63,600 points
2,981 views
0 votes
0 answers

Calculate correlation with cor(), only for numerical columns

I have a dataframe and would like ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
560 views
0 votes
1 answer

Windows git "warning: LF will be replaced by CRLF", is that warning tail backward?

 Depending on the editor you are using, ...READ MORE

Feb 16, 2022 in Others by Aditya
• 7,680 points
6,043 views
0 votes
0 answers

Load csv file in R

Is it possible to import a csv ...READ MORE

Jun 27, 2022 in Data Science by avinash
• 1,840 points
428 views
0 votes
0 answers

Understanding output of rbind function when a list is passed as argument

While using R to practise fundamental matrices ...READ MORE

Jun 24, 2022 in Data Analytics by Avinash
• 1,260 points
558 views
0 votes
1 answer

Installing angularjs with NPM and NODEJS brings an error in ubuntu 16.04

Rename your angular folder to angular-test or ...READ MORE

May 30, 2022 in Node-js by Vaani
• 7,070 points
1,589 views
0 votes
0 answers

Stepwise AIC using forward selection in R

In R, I'm attempting to perform a ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
543 views
0 votes
1 answer

Using dcast to widen a data frame

> dcast(z, id ~ item, value.var="freq") ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
603 views
0 votes
1 answer

JQuery string contains check

In this case, we will use the includes() ...READ MORE

Jun 14, 2022 in JQuery by rajatha
• 7,680 points
934 views
0 votes
0 answers

Open Whatsapp Windows app directly from python program using url

According to this FAQ page of Whatsapp on How to ...READ MORE

Apr 18, 2022 in Python by Edureka
• 13,670 points
1,160 views
0 votes
1 answer

implementing merge sort in C++

To respond to the question:  std::vectorT> is used to create dynamically sized arrays at runtime.  Ideally, you'd use one of these to get feedback.  If not, they are simple to convert.  For instance, you might make two arrays like this: template <typename T> void merge_sort(std::vector<T>& array) { ...READ MORE

Jun 10, 2022 in C++ by Damon
• 4,960 points
1,134 views
0 votes
1 answer

CountifS + multiple criteria + distinct count

Please enter this formula into a blank ...READ MORE

Apr 4, 2022 in Database by Edureka
• 13,690 points
4,001 views
0 votes
1 answer

Create line graph with multiple lines in R

You must first restructure your dataset into ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
649 views
0 votes
0 answers

java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

I am getting this exception when I ...READ MORE

May 7, 2022 in Java by narikkadan
• 63,600 points
2,633 views
0 votes
0 answers

re.sub erroring with "Expected string or bytes-like object"

I tried looping through my function but ...READ MORE

May 7, 2022 in Python by narikkadan
• 63,600 points
2,574 views
0 votes
0 answers

Make vuex store globally available with Vue 3 and typescript (project built with the cli) +solved

How do I make my store globally ...READ MORE

Jul 5, 2022 in TypeSript by Nina
• 3,060 points

edited Mar 4 60 views
0 votes
0 answers

TypeScript: different types for objects with the same shape

I have an is-a relationship type of ...READ MORE

Jul 5, 2022 in TypeSript by Nina
• 3,060 points

edited Mar 4 60 views
0 votes
0 answers

Tinymce editor type in Typescript

Eslint gives me the error Unexpected any. Specify ...READ MORE

Jul 5, 2022 in TypeSript by Nina
• 3,060 points

edited Mar 4 59 views
0 votes
0 answers

Creating a config file in PHP

I am working on creating config file ...READ MORE

Jun 24, 2022 in PHP by narikkadan
• 63,600 points
504 views
0 votes
0 answers

PHP Unset Session Variable

I am working on creating a product ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
1,204 views
0 votes
0 answers

Get row and column indices of matches using `which()`

Say I have some matrix, for example: m ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points

edited Mar 4 64 views
0 votes
0 answers

AWS Javascript SDK V3 with Typescript

Has anyone used AWS javascript sdk v3 ...READ MORE

Jul 5, 2022 in TypeSript by Nina
• 3,060 points

edited Mar 4 57 views
0 votes
0 answers

if, elif, else statement issues in Bash

I can't seem to work out what ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
614 views
0 votes
0 answers

Get row and column indices of matches using `which()`

months and 9 years ago updated ten months ...READ MORE

Jun 27, 2022 in Data Analytics by avinash
• 1,840 points
406 views
0 votes
0 answers

How to use __dir__?

I want to use __dir__. I don't ...READ MORE

Jun 25, 2022 in PHP by narikkadan
• 63,600 points
446 views
0 votes
1 answer

Get array of synonyms from natural nodes's wordnet - NodeJS

You can't return values in an async ...READ MORE

Jun 7, 2022 in Node-js by Neha
• 9,020 points
1,372 views
0 votes
1 answer

C++ interview preparation

I am assuming that this phone interview ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
842 views
0 votes
0 answers

i installed ggplot2 in R then how to solved this error?

>ggplot(data = iris, aes( x = Sepal.Length)) ...READ MORE

Jul 5, 2022 in Others by radhika

edited Mar 4 53 views
0 votes
0 answers

Getting the height and width of an image in Angular using TypeScript

I'm trying to get the width and ...READ MORE

Jul 5, 2022 in TypeSript by Nina
• 3,060 points

edited Mar 4 55 views
0 votes
0 answers

Why 'nrow()' function doesn't seem to work within 'summarise()' function?

See the code below: library(dslabs) data(gapminder) differenceminder percent > percent filter(year% ...READ MORE

Jul 5, 2022 in Data Analytics by avinash
• 1,840 points

edited Mar 4 58 views
0 votes
0 answers

In R, how to get an object's name after it is sent to a function?

I'm trying to find the opposite of ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points

edited Mar 4 57 views
0 votes
1 answer

Making text in one column italics with CSS

What you can do is using the td:nth-child() to ...READ MORE

Jun 17, 2022 in CSS by Edureka
• 12,710 points
784 views
0 votes
1 answer

Difference between :hidden and :not(:visible) in jQuery

During animations that hide an element, the ...READ MORE

Jun 14, 2022 in JQuery by gaurav
• 23,260 points
937 views