Latest Questions

How long does it take for AWS Amazon Inspector to complete a full EC2 Scan?

I enabled AWS Amazon Inspector (2) for a single EC2 instance that I have. It's an ubuntu with php and apache, nothing special, and the status shows Scanning for

How to create table like structure in Python for alternative to avoid nesting of lists problem?

I want to store data in a table like structure. The way i will populate it is generation of row after complex processing into different section of the codebase.

How to crawl the content of the page?

I hope to climb this page, but I don't know why I can't climb it successfully. I see a nice Web Page, I want to get it, Facebug555 I have no Python background!

apache virtualhost site using .htaccess not working

I am running brew/apache on on my local machine (mac-os monterrey). I want to configure virtual hosts. The lookup for one of the virtual host (panierssaison.loc

400: Bad Request blog page via http/https SSL-enabled k3s deployment

Using nginx-ingress controller and metallb for my loadbalancer in my k3s raspberry pi cluster. Trying to access my blog site but I get white page with 400: Bad

Runtime complexity of insertion sort for half sorted array and half reversed sorted

Wondering what is the average runtime complexity for half sorted and half reverse sorted array. For example the array: [0,7,2,5,4,3,6,1], number on every even i

Replace substring till space is found after specified position in PHP

I have this main string $string = "This is a sample text"; $substring = substr_replace($string, "", 11 , 6); Output: This is a text I'm passing $string varia

plot lognormal distribution with Arena Software Output

This might be a very niche Problem. I have a modified Dataset - based on the 4th downloadlink with 105572 elements - and want to know how I can model it in the

Ttrying to load a table using react-bootstrap-table

Trying to edit the table cells using react-bootstrap-table, I am able edit successfully, but when I click on other components in the page the edited content has

KeyError at /webhook/ 'HTTP_STRIPE_SIGNATURE'

Following is my code for webhook with a Django application @csrf_exempt def webhook(request): webhook_secret = STRIPE_WEBHOOK_SECRET payload = request.b

writing to FILE for transmission over USART

I have a bit of code written by someone else that I'm trying to understand. I'm familiar with c enough to make basic/intermediate functions, but never really le

How to configure ngnix, vite and laravel for use with HMR via a reverse proxy?

I've only just got into Laravel/Vue3 so I'm working off the basics. However, I have an existing Docker ecosystem that I use for local dev and an nginx reverse p

I Can't generate a PDF in Dompdf due to error 500

I need to generate a pdf file, and I've tried this code in my localhost xampp and it doesn't give me any problem <?php ob_start(); echo "hola mundo"; $ht

Androi Kotlin flow: How to call multiple task in sequence without many callback

i have 2 flow (flow1, flow2) and want to call 2 flows in sequential (flow1 then flow2) cause "flow2" depend on "flow1" result but want to implement "flow1" base

How to wait until file is downloaded and also wait until the file is deleted from folder in Selenium Java

Have to download a file in multiple formats xls, pdf, rtf, csv, txt. But I have to check all these file formats are downloaded one after another So I have writt

I want to upload a large file to MongoDB using jQuery

I need help to upload large zip file (compressed) and save it to my MongoDB: <form action="./uploid" method="post" id="uploadForm" enctype="multipart

The method setColor(Color) is undefined for the type JFrame

Error code shown below : The method setColor(Color) is undefined for the type JFrame package task3; class Execute { public static void main(String[] a

Ajax not properly sending Session variables

I am very new to AJAX and PHP and am currently working on a small website where I initialize php objects as session variables. The functions and objects are all

Using Python to run GOOGLEFINANCE() in GoogleSheets: not able to input stock symbol as a string

Using the following python code, I am succesfully able to write and execute the GOOGLEFINANCE() in Google Sheets: cell_range_insert= 'B2' values = [['=GOOGLEFIN

DBF/FoxPro Connection with VBA

i want to make a connection with a DBF file through VBA, i have installed all the drivers but i get this error message every time i try to run it Object variab

How to count a single field of a django queryset with multiple group by?

Let's say I have a queryset qs. I'm grouping by the queryset as follows: ( qs.annotate( catering_price_enabled=F("outlet__library__settings__sligro_

How can I seperate the JSON response data to list?

Data A "data": { "authors": [ { "name": "A1", "type": "AUTHOR" }, { "name": "B1", "type": "AUTHOR" } { "name": "C1", "type":

Auto-scroll in div with React

Having a div with dynamic logs content (props.logs), How can I auto scroll to the bottom? <div className='rc_logsContent' ref={logsRef}> <Collaps

Best approach to implement server-side caching on a Django GraphQL API?

I have an Angular frontend that uses Apollo Graphql client to interface with a Django Graphql backend (using graphene). It all works well, but the API is very s

How to send third-part csd to '/opt/cloudera/csd' nicely?

It's bad action to put csd into path '/opt/cloudera/csd' of cm by backend ops which need the password of the server of cm. Is there a way cdh offered to make it

Instead of adding value i'm replacing the value of array

Hi all i'm trying to get an array of Sizes and Color which is inside an object. So when we click on the input a handler will be call i.e., clickHandler() but th

IMPORTXML Change the imported format in a cell

I used the IMPORTXML formula to import values from a website. The formula imports a list of 4 cells in a column. The value of the 3rd cell is a number with a do

Run a different installer with my ClickOnce installer

I was searching about how to do this but no avail. I have a Winforms application and published it by mean of ClickOnce. It works, however, that application uses

Could not convert socket to TLS Spring Mail

I am getting the errors: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not

DataSpell: How to hide/remove notebook left side labels?

Is there any way to hide or remove notebook left side labels? I don't want these In Out labels. I tried turning off gutter icons but these are still there.