Trending questions in Edureka Community

0 votes
1 answer

C++ auto keyword. Why is it magic?

Auto was a keyword that C++ "inherited" from C and had been around for a long time but was almost never used because there were only two possibilities: it wasn't allowed or it was assumed by default. C++11 introduced the usage of auto to denote an inferred type. Similarly to how template type deduction works for function templates, auto x = initializer deduces the type of x from the type of initializer.  Consider the following function template: template<class T> int whatever(T t) { ...READ MORE

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

How can I get the directory where a Bash script is located from within the script itself?

How do I get the path of ...READ MORE

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

How to convert an array to object in PHP?

This one worked for me function ...READ MORE

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

edited Mar 5 734 views
0 votes
0 answers

Toggle show/hide on click with jQuery

I got a div element, so when I click ...READ MORE

Jun 10, 2022 in JQuery by gaurav
• 23,580 points
1,077 views
0 votes
1 answer

How do I turn a C# object into a JSON string in .NET

Newtonsoft.json can be used to accomplish this. ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
999 views
0 votes
1 answer

The Definitive C++ Book Guide and List

For Beginner (includes those without coding experience) Programming: ...READ MORE

Jun 6, 2022 in C++ by pranav
• 2,590 points
1,387 views
0 votes
1 answer

How to practice a language like C#

I believe you should begin with personal ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
997 views
0 votes
1 answer

Instagram jQuery Search not showing anything

The latest changes in Instagram has affected ...READ MORE

Jun 16, 2022 in JQuery by rajatha
• 7,680 points
847 views
0 votes
0 answers

event.preventDefault() vs. return false

When I want to prevent other event ...READ MORE

Jun 10, 2022 in JQuery by gaurav
• 23,580 points
1,118 views
0 votes
1 answer

How to have image and text side by side?

You're already doing it correctly; the h4>text/h4> ...READ MORE

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

How to join (merge) data frames (inner, outer, left, right)

The merge function and its optional parameters ...READ MORE

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

jQuery $( function() {} ) and $(document).ready the same?

So technically they are both the same. Not ...READ MORE

Jun 13, 2022 in JQuery by rajatha
• 7,680 points
944 views
0 votes
0 answers

oops concept query

This is my oops question. This is my ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points
532 views
0 votes
1 answer

Android Development: Service not registered: com.google.android.gms.common.internal.bf

you may want to try GoogleMapOptions options ...READ MORE

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

Can I display a TV channel from TV tuner card using NodeJS for an Electron APP?

Tvheadend is a streaming server for live ...READ MORE

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

Difference between single and double quotes in Bash

Single statements will not insert anything, yet ...READ MORE

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

Write formula to Excel with Python

Using python to add formulas to an ...READ MORE

Mar 31, 2022 in Database by gaurav
• 23,580 points
4,197 views
0 votes
1 answer

Android backgroud image slow the app

You should have diferentiate sizes for deferent ...READ MORE

Jun 16, 2022 in Others by polo
• 1,480 points
812 views
0 votes
1 answer

What is cool about generics, why use them

Okay. For simplification, I am listing it ...READ MORE

Jun 23, 2022 in C# by krishna
• 2,820 points
776 views
0 votes
0 answers

Simplest way to profile a PHP script

How can I profile a PHP script?  I tried the microtime function: then ...READ MORE

Jun 20, 2022 in PHP by narikkadan
• 86,360 points
663 views
0 votes
0 answers

Generate an N-digit random number

I want to generate a 6-digit random ...READ MORE

Jun 17, 2022 in PHP by narikkadan
• 86,360 points
763 views
0 votes
1 answer

Is it possible to use jQuery .on and hover?

jQuery hover() Method The hover() method specifies two ...READ MORE

Jun 10, 2022 in JQuery by gaurav
• 23,580 points
1,092 views
0 votes
1 answer

Should I use px or rem value units in my CSS?

The answer is yes because using px ...READ MORE

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

Why variance in R is different? [duplicate]

There are usually two methods for calculating ...READ MORE

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

json_decode to array

I want to decode a JSON string ...READ MORE

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

Learning C from a background in C#

I'd like to increase my programming expertise, ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points
523 views
0 votes
1 answer

Why is it not advisable to use attach() in R, and what should I use instead?

There is one more option that applies ...READ MORE

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

Fetch and post text in NodeJS

I'm having problems getting text from an ...READ MORE

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

unique() for more than one variable

df <- data.frame(yad = c("BARBIE", "BARBIE", "BAKUGAN", ...READ MORE

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

R: Comment out block of code [duplicate]

The majority of editors use a short ...READ MORE

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

Bash script command result inside other variable to define prompt

I would like to define a prompt ...READ MORE

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

How To Create Vector of Vector In R

Create a list: List() on x returns x[[1]] ...READ MORE

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

programming logic! :O

I am inside script task of SSIS. ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points
506 views
0 votes
1 answer

online tool for css to scss convertor

Click the URL button, then enter the ...READ MORE

Jun 17, 2022 in CSS by Edureka
• 12,710 points
739 views
0 votes
0 answers

How to detect faulty JPEG in PHP? (Issue with SOFn, DQT or DHT JPEG marker missing before a JPEG SOS marker)

Is there a way to detect if ...READ MORE

Jun 7, 2022 in PHP by Kichu
• 19,040 points
1,107 views
0 votes
1 answer

Use of "this" keyword in C++ [duplicate]

Yes, it is optional and generally omitted.  However, it may be essential for accessing variables after they have been overridden in the scope: Person::Person() { int age; ...READ MORE

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

Difference between the == and %in% operators in R

percent in percent "returns a vector of ...READ MORE

Jun 20, 2022 in Data Science by Sohail
• 3,040 points
1,017 views
0 votes
0 answers

Laravel/ MSSQL (AWS RDS) General error: 20018 Unicode data

I'm using SQL Server with a Laravel ...READ MORE

Apr 25, 2022 in AWS by Aditya
• 7,680 points
1,460 views
0 votes
0 answers

Cant Find Xampp setup for windows 32 bit (Php 7.3.2 )

I downloaded a 64-bit version of xampp ...READ MORE

Jun 7, 2022 in PHP by Kichu
• 19,040 points
1,223 views
0 votes
1 answer

Compare $1 with another string in bash

The explanation $1 doesn't match is on ...READ MORE

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

How To login to azure kubernetes cluster?

Run az login to authenticate to Azure. Run az aks get-credentials to ...READ MORE

Apr 1, 2022 in Azure by Edureka
• 12,710 points
4,100 views
0 votes
1 answer

Azure AD SAML with React and Nodejs - auto login with azure portal

You just need to configure your web ...READ MORE

Apr 7, 2022 in Azure by Edureka
• 12,710 points
3,819 views
0 votes
0 answers

Filter array by its keys using an array of allowed keys

The callback function in array_filter() only passes in the ...READ MORE

Jun 20, 2022 in PHP by narikkadan
• 86,360 points
534 views
0 votes
1 answer

Is there any way to animate an ellipsis with CSS animations?

You might try to time each ellipsis ...READ MORE

May 27, 2022 in CSS by Edureka
• 12,710 points
1,647 views
0 votes
0 answers

Using session_name() in PHP - Cannot Access Data

When I use: session_name( 'fObj' ); session_start(); _SESSION['foo'] = 'bar'; Subsequently ...READ MORE

Jun 20, 2022 in PHP by Kithuzzz
• 38,000 points
573 views
0 votes
0 answers

Difference between docker rm IMAGE vs docker rmi IMAGE

docker image rm "Remove one or more ...READ MORE

Apr 18, 2022 in Docker by pranav
• 2,590 points
3,120 views
0 votes
1 answer

What does -f mean in bash

Luckily, the Bash Reference Manual is accessible ...READ MORE

Jun 10, 2022 in Linux Administration by Korak
• 5,820 points
1,040 views
0 votes
0 answers

Eclipse "Error: Could not find or load main class"

I have a project on my laptop ...READ MORE

May 7, 2022 in Java by narikkadan
• 86,360 points
2,486 views
0 votes
1 answer

df -h if freespace equals then | bash

Try this out: destination="$HOME/Desktop/sandbox" freespace="$(df -h / | tail ...READ MORE

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

How to sort dates from Oldest to Newest in Excel?

Drag down the column to select the ...READ MORE

Feb 23, 2022 in Database by gaurav
• 23,580 points
5,634 views