Trending questions in Edureka Community

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
2,418 views
0 votes
1 answer

How to know if an object has an attribute in Python?

Try hasattr(): if hasattr(a, 'property'): a.property The ...READ MORE

Dec 2, 2020 in Python by Gitika
• 65,730 points
1,421 views
0 votes
1 answer

How to create a new service in ECS cluster behind a load balancer?

Hi@akhtar, The following create-service example shows how to create a ...READ MORE

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

Display data points below chart when bar is selected.

You can use a matrix visual just ...READ MORE

Nov 12, 2020 in Power BI by Gitika
• 65,730 points
2,283 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 2,366 views
0 votes
1 answer

How to merge two branches using the fast-forward merge strategy in AWS CodeCommit?

Hi@akhtar, The following merge-branches-by-fast-forward example merges the specified ...READ MORE

Nov 24, 2020 in AWS by MD
• 95,460 points
1,796 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,800 points
8,893 views
0 votes
1 answer

How to create nested directories with a single command in linux?

Try this command. mkdir -p /parent_dir/son_dir READ MORE

Oct 19, 2020 in Linux Administration by anonymous
• 19,550 points
3,310 views
0 votes
1 answer

What is the best way to remove accents in a Python unicode string?

Hello @kartik, Some languages have combining diacritics as ...READ MORE

May 11, 2020 in Python by Niroj
• 82,800 points
10,267 views
0 votes
1 answer

How to delete a Cluster Security Group in RedShift?

Hi@akhtar, You can delete an Amazon Redshift security group. The ...READ MORE

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

How to write a Scala program in script mode?

Open notepad and add the following code ...READ MORE

Nov 16, 2020 in Big Data Hadoop by Gitika
• 65,730 points
2,100 views
0 votes
1 answer

How to change block size in Hadoop dynamically?

Hi@akhtar, By default, the block size is 64MB ...READ MORE

Sep 25, 2020 in Big Data Hadoop by akhtar
• 38,260 points
4,352 views
0 votes
1 answer

How to add metadata tags to an AWS DMS resource?

Hi@akhtar, You can add metadata tags to an AWS ...READ MORE

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

How can I determine the direction of a jQuery scroll event?

Hello @kartik, Check current scrollTop vs previous scrollTop var lastScrollTop = 0; $(window).scroll(function(event){ ...READ MORE

Nov 24, 2020 in JQuery by Niroj
• 82,800 points
1,761 views
0 votes
1 answer

How to create an HSM client certificate in AWS RedShift?

Hi@akhtar, You can create an HSM client certificate that ...READ MORE

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

How to access my on premises file server from AWS ?

You can use Amazon FSx for Windows ...READ MORE

Oct 30, 2020 in AWS by Raghwendra
2,835 views
0 votes
1 answer

Unable to find the chromedriver executable

Please download the server from http://code.google.com/p/chromedriver/downloads/list and place it ...READ MORE

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

How to handle frame in WebDriver?

An inline frame acronym as iframe is ...READ MORE

Nov 30, 2020 in Selenium by Gitika
• 65,730 points
1,475 views
0 votes
2 answers

As a DevOps engineer which scripting language should I learn, shell or python ?

Hey, @Shashi, The DevOps position requires you to ...READ MORE

Sep 28, 2020 in Career Counselling by Gitika
• 65,730 points
4,177 views
0 votes
1 answer

What is the Python 3 equivalent of “python -m SimpleHTTPServer”

The SimpleHTTPServer module has been merged into http.server in Python 3.0. ...READ MORE

Nov 28, 2020 in Python by Gitika
• 65,730 points
1,602 views
+4 votes
4 answers

perform Git checkout using Groovy script

To do git commit: def getGitCommit() { ...READ MORE

Dec 6, 2018 in DevOps Tools by Vaidya
37,254 views
0 votes
1 answer

How to properly indent PHP/HTML mixed code?

Hello @kartik, The PHP and the HTML should ...READ MORE

Oct 30, 2020 in PHP by Niroj
• 82,800 points
2,821 views
0 votes
1 answer

error retrieving default location: Resource group 'MyResourceGroup' could not be found in Azure.

Hi@akhtar, I think you don't have the group ...READ MORE

Nov 10, 2020 in Azure by MD
• 95,460 points
2,334 views
0 votes
0 answers

How to create a Kubernetes cluster on Google Cloud using Terraform?

Hi Team, I am new to Terraform. I ...READ MORE

Dec 1, 2020 in Terraform by akhtar
• 38,260 points
1,465 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
4,385 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,800 points
4,142 views
0 votes
1 answer

How to update a CloudFront distribution's default root object?

Hi@akhtar, The following example updates the default root ...READ MORE

Nov 3, 2020 in AWS by MD
• 95,460 points
2,664 views
0 votes
1 answer

How to compare two string with some characters only in python?

You could use in to check if a string ...READ MORE

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

i cannot add chromedriver to my path on mac.what should i do? can you tell me full procedure? i am new to selenium.

Hello @Divya, You can refer this regarding your ...READ MORE

Nov 25, 2020 in Selenium by Niroj
• 82,800 points
1,695 views
0 votes
1 answer

How to run node.js app forever when console is closed?

Hello @kartik, You may also want to consider ...READ MORE

Oct 14, 2020 in Node-js by Niroj
• 82,800 points
3,488 views
0 votes
1 answer

How to regenerate login credentials for an Azure Container Registry?

Hi@akhtar, It is possible that you can renew ...READ MORE

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

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

What is Base class in Selenium and how it works?

Hey Prashant, in Selenium Base class is the main ...READ MORE

Jul 18, 2019 in Selenium by Abha
• 28,140 points
23,113 views
0 votes
1 answer

I am trying to launch browser using testng but not able to execute. Please help me solving this error

Please check your chrome version, launch with ...READ MORE

Aug 25, 2020 in Selenium by Pramod
• 160 points
5,678 views
0 votes
1 answer

Error:getting “ENOTEMPTY: directory not empty, rmdir …” error on installing express in angular CLI app.

Hello Kartik, Use this command : npm install ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,800 points
11,036 views
0 votes
1 answer

How to add a column in Hive table?

Hi@akhtar, You can use the alter table command ...READ MORE

Oct 19, 2020 in Big Data Hadoop by MD
• 95,460 points
3,285 views
0 votes
1 answer

How to add maven goals in Jenkins declarative script?

Have you tries ssh-add? Add maven in global ...READ MORE

Sep 17, 2020 in Jenkins by Jai
4,641 views
0 votes
1 answer

How to delete a file or folder?

os.remove() removes a file. os.rmdir() removes an empty directory. shutil.rmtree() deletes a ...READ MORE

Dec 7, 2020 in Python by Gitika
• 65,730 points
1,159 views
0 votes
1 answer

DynamoDB : The provided key element does not match the schema

The following applies to the Node.js AWS ...READ MORE

Nov 13, 2018 in AWS by Priyaj
• 58,020 points
33,752 views
+1 vote
0 answers
0 votes
1 answer

What does Animal a = (Animal) data[0]; do?

Hello @zaraaq , You can refer this for your ...READ MORE

Dec 2, 2020 in Java by Niroj
• 82,800 points
1,361 views
0 votes
0 answers

convert dictionary in python

can you please help me on this. ...READ MORE

Dec 10, 2020 in Python by Edureka
• 120 points
1,050 views
0 votes
1 answer

How to show Image from Imagefield Django Admin ?

Hello @kartik, In your model class add a ...READ MORE

Aug 3, 2020 in Python by Niroj
• 82,800 points
6,591 views
0 votes
1 answer

I am having issues installing basic packages using ansible

Hi@akhtar, Every application has some dependencies. Then only ...READ MORE

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

How to save files in Git Stash?

Hi@akhtar, Git Stash temporarily save changes you've made to ...READ MORE

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

How can we reload a page after requesting the same get parameter using AngularJS?

hey kartik, The reason for this is that ...READ MORE

Feb 10, 2020 in Angular by Niroj
• 82,800 points
14,125 views
0 votes
1 answer

How to dynamically compose an OR query filter in Django?

Hello @kartik, You could chain your queries as ...READ MORE

Aug 3, 2020 in Python by Niroj
• 82,800 points
6,562 views
0 votes
1 answer

How do I convert a PDF document to a preview image in PHP?

Hello @kartik, You need ImageMagick and GhostScript <?php $im = new imagick('file.pdf[0]'); $im->setImageFormat('jpg'); header('Content-Type: image/jpeg'); echo ...READ MORE

Aug 14, 2020 in PHP by Niroj
• 82,800 points
6,114 views
0 votes
1 answer

Are static class variables possible in Python?

Variables declared inside the class definition, but ...READ MORE

Nov 30, 2020 in Python by Gitika
• 65,730 points
1,416 views
0 votes
1 answer

How can I generating file to download with Django?

Hello @kartik, To trigger a download you need ...READ MORE

Aug 7, 2020 in Python by Niroj
• 82,800 points
6,389 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,730 points
1,760 views