Latest Questions

Symfony how to NOT route public folder

I have a Symfony web app. As per default, all site calls are routed by Symfony. However, when I want to call for example mysite.com/public/example.img and retre

How to get Digitalocean environment variable?

I set an environment variable in Digitalocean with token, but I don't understand how to use it in the code. I scrolled through the docs, but didn't get anything

AWS S3 Bucket Policy Network Failure - verify permissions to access-analyzer:ValidatePolicy in IAM to use policy validation

In AWS Solution Architect I am performing Module 3 Challenge Lab Creating a Static Website for the Cafe using AWS S3. I want to Grant read-only permission to an

How to save the selection of a spinner in a dialog box

I have a dialog box with a spinner in it. So far, I have managed to code the spinner so that it saves the last known selection whenever I open up the dialog box

How to configure Windows to allow Golang app to trust CA of self-signed cert

I have a 3rd party development tool that was written in Golang. My company uses Netskope which injects self-signed certificates in any SSL traffic from my machi

getResult is Undefined

I can't seem to find out what is creating this undefined error in my basic rock paper scissor game it gives me to results instead of just one I'm trying to unde

BitQuery wrong data/not real time

Hi I started playing with BitQuery graphql to see if it would help me with querying blockchain data. I love the idea of single API for most of the blockchains.

How to use a value from $_POST as the parameter of an in_array function?

I have built an HTML form to search through a .csv and return all entries that match the specific input string. My aim is to be able to search through a .csv an

How to use Evaluate for dates?

How do I evaluate dates, as seen as below? According to this list, https://www.techonthenet.com/excel/formulas/index_vba.php, all the functions in the formula

How to read all the tabs url from a chrome browser using Python

I have a python code which reads the url of current tab and prints it. Is there a way to find the number of open tabs in chrome so I can iterate on all tabs and

ARKit - AR using ultra wide camera 0.5 on iPhone 13 Pro

Goal: An AR app using the ultra wide camera 0.5 on iPhone 13 Pro. Tried: The documentation is very scarce, and shows only how to switch between front or back ca

filter data using list flutter firestore

I am creating a bookstore where customers who have their favorite books have a favBook list and the website displays the name and images of the book of all thei

Sorting vector of blocks C++ SFML

I just wanted to make a little program to sort blocks using selection sort, but it doesn't sort itself. Blocks just keep switching places in some pattern, until

Uber eats gift card deep link?

I have the deep link to add a gift card to uber (uber://?action=applyPromo&client_id={id}&promo={code}), but is there a similiar one for uber eats? I tr

I'm trying to put link to some text but it is not working. I think something is overlapping in css but i won't understand it. could you take a look [duplicate]

hyperlink is not working. i think there is some problem with css. can anyone please overlook and help with this? *{ margin: 0; pad

Making a MySQL COUNT query

after 4 days of tries and researchs over the web I can't make my wishes working. Any help would be appreciated !Performed on MYSQL WORKBENCH I got a DB made of

Is it possible to get a .obb file from an APK file in windows? If so, how?

I'm trying to get the sprites and images from a game and followed a guide here to decompile an APK into its components and source code, but it did not fit my ne

What is the wrong point of my insertion sort sample program

While I practice C,I developed sample insertion sort in C. after some search and refer some materials ,I wrote following one. After that,I build and run. gcc in

Oracle : Use of CURSOR%FOUND in PL/SQL

I have a code as follows. My question is - why do we need IF statement for CURSOR%FOUND ? If no rows are found, that will trigger NO_DATA_FOUND condition and co

Pass a calculation with VBA from Access to Excel

I´m exporting data to excel with the columns like ID Product Quantity Price Sum Our vendors fill in the Quantity and Price. I want to pass a simple calcul

Mongo::Error::UnsupportedFeatures (Server at (localhost:27017) reports wire version (2), but this version of the Ruby driver requires at least (6).)

I'm trying to upgrade Mongoid in an Rails 4.2 app from 4.x to 5.x (5.4.1) to connect to a MongoDB 2.6. I've updated the mongoid.yml file to match the difference

react native circular crop

using react-image-crop package trying to create circular bagde, cropping as square works fine but need to create badge as circular png file here is the code:

How do I fix the error of my django form not having cleaned_data attribute?

I have this form: class RegisterForm(UserCreationForm): email = forms.EmailField() class Meta: model = User fields = ["username", "emai

How do I make puppeteer select google translate text box for me? it only works if I click it myself

my code is as follows await page.waitForTimeout(1000); await page.waitForSelector( "#yDmH0d > c-wiz > div > div.WFnNle > c-wiz > div.OlSOob

Cmake : Building .dylib to test Android JUnit tests

I am working on Android native project using C++ code built using CMake. Currently my app is running fine and native lib(.so) is successfully loaded using Syste

how to run javascript function in selenuim

how i can run this js code in selenuim window.hcaptcha.render = (container, params) => { console.log(container) console.log(params) window.hcaptchaCallback =

Round to 2 Decimal Places Even with Zeros

I am currently using the following logic to round to round to 2 decimal places: billables_all["Parts Charged"] = billables_all["Parts Charged"].fillna(0).round(

Validate raw data from the field in react-final-form

I have a field in react-final-form where the user enters a date. For the internal value this gets normalized to YYYY-MM-DD but the user may enter it as DD.MM.YY

Flutter null safety plugin_platform_interface

I have this error, Error: Cannot run with sound null safety, because the following dependencies don't support null safety: - package:plugin_platform_interface

Error: Uncaught TypeError: Failed to resolve module specifier "web3". Relative references must start with either "/", "./", or "../"

I have installed web3 using npm in my project. I now have a web3 folder in my node_modules folder. However, when I run my code on local server, it shows the fol