Latest Questions

Authentication Api using user name and password in flutter web

I try to authenticate api using user name and password it worked good in flutter android app but in flutter web do not get any data below my authentication func

__Headers in .htaccess-file to secure website__

I wish you all a good day and a nice start in the Weekend :) I set the next Headers in htaccess-file: # Security Headers <IfModule mod_headers.c> -

Python subprocess.Popen unable to parse argument

Trying to use Popen to launch multiple processes in separate shells, the process is an .exe file that takes arguments, when passing these arguments in a for loo

SAP Spartacus - Sparta-Theme requesting Open Sans by default - not DSGVO compliant

since January 2022 there is a court decision in germany which states that using Google Fonts over their web api is no longer data protection compliant. Spartac

Add card to Google pay

We are implementing Google pay into our bank app. We would like to add a credit card to google pay (wallet). We follow all instructions in doc we should have a

Adding frequency counter between nodes in neo4j during csv import

I've got a csv file with ManufacturerPartNumbers and Manufacturers. Both values can potentially be duplicated across rows one or more times. Meaning I could hav

Why does my Selenium script work only every other time?

I think I should start off by mentioning I have Mac OS and am using Safari browser. This script is a web-scraper that is supposed to search for a given type of

Looping through each row in array to calculate cosine similarity

I have a subset of a dataframe that looks like: <OUT> PageNumber english_only_tags 175 flower architecture people 162 hair red bobbles

Configure multiline from filebeat tomcat module

I'm using filebeat 7.15 with tomcat module to send logs to kibana. I'm trying to send exceptions as one message. My tomcat.yml configuration looks like this. -

How can I make an Openshift configmap universal?

I have an Openshift 4.10 install, running a bunch of applications in different namespaces, in which I want to make a tnsnames.ora file available. I've made a co

Mouse Cursor on tablelayoutpanel

I have winform project that it has tablelayout panel. And i added pictureboxes to all cells. I want the mouse cursor style to cross while on the tablelayoutpane

Import issues in Visual Studio Code

I am trying to execute this code in Visual Studio Code, the code works, my problem is related to the import of numpy; the other imports are working. import code

Vercel causes 500: Internal Server Error (works on localhost)

I'm creating a page where I can get an overview of all my notes/summaries. The note's pages are markdown files converted into HTML used in a dynamic file. The '

Populate empty pandas dataframe with specific conditions

I want to create a pandas dataframe where there are 5000 columns (n=5000) and one row (row G). For row G, 1 (in 10% of samples) or 0 (in 90% of samples). import

How to acess an entity under _links in Angular from Spring Data REST?

I encountered a problem which is very challenging to my Angular level. Could you give a help please? In Spring Data REST the entity Worker has a @OneToMany bidi

Webpack: Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object

I want to create custom component and build with webpack // packages/button/src/index.js import React from 'react'; function Button({ href }) { return <a

How to convert PHP multidimensional associative array to API http query in the format the API specifies? [duplicate]

I have the following array $folder_data = array( "title" => "Testing API Creation", "description" => "Testing the Wrike API by c

On Complete on Normal function in Kotlin

I have a Piece of code I want to execute just after the completing the first function doc_ViewModel.encryption(img,txt,uid!!) The above is just a rando

How to disable reading from configuration from bootstrap.yml in micronaut project?

I have a Micronauts application with bootstrap.yml configuration that wan to read-only while running in the k8 cluster, but now when the test running from the b

Is there any way to print list of runnable tasks on the per cpu runqueue, without using for_each_process_thread()

Note: cat /proc/sched_debug //It prints percpu runque list source path: kernel/sched/debug.c There is a way which available in Linux kernel to print runque tas

Critical dependency: the request of a dependency is an expression while using lazy loading

I am trying to dynamically import modules but getting following error - Compiled with problems:X WARNING in ./src/.../useCustomModule.js 21:21-56 Critical depen

GitLab - Lines that have not been changed are marked in green

What does that mean? And how do I get rid of the highlighting? Lines 1-12 have not changed but are highlighted in green. <- Weird Lines 13-15 have not change

How to re-render a heavy React component with a low priority?

With some parameters, I have a React component that can take a few seconds to render but it is not a problem at all if it is not up-to-date. To prevent the UI f

How to import database from odoo 14 to postgresql?

I am trying to take a backup from Odoo enterprise 14 through query. When I try to export the dump file I get this message Can anyone guide me, how to export all

ArcGIS url query using date parameter stopped working overnight

Until a few days ago, this query ran without problems: https://dhsgis.wi.gov/server/rest/services/DHS_COVID19/COVID19_WI_V2/MapServer/11/query?where=RptDt>='

How to create multiple themes using Tailwind CSS?

Looking at Tailwind CSS, it seems that you need to specify specific colors in your classes like this: <div class="bg-yellow-200 dark:bg-gray-800"></div

Cannot understand difference between the two ip addresses in relation to hosting?

I have used IIS to host a nodejs API in windows 11(followed these blogs: blog-1 and blog-2). When following blog-1, setting the IP address to IPv6(i am not sure

gem5 build fails with " Embedded python library 3.6 or newer required, found 2.7.17."

I cannot build gem5, when I build gem5,the terminal shows " Embedded python library 3.6 or newer required, found 2.7.17.".However,when I check my python version

'export' in VS code show problem statement "Declaration or statement expected." and cannot find name 'WEB3_INFURA_PROJECT_ID' and 'PRIVATE_KEY'

I am trying to create a ERC20 standard token using VS code by following a Youtube video https://www.youtube.com/watch?v=8rpir_ZSK1g . Until I reached the .env f

How to add header in exported CSV file in react-bootstrap-table

I would like to add a couple lines as header on top of the exported CSV file in react-bootstrap-table Like this one: I've gone through the docs but still no id