Trending questions in Edureka Community

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,193 views
+1 vote
1 answer

How to get the HTML source of a webpage using Selenium in Java?

There is a method called getPageSource() in ...READ MORE

Jan 11, 2019 in Selenium by Sneha
30,280 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
797 views
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,379 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
897 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
686 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,288 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
994 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,415 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
752 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,316 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
935 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,262 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
944 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,491 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,896 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
947 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
672 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
668 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,062 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,485 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,072 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,359 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,146 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,101 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
931 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,390 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,299 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,047 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
834 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
816 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
651 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
737 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,573 views
+1 vote
1 answer

Not able to browse jenkins from windows browser!

Hi@akhtar, You may get this error because your ...READ MORE

May 4, 2020 in DevOps Tools by MD
• 95,460 points
9,506 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,547 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,322 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,389 views
0 votes
1 answer

Error:jquery each loop return false not end the function

Hii @kartik, Returning from one function doesn't call as it's ...READ MORE

Jun 2, 2020 in JQuery by Niroj
• 82,840 points
8,296 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,031 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,791 views
0 votes
1 answer

How to reset the changes in Git?

Hi@MD, Reset command can be used to undo ...READ MORE

Nov 20, 2020 in Git & GitHub by akhtar
• 38,260 points
914 views
0 votes
1 answer

ModuleNotFoundError: No module named 'pyttsx3' || "Running setup.py install for comtypes ... error" error when installing pyttsx3

Hello, @There It depends on which version of ...READ MORE

Oct 7, 2020 in Python by Gitika
• 65,770 points
2,806 views
0 votes
1 answer

How to Install Java in Windows system?

Hi@akhtar, You can follow the below-given steps to install ...READ MORE

Jul 7, 2020 in Java by MD
• 95,460 points
6,808 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
633 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
894 views
0 votes
1 answer

How to create an account alias in AWS?

Hi@akhtar, You can create an alias for your ...READ MORE

Nov 3, 2020 in AWS by MD
• 95,460 points
1,637 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
624 views
0 votes
1 answer

How to update a firewall rule in GCP Cloud?

Hi@akhtar, You can create a rule that allows TCP ...READ MORE

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

How to set a username in the Git server?

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

Nov 19, 2020 in Git & GitHub by MD
• 95,460 points

edited Nov 19, 2020 by MD 942 views