All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

Certificate issue while trying to pull docker image

Get https://registry.access.redhat.com/v1/_ping: proxyconnect tcp: x509: cannot validate certificate for xx.xx.xx.xx because it doesn't contain any IP SANs We are running docker in RHEL7 VM in IBM ...
0
votes
0answers
2 views

How to create an SSIS Package as an ItemTemplate in SSDT 2017 and save it in User Item Templates Location?

I've created a number of SSIS .DTSX packages and want to use them as SHARED templates. Since our company will not allow us/Developers Admin Privileges on our systems, I'm trying to save the .DTSX ...
0
votes
0answers
2 views

Locating a web element relative to another web element using selenium

I'm trying to use webbot/selenium to locate and click a button on a webpage. Problem is, the id of the element in question is an unknown integer that changes week to week. Here's what the page looks ...
0
votes
0answers
2 views

Woocommerce causing High CPU Load Averages every 3 to 4 days causing the website to go down

Are there any performance settings that can tune the WooCommerce to consume moderate resources? We are using a CentOS t2.large instance from AWS only for WooCommerce but still CPU load averages cross ...
0
votes
0answers
2 views

In trying to fix the Legacy error, I'm getting a Syntax error

I have used the "Fn::Sub" solution, and I don't know why it's not working. I've tried adding brackets, removing them, using just one string, using multiple strings, etc. I'm getting stuck now on "...
0
votes
0answers
3 views

How to match one of two words with regex in bash (non capturing group not working)

I want to match the words "word1" or "word2" as part of a larger pattern. I have it working in a regex tester but it doesn't work in bash because it isn't recognizing the non capture grouping. I ...
0
votes
0answers
2 views

I am trying to cross-compile perf tool for ARM on x86 machine.but I get dwarf: [ OFF ] and libelf: [ OFF ].what should I do?

I am trying to cross-compile perf tool for ARM on x86 machine.but I get dwarf: [OFF] and libelf: [ OFF]. I need the dwarf.what should I do?
0
votes
0answers
3 views

How is DependencyHandler.add called in a build.gradle script

So a build.gradle file is basically a Groovy closure whose delegate is a Project object, and it has methods such as dependencies and repositories to which we pass additional closures. How is it that a ...
0
votes
0answers
4 views

Using Roslyn to replace all nodes within span

I have a very large amount of generated C# code which I am wishing to pre-process using Roslyn in order to assist with subsequent manual refactoring. The code contains start and end comment blocks ...
0
votes
0answers
3 views

How to model similar named predicates or attributes for nodes in dgraph?

I am trying to use Dgraph as my primary database. I have a simple system that has two domain entities viz. User and Product. They both have certain properties represented as edges/attributes in Dgraph....
0
votes
0answers
3 views

in dart How can you pass an method as a parameter

First, I am teaching myself Dart and this question pertains to an app that I am building. I have been scripting for years but this is my first programming effort. I have a weapon class and inside the ...
0
votes
0answers
3 views

Unable to dynamically add multiple input fields and submit to database with javascript and php and change submit button value on submit button click

I'm trying to dynamically add multiple input fields and submit to database with javascript and php and change submit button value on submit button click. It works when i didn't dynamically add forms. ...
0
votes
0answers
3 views

NestJs - How Debug jest tests using typescript

I am trying to debug my jest tests using typescript and Nestjs framework. I tried a lot of commands but none of them seem works. I have also tried this script provided by NestJs typescript starter (...
0
votes
0answers
3 views

How to use EFS with AWS Lightsail

I'm trying to follow this instruction to mount a EFS into one of my Lightscale instance. BTW, I do not have any EFS setup at the moment. I'm a bit stuck at step 1 here so I did aws lightsail peer-...
0
votes
0answers
5 views

How fast is Haskell among the static typing languages?

I know that comparing languages' performance is very tricky. A program's performance depends on the problem you are solving, the algorithm you use, and how you implement your code. So it is impossible ...
0
votes
0answers
3 views

Perforce: How to create a list of files from a changelist?

I want to create a list of files from a changelist in Perforce. I am using command line to open files for adding (mark for add) and deleting (mark for delete) into a changelist, I successfully created ...
0
votes
0answers
4 views

Have a consistent import path and code navigation at the same time

We have a monorepo with two packages, foo depending on bar: packages foo src index.ts bar src bar-sub1.ts bar-sub2.ts Each package outDir is set to "dist" in ...
0
votes
0answers
6 views

How to implement file download?

When I try to download a file, this error occurs: Unhandled rejection TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like ...
-1
votes
0answers
4 views

What is the #(code) in Apple’s release notes?

What is the significance of the - #53811027 ?
0
votes
0answers
6 views

how to add a required positional argument to a python file using this code?

this code works great however I am having trouble with the variable called "time". therefor it is throwing an error saying - File "C:\Users\7\AppData\Local\Programs\Python\Python37-32\lib\threading....
1
vote
0answers
5 views

BigCommerce checkoutSDK getShippingOptions() returns empty array

I always get an empty array back from getShippingOptions() after setting the shipping address with the following code: address = { firstName: 'Fulfillment Test', ...
0
votes
0answers
18 views

How to apply two 'if; in a def in python

input=('befelled','recalled','expelled','swelled','tested','marked','scott','brutt') I want an output which looks like, output=('befel','recal','expel','swel','test','mark','scott','brutt') It's ...
0
votes
0answers
7 views

getting an “script artisan error 1” after composer install

After running the command below in my laravel project composer.phar install I got an error: Script php artisan optimize handling the post-install-cmd event returned with error code 1 In ...
1
vote
3answers
14 views

align three div blocks inside another

I'm trying to align two of my blocks to the left and the last one to the right, but it aligns down. How can I take it right up? .container { width: 100%; border: 2px solid #ddd; padding:...
0
votes
0answers
5 views

How can I build cannon.js source code to get cannon.js lib

The cannon.js project is in github url: https://github.com/schteppe/cannon.js But I cannot find anyways to build this source code to get cannon.js library in binary folder. Can you tell me the way ...
-2
votes
0answers
9 views

Chess game question how to define open seat

I have one task regarding chess game, when the black/white are filled in, it means the close close. It mean the game is still open when either no white, no black, no both white& black. I got ...
0
votes
0answers
6 views

How do i remove these additional empty columns?

currently trying to create a dashboard using css grid and this is my css code height: 100%; width: 100%; padding: 24px; overflow: auto; opacity: 0; transform: translateY(100px); ...
0
votes
0answers
6 views

select data from two table with loop in mysql

i want to creat loop in mysql. i have a case 2 table, i want to select all data from table A and result from table A for get data in table B. For Example CASE: SELECT * FROM table_A; result: ...
0
votes
0answers
4 views

React Native get appStoreReceiptUrl

I am building a mobile application that talks to a web service and I would like the web service to be able to validate that it and only it can talk to the mobile application. I would like to have the ...
0
votes
0answers
6 views

How to fix run androidTest gradle throws 'ArrayIndexOutOfBoundsException'

I'm write android test in android studio . when i modify code ,need clean project and run androidTest. or gradle throw ArrayIndexOutOfBoundsException. project profile: android studio version 3.4.1 ...
0
votes
0answers
7 views

Docker can see image.png file, but no image is displayed in browser

I'm playing around learning Docker and Swoole. Running a Docker container that contains 2 files and an empty directory. Upon accessing the container in browser, the image is not displayed (getting the ...
0
votes
0answers
5 views

Cannot able to create weblogic 12c domain in windows 10

Cannot able to create the weblogic 12c(12.2.1.2.0) domain in windows 10. Installed weblogic 12C(12.2.1.2.0) and the java version is 1.8.144 Also set the environmental variables, JAVA_HOME=C:\...
0
votes
0answers
6 views

How do I split this ordered list into columns, and in the right order?

Here is a pen of my code: https://codepen.io/stephortiz/pen/JjPEyrG This is exactly what I want it to look like, however, it's in the wrong order. I want the numbers to read up and down then left to ...
-2
votes
0answers
8 views

Looking for a very reliable microservice orchestration tool

Looking for a JAVA based microservice orchestration tool which supports JSON REST APIs and can work pretty well in the synchronous and asynchronous mode and can orchestrate n number of REST call ...
-1
votes
0answers
5 views

Is there a way to make Popper (react-popper) flip when it overflows its parent?

My Popper is overflowing it's parent's container, I want to make it flip so it no longer overflows the container. It's probably a problem in the Popper's modification prop that I can't figure out. ...
0
votes
0answers
6 views

java.lang.IllegalStateException: Already value [org.springframework.jdbc.datasource.ConnectionHolder

When the http request execute the select sql to query some data, the exception occurs. I using the dynamic datasource, spring 3.2.4, mysql. The exception occurs sometime, not often. I think that I use ...
-1
votes
0answers
5 views

Instagram web page is not loading all the posts

I am trying to scrape some data from Instagram. I wrote java code using selenium library. The code works as follows: 1- Go to login page 2- Login 3- Go to this url (instagram location) 4- ...
2
votes
2answers
8 views

Angular 7 Class in Service Not Found

I've make a mock to display list in table. But I got error Property 'getRepoIssues' does not exist on type 'GithubIssue'. But I've declare it first. I've Provide some code and link for your ...
0
votes
0answers
4 views

How to create custom checker for clang static analyzer?

I am trying to make new checker with clang static analyzer. I built the clang from source code using ninja and cmake. I am trying the instruction that was given in https://clang-analyzer.llvm.org/...
0
votes
0answers
4 views

How to checking a folder with loop and maxattempts using POwershell?

I want to check a folder, if not exist after max attempt it will restart the computer. I tried this but the maxattempt looks not working Anyone can help really appreciate. Thanks $MaxAttempts = 2 $n =...
-1
votes
0answers
14 views

New terminal shells on MacOS open with Pip Prompt [on hold]

I would like to open a clear shell, but each new terminal instance/window I open, the pip help page pops up. The Bash symbol ($) is also replaced by a ~>. Where do I go to get back to a standard ...
0
votes
0answers
4 views

gdb on mojave works in terminal but not in vs code

After those tricks about codesigning, I've got to make gdb run on my mac (10.14.6), but only in terminal, and it gives no response in vs code. Everything works just fine in terminal, like setting ...
0
votes
0answers
11 views

C++ Templated Method

I've been using C# so long, I have a couple of questions about templated methods in C++. template <typename T> T max(T x, T y) { return (x > y) ? x : y; } Why do some examples use ...
0
votes
0answers
3 views

Cannot create a Power BI Embedded Capacity on Azure

I'm trying to create a Power BI Embedded resource on Azure using my organization email account. But I'm getting a message to create a free account. The screenshot is attached. Please help. Power BI ...
-1
votes
0answers
6 views

Google Authentication Unverified without proceed

App was previously showing the typical screen where it says proceed to unsafe site, but now I am seeing this: Auth Screen. I haven't changed anything in my code and was previously seeing the common ...
0
votes
0answers
6 views

could not load library "/Library/PostgreSQL/10/lib/postgresql/rtpostgis-2.4.so

I want to make a django geolocation based app using postgresql and postgis. I used the postgresql installer and stack builder (where i selected to install postgis as well). However, whenever I try ...
0
votes
0answers
6 views

How to upload an image(base64 encoded) to firebase?

I have an image(base64 encoded). I want to upload this image to firebase using python. How can I achieve this? When I upload the image to firebase, it is ok. But the type of the image is text/plain. ...
-1
votes
1answer
10 views

How to make nav tabs responsive

Now I have nav tab design like below menu 1 menu 2 menu 3 But when the screen is smaller, the nav tab design is coming like menu 1 menu 2 menu 3 How can I make nav tab is becoming ...
0
votes
0answers
10 views

Javascript Unexpected Math Calculation [duplicate]

I'm new on JS and I'm trying to do a balance account calculation based on methods a specific method, but when I add a 0 before the cost it subtract 10 from the calculation. Why this behavior? I'm ...
0
votes
0answers
7 views

Normalize Django Field's Value

I wrote a custom django field to normalize the urls our system received. However, the url will only return normalized value after reload. from django.db import models def _rewrite_internal_url(url): ...

15 30 50 per page