Trending questions in Edureka Community

0 votes
1 answer

How can one check to see if a remote file exists using PHP?

Hello @kartik, You can instruct curl to use ...READ MORE

Nov 10, 2020 in PHP by Niroj
• 82,840 points
1,362 views
0 votes
1 answer

How to delete a Git branch remotely?

Hi@akhtar, You can delete the branch locally or ...READ MORE

Nov 21, 2020 in Git & GitHub by MD
• 95,460 points
898 views
0 votes
1 answer

Does array element contain substring?

Loop through the $forbiddennames array and use stripos to check if ...READ MORE

Nov 26, 2020 in Python by Gitika
• 65,770 points
668 views
0 votes
1 answer

Error: Could not create the Java Virtual Machine in Hadoop.

Hi@akhtar, You can list down all the files ...READ MORE

Oct 16, 2020 in Big Data Hadoop by MD
• 95,460 points
2,475 views
0 votes
1 answer

How to recover a dropped stash in Git?

Hi@akhtar, You can create a separate branch for ...READ MORE

Nov 22, 2020 in Git & GitHub by MD
• 95,460 points
878 views
0 votes
1 answer

How to list the subscriptions of a Azure account?

Hi@akhtar, You can get all the subscriptions for ...READ MORE

Nov 10, 2020 in Azure by MD
• 95,460 points

edited Jul 4, 2023 by Khan Sarfaraz 1,360 views
0 votes
1 answer

How to detect a mobile device in PHP?

Hello @kartik, Here is the code: <?php $useragent=$_SERVER['HTTP_USER_AGENT']; if(preg_match('/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( ...READ MORE

Sep 29, 2020 in Laravel by Niroj
• 82,840 points
3,170 views
0 votes
1 answer

Django: Display a custom error message for admin validation error

Hello @kartik, Without looking, it sounds like the ...READ MORE

Jun 12, 2020 in Python by Niroj
• 82,840 points
7,884 views
0 votes
1 answer

Im working at DATA Center from 7 years majorly (1st job) working on all servers (Linux HPUX and AIX and SAN) how to plan my career next ?

Hi@Sunilkumar, As you are already good in Linux system. ...READ MORE

Nov 24, 2020 in Career Counselling by MD
• 95,460 points
772 views
0 votes
1 answer

How to insert value by one post method in 2 table with Django?

try  import-export   library of Django or if you are ...READ MORE

Nov 12, 2020 in Python by Gitika
• 65,770 points
1,268 views
0 votes
1 answer

How to Abort Ajax requests using jQuery?

Hello kartik, Just use ajax.abort(). For example you could ...READ MORE

Apr 27, 2020 in Java-Script by Niroj
• 82,840 points
9,869 views
0 votes
1 answer

Python: TypeError :Cannot cast Index to dtype int

Try to use numpy  and use .astype(np,int) ...READ MORE

Jun 25, 2020 in Python by Sirajul
• 59,230 points
7,323 views
+1 vote
1 answer

How to download a file from NodeJS Server using Express?

Hello @kartik, Express has a helper for this as: app.get('/download', function(req, ...READ MORE

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

ImportError: No module named requests

Hello, To install requests module for Python2: $ sudo apt-get install ...READ MORE

Nov 20, 2020 in Python by Niroj
• 82,840 points
925 views
0 votes
1 answer

How do I parse XML in Python?

First build an Element instance root from the XML, ...READ MORE

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

Getting error while Initialising the Blockchain

Hello, @Edureka, You have two options: Execute with sudo. This ...READ MORE

Sep 17, 2020 in Blockchain by Roshni
• 10,480 points
3,639 views
0 votes
1 answer

How to download hadoop jar files for adding eclipse

Hi@Manl, To import jar file in your Eclipse ...READ MORE

Jul 20, 2020 in Big Data Hadoop by MD
• 95,460 points
6,250 views
0 votes
1 answer

How to unstage a file in Git?

Hi@akhtar, Sometimes we accidentally add files in the ...READ MORE

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

Which version of Automation anywhere is more used now in organizations AA2019 or AA2011 ?

Which version of Automation anywhere is more ...READ MORE

Nov 18, 2020 in RPA by anonymous
• 140 points
1,041 views
0 votes
2 answers

Error saying "ImportError: No module named yaml"

actually this related python pckage in order ...READ MORE

Jul 18, 2020 in Ansible by shivanand
17,871 views
0 votes
1 answer

How do I get a substring of a string in Python?

>>> x = "Hello World!" >>> x[2:] 'llo World!' >>> ...READ MORE

Nov 27, 2020 in Python by Gitika
• 65,770 points
645 views
0 votes
1 answer

Calling a function of a module by using its name (a string).

Assuming module foo with method bar: import foo method_to_call = getattr(foo, 'bar') result ...READ MORE

Nov 25, 2020 in Python by Gitika
• 65,770 points
722 views
0 votes
1 answer

How to add a node pool to the managed Kubernetes cluster in Azure?

Hi@akhtar, You can add an extra node pool ...READ MORE

Nov 17, 2020 in Azure by MD
• 95,460 points
1,048 views
0 votes
1 answer

How to convert bytes to a string?

You need to decode the bytes object ...READ MORE

Nov 26, 2020 in Python by Gitika
• 65,770 points
644 views
0 votes
1 answer

unable to connect to docker container created via docker toolbox from browser of windows 8

Hi@Abhishek, You can't connect the docker container from ...READ MORE

Nov 16, 2020 in Docker by MD
• 95,460 points
1,123 views
0 votes
1 answer

How to create a custom role from a YAML file in GCP?

Hi@akhtar, You can create an IAM role in ...READ MORE

Nov 10, 2020 in GCP by MD
• 95,460 points
1,334 views
0 votes
1 answer

Error:TypeError: Object.values is not a function.

Hello @kartik, Object.values is a new feature . It is ...READ MORE

Oct 15, 2020 in Node-js by Niroj
• 82,840 points
2,456 views
0 votes
1 answer

How to write ansible playbook for storage health checking? Any references?

Why ansible in particular? You can use ...READ MORE

Oct 29, 2020 in Ansible by Lohith
1,864 views
0 votes
1 answer

How to find a Docker container IP address from the command line?

Hi@akhtar, You can use the docker inspect command ...READ MORE

Sep 4, 2020 in Docker by MD
• 95,460 points
4,226 views
0 votes
1 answer

How to download the public key of an asymmetric CMK in AWS KMS?

Hi@akhtar, The following get-public-key example downloads the public key of ...READ MORE

Nov 20, 2020 in AWS by MD
• 95,460 points
914 views
0 votes
1 answer

How to set environment variables in Python?

Hii, Environment variables must be strings, so use os.environ["DEBUSSY"] ...READ MORE

Nov 20, 2020 in Python by Niroj
• 82,840 points
908 views
+1 vote
3 answers

Windows 10 Photos app not working

Same happened with me few days ago. ...READ MORE

Nov 6, 2020 in Software Testing by Logan
• 180 points

edited Sep 6, 2023 by Khan Sarfaraz 1,455 views
0 votes
1 answer

How to generate all permutations of a list?

Hello @kartik, Try this: def permutations(head, tail=''): ...READ MORE

Nov 17, 2020 in Python by Niroj
• 82,840 points
1,023 views
0 votes
1 answer

How to create a commit in AWS CodeCommit?

Hi@akhtar, The following create-commit example demonstrates how to create an ...READ MORE

Nov 23, 2020 in AWS by MD
• 95,460 points
794 views
0 votes
4 answers

Can a fresher get job as AWS Devops Engineer?

Hi, As a fresher if you want to ...READ MORE

Mar 5, 2022 in Career Counselling by Emily
• 140 points
6,271 views
0 votes
1 answer

How can I get a list of locally installed Python modules?

Do not use with pip > 10.0! My ...READ MORE

Nov 26, 2020 in Python by anonymous
• 65,770 points
630 views
0 votes
1 answer

How can I install pip on Windows?

Python 2.7.9+ and 3.4+ Python 3.4 (released March 2014) ...READ MORE

Nov 22, 2020 in Python by Gitika
• 65,770 points
806 views
0 votes
1 answer

How to print prime numbers from 1 to n?

Hello @divyashree def isPrime(n): # ...READ MORE

Oct 13, 2020 in Python by Niroj
• 82,840 points
2,555 views
0 votes
0 answers

NameError: name 'genomic_dna_4' is not defined

I use python for biology and I got ...READ MORE

Nov 10, 2020 in Python by skylar
• 120 points
1,359 views
0 votes
1 answer

How to update a comment on a commit in AWS CodeCommit?

Hi@akhtar, You can replace the contents of a comment. The ...READ MORE

Nov 24, 2020 in AWS by MD
• 95,460 points
713 views
0 votes
1 answer

How to call a parent window function from an iframe?

Hello @kartik, Using Window.postMessage() This method safely enables cross-origin communication. And if ...READ MORE

Sep 3, 2020 in Java-Script by Niroj
• 82,840 points
4,266 views
0 votes
1 answer

R scripts for Importing Data in powerBI?

There may be times when you don’t ...READ MORE

Nov 11, 2020 in Power BI by Gitika
• 65,770 points
1,296 views
0 votes
1 answer

Does Python have a string 'contains' substring method?

You can use the in operator: if "blah" not in ...READ MORE

Nov 26, 2020 in Python by Gitika
• 65,770 points
616 views
0 votes
1 answer

How to use scala Map size() method?

The size() is utilized to find the number of ...READ MORE

Nov 17, 2020 in Big Data Hadoop by Gitika
• 65,770 points
1,001 views
0 votes
1 answer

How to download S3 Objects With Python and Boto3?

Hi@akhtar, You can download one file from a ...READ MORE

Oct 8, 2020 in AWS by MD
• 95,460 points
2,762 views
0 votes
1 answer

Error:Reverse accessor for 'Analysis.assign_user' clashes with reverse accessor for 'Inquiry.assign_user'.

Hello @kartik, The related_name would ensure that the fields were ...READ MORE

Jun 30, 2020 in Python by Niroj
• 82,840 points
7,049 views
0 votes
1 answer

How to find the number of blocks for a file in Hadoop?

Hi@akhtar, You can use Hadoop file system command to ...READ MORE

Oct 13, 2020 in Big Data Hadoop by MD
• 95,460 points
2,513 views
0 votes
1 answer

How can I take a screenshot with Selenium WebDriver?

Yes, it is possible. The following example ...READ MORE

Nov 27, 2020 in Selenium by Gitika
• 65,770 points
607 views
0 votes
1 answer

How to apply a Stash in Git?

Hi@akhtar, In order to apply your Git stash ...READ MORE

Nov 20, 2020 in Git & GitHub by MD
• 95,460 points
870 views
0 votes
1 answer

how to get the RDS snapshot list last 24 hours list by using the lambda functions

Hi@shalk, You can list down your RDS snapshot. ...READ MORE

Sep 24, 2020 in AWS by MD
• 95,460 points
3,352 views