Trending questions in Edureka Community

0 votes
1 answer

How can I change variables in the .env file dynamically in Laravel?

Hii, You can created the function below: public static ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,840 points
4,456 views
0 votes
1 answer

How to list down all the roles in Ansible?

Hi@akhtar, Ansible role is a part of ansible-galaxy. ...READ MORE

Aug 20, 2020 in Ansible by MD
• 95,460 points
9,024 views
0 votes
1 answer

How to avoid missing module docstring in pylint?

Either write your docs or use a ...READ MORE

Nov 6, 2020 in Python by anonymous
• 65,770 points
5,653 views
0 votes
0 answers

Should I quit my job after 5 months?

I have joined a company as a ...READ MORE

Mar 16, 2021 in Ask us Anything! by anonymous

edited Mar 4 71 views
0 votes
1 answer

How to get the anchor from the URL using jQuery?

Hello @kartik, For current window, you can use this: var ...READ MORE

Oct 9, 2020 in Java-Script by Niroj
• 82,840 points
6,863 views
0 votes
1 answer

Using RELATED function in DAX with USERELATIONSHIP

Here's an example using the AdventureWorksDW data ...READ MORE

Nov 18, 2020 in Power BI by anonymous
• 65,770 points
5,150 views
0 votes
1 answer

How do I use HTML as the view engine in Express?

Hello @kartik, To make the render engine accept ...READ MORE

Jul 17, 2020 in Node-js by Niroj
• 82,840 points
10,479 views
0 votes
1 answer

How to install python package using Ansible playbook?

Hi@akhtar, Ansible has a pip module to install ...READ MORE

Dec 2, 2020 in Ansible by MD
• 95,460 points
4,521 views
0 votes
1 answer

How to write CDATA using SimpleXmlElement?

Hello @kartik, Try this: class MySimpleXMLElement extends SimpleXMLElement{ ...READ MORE

Nov 17, 2020 in PHP by Niroj
• 82,840 points
5,166 views
0 votes
0 answers

How to show separate view for session expiration when session expired? I am using Azure authentication AD with MVC

Please suggest a solution to handle azure ...READ MORE

Mar 16, 2021 in Others by Prabhakaran

edited Mar 4 63 views
0 votes
1 answer

How to know leader information in kafka?

Hi@akhtar, To know leader information you can use ...READ MORE

Feb 10, 2020 in Apache Kafka by MD
• 95,460 points
17,291 views
+1 vote
0 answers

unable to build docker-compose.yml file

I am trying to create container with ...READ MORE

Feb 8, 2021 in Docker by Amit
• 130 points
1,589 views
0 votes
0 answers

Deletion of account

Delete this account, I haven't even created ...READ MORE

Mar 16, 2021 in Others by Mihir

edited Mar 4 62 views
0 votes
1 answer

How to replace html element with ajax response?

Hello @kartik, Assuming you are replacing your products, ...READ MORE

Jul 8, 2020 in Web Development by Niroj
• 82,840 points
10,862 views
0 votes
1 answer

Fatal error: Call to undefined function imap_open() in PHP

Hello @kartik, In Ubuntu for install imap use sudo ...READ MORE

Oct 29, 2020 in PHP by Niroj
• 82,840 points
5,937 views
0 votes
1 answer

How do I pre-populate a jQuery Datepicker textbox with today's date?

Hello @kartik, You must FIRST call datepicker() > then use ...READ MORE

May 29, 2020 in JQuery by Niroj
• 82,840 points
12,553 views
0 votes
0 answers

How to prevent windows users to access external weburl from EC2?

Hi Team, We are using windows based app ...READ MORE

Mar 15, 2021 in AWS by Lakshminarayanan
• 1,370 points

edited Mar 4 63 views
0 votes
2 answers

What's the difference between @JoinColumn and mappedBy when using a JPA @OneToMany association?

JPA mapping annotation can be classified as ...READ MORE

Oct 28, 2020 in Java by bjjj
• 140 points
21,949 views
0 votes
1 answer

How to give approval in declarative Jenkins pipeline?

Here's the steps for manual approval in ...READ MORE

Sep 24, 2020 in Jenkins by Adil
7,466 views
0 votes
1 answer

How to pass an array via $_GET in php?

Hii, You can pass an associative array to http_build_query() and ...READ MORE

Nov 22, 2020 in PHP by Niroj
• 82,840 points
4,881 views
0 votes
0 answers

How to prevent windows users to access web urls through any browser?

Hi team, We are using windows based app ...READ MORE

Mar 15, 2021 in AWS by Lakshminarayanan
• 1,370 points

edited Mar 4 41 views
0 votes
1 answer

How to Get local IP address in node.js?

Hello @kartik, os.networkInterfaces(), — an object, that maps ...READ MORE

Sep 23, 2020 in Java-Script by Niroj
• 82,840 points
7,467 views
0 votes
1 answer

How to set jquery input select all on focus?

Hello @kartik, Try using click instead of focus. It seems to ...READ MORE

Nov 24, 2020 in JQuery by Niroj
• 82,840 points
4,773 views
0 votes
1 answer

How to send a correct authorization header for basic authentication

Hello @kartik, Here is how to do Basic ...READ MORE

Aug 13, 2020 in Python by Niroj
• 82,840 points
9,239 views
0 votes
1 answer

How to download a file by jQuery.Ajax?

Hello @kartik, You don't need to do this ...READ MORE

Sep 18, 2020 in Web Development by Niroj
• 82,840 points
7,646 views
0 votes
1 answer

How to check if a cookie is set in laravel?

Hello @kartik, You can change: @if (Cookie::get('cookiename') !== false) to @if ...READ MORE

Dec 7, 2020 in Laravel by Niroj
• 82,840 points
4,223 views
0 votes
1 answer

How to return custom JSON in Django REST Framework?

Hello @kartik, There are 2 ways to custom ...READ MORE

Jun 25, 2020 in Python by Niroj
• 82,840 points
11,307 views
0 votes
1 answer

I am not able to generate extent report with screenshot in selenium cucumber java .. Please help me out

Hello @kanikahans, You need to define Extent Report ...READ MORE

Aug 24, 2020 in Selenium by Niroj
• 82,840 points
8,748 views
0 votes
1 answer

Error:Relationship method must return an object of type Illuminate\Database\Eloquent\Relations\Relation

Hello @kartik, When you try to access a ...READ MORE

Dec 1, 2020 in Laravel by Niroj
• 82,840 points
4,438 views
0 votes
1 answer

Caused: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.99.102:4243

Hi@akhtar, You may get this error if you ...READ MORE

Jun 4, 2020 in Jenkins by MD
• 95,460 points
12,209 views
0 votes
0 answers

Regarding career in networking and cloud

I just pass out my computer engineering ...READ MORE

Mar 14, 2021 in Career Counselling by Edureka

edited Mar 4 48 views
0 votes
1 answer

Python: ImportError: No module named Crypto.Cipher

Seems like the pycrypto package is not ...READ MORE

Jul 31, 2019 in Python by Hari
25,552 views
0 votes
1 answer

How to get rid of underline for Link component of React Router?

Hello, If you are using styled-components, you could do ...READ MORE

May 18, 2020 in Java-Script by Niroj
• 82,840 points
12,928 views
0 votes
0 answers

can we remove ::before = $0 in selenium

can we remove ::before = $0 in ...READ MORE

Mar 13, 2021 in Selenium by jatin

edited Mar 4 65 views
0 votes
1 answer

How do I run PHP code when a user clicks on a link?

Hello @kartik, You'd need to have a javascript ...READ MORE

Jul 6, 2020 in Java-Script by Niroj
• 82,840 points
10,808 views
0 votes
1 answer

How do I check if file exists in jQuery or pure JavaScript?

Hello @kartik, With jQuery: $.ajax({ url:'http://www.example.com/somefile.ext', ...READ MORE

Oct 5, 2020 in JQuery by Niroj
• 82,840 points
6,891 views
0 votes
1 answer

How to pass arguments to addEventListener listener function?

Hello @kartik, There is absolutely nothing wrong with ...READ MORE

Sep 2, 2020 in Java-Script by Niroj
• 82,840 points
8,274 views
0 votes
1 answer

How to disconnect from tcp socket in NodeJs?

Hello, Try this out: net.createConnection() returns a Socket object. client.destroy() is what ...READ MORE

Nov 30, 2020 in Node-js by Niroj
• 82,840 points
4,469 views
0 votes
3 answers

How to check if a String is numeric in Java?

Check if a string is numeric public class ...READ MORE

Dec 29, 2020 in Java by Carlos
3,129 views
0 votes
1 answer

Error: Catch a thread's exception in the caller thread in Python

The problem is that thread_obj.start() returns immediately. The child ...READ MORE

Nov 2, 2020 in Python by Gitika
• 65,770 points
5,617 views
0 votes
2 answers

5)Using which one of the given choices will you create an RDD with specific partitioning?

Hi, @Ritu, option b for you, as Hash Partitioning ...READ MORE

Nov 23, 2020 in Apache Spark by Gitika
• 65,770 points
4,684 views
0 votes
1 answer

What is `related_name` used for in Django?

Hello @kartik, The related_name attribute specifies the name of the ...READ MORE

Jun 26, 2020 in Python by Niroj
• 82,840 points
11,195 views
0 votes
1 answer

fatal: unable to auto-detect email address (got 'root@xxxxx.(none)')

Hi@akhtar, In the Git server, you need to set ...READ MORE

Nov 19, 2020 in Git & GitHub by MD
• 95,460 points
4,887 views
0 votes
2 answers

I'm a regular BTech student and was wondering how I can stand out from the others?

There are several ways you can stand ...READ MORE

Apr 25, 2023 in Career Counselling by isaashbrowie

edited Mar 5 1,492 views
0 votes
1 answer

Error:django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

Hello @kartik, It looks like you don't have ...READ MORE

Jun 24, 2020 in Python by Niroj
• 82,840 points
11,273 views
0 votes
0 answers

Hadoop : command not found

Hello people... I can access hadoop webui ...READ MORE

Mar 11, 2021 in Big Data Hadoop by talal

edited Mar 4 74 views
0 votes
1 answer

Import error: No module name urllib2

As stated in the urllib2 documentation: The urllib2 module has been split ...READ MORE

May 11, 2020 in Python by Niroj
• 82,840 points
13,159 views
0 votes
1 answer

How to copy static files to build directory with Webpack?

Hello @kartik, Requiring assets using the file-loader module ...READ MORE

Sep 21, 2020 in Java-Script by Niroj
• 82,840 points
7,448 views
0 votes
0 answers

Which is the best institute in Ethical Hacking and Cyber Security

I want to know the best training ...READ MORE

Mar 11, 2021 in Career Counselling by anonymous

edited Mar 4 65 views