Quantcast
Channel: User mikyll98 - Stack Overflow
Browsing latest articles
Browse All 81 View Live

Answer by mikyll98 for Flutter upgrade error: Unknown flutter tag

You need to call flutter upgrade from Flutter install directory.To find its location, you can use which command on Linux systems:mikyll@debian-EQPNRAP:~$ which...

View Article


Answer by mikyll98 for How to add color background in the button admin and...

To change the background color of a JButton, you can use setBackground() method, passing a java.awt.Color.From the docs, for setBackground():Sets the background color of this component. The background...

View Article

Kong External Service: no Route matched with those values

TL;DRI followed each step of the External Service tutorial, but when I try to send and HTTP request to http://localhost/httpbin/anything, I get the "no Route matched with those values." error...

View Article

Answer by mikyll98 for catch Android back button event on Flutter

WillPopScope is now deprecated, and shouldn't be used anymore. Reference: Android Predictive BackTo support Android 14’s Predictive Back feature, a set of ahead-of-time APIs have replaced just-in-time...

View Article

Answer by mikyll98 for how to display variable name dynamic in java

You can't. When you compile a java program in java bytecode, the information about variable names are not included.For example:File Main.javapublic class Main{ public static void main(String[] args) {...

View Article


Answer by mikyll98 for How to deactivate or override the Android "BACK"...

The selected answer is outdatedWillPopScope is now deprecated, and shouldn't be used anymore. Reference: Android Predictive BackTo support Android 14’s Predictive Back feature, a set of ahead-of-time...

View Article

Answer by mikyll98 for java.lang.reflect.InvocationTargetException in...

Caused by: java.lang.ClassNotFoundException: javafx.scene.control.HBoxYou have to change the import of the fxml file (musicals.fxml) from<?import javafx.scene.control.HBox ?>to:<?import...

View Article

Kubernetes: kubectl exec command different behaviour from C# program

I have a Kubernetes cluster with a deployment workload resource and a storage mounted (persistent volume claim).The deployment resource runs a container with a Minecraft server, containing file...

View Article


Image may be NSFW.
Clik here to view.

Answer by mikyll98 for Flutter: ElevatedButton has different theme on Linux

I cannot find any reference, but the problem is appearently linked to the Flutter SDK version I was using: on WSL Kali Linux I had a more recent Flutter version, while on Windows an older one.When I...

View Article


Image may be NSFW.
Clik here to view.

Flutter: ElevatedButton has different theme on Linux

ProblemI have a Flutter application that uses an ElevatedButton widget.When I run the application on Windows the button colors are fine, but when I run it on Linux, they are different.Here's my code...

View Article

Kong Ingress Controller - How to deploy Kong DB-backed with kong/ingress

TL;DRHow can I deploy Kong DB-backed with kong/ingress helm chart? Which configuration values I need to set?Long VersionI want to try the Oauth2 plugin which, from the docs, is said to require a...

View Article

Image may be NSFW.
Clik here to view.

Helm template: commas break syntax highlight

I'm using a comma in a Go template actionmetadata: name: {{ $route.name }}-route annotations: konghq.com/strip-path: {{ default true $route.stripPath | quote }} {{- if ne (len $route.plugins) 0 }} {{-...

View Article

Answer by mikyll98 for Your project requires a newer version of the Kotlin...

That my experience as a Windows user.I had this error, when trying to build with flutter build apk --split-per-abi:FAILURE: Build failed with an exception.* What went wrong:Execution failed for task...

View Article


Answer by mikyll98 for GitHub API - stars, get the date then star is created

Short AnswerYou need to use the "List stargazers" REST API and add the header "Accept: application/vnd.github.star+json" to the request.curl -L -s \ -H "Accept: application/vnd.github.star+json" \...

View Article

How to use Gateway API with Kong on GKE?

GoalI'm trying to use the Kubernetes Gateway API with Kong deployed on Google Kubernetes Engine (GKE).I'd like to have some sort of guide or a set of steps to properly setup and use the Gateway API in...

View Article


Create the YAML file for a ConfigMap without creating the corresponding...

QuestionIs there a way to get the YAML manifest file of a configmap, without creating the corresponding Kubernetes resource?At the moment I'm doing this:kubectl create configmap <name>...

View Article

Comment by mikyll98 on How can I install custom plugins in Kong using...

@Ôrel I don't know how, that's the issue :') Maybe I wasn't clear enough in my question

View Article


Answer by mikyll98 for Any way to detect SparcWorks on SunOS?

You could try to use both these macros:__SUNPRO_CC (for C++) or __SUNPRO_C (for C), which are macros typically defined by the SparcWorks compiler indicating the usage of Sun C/C++ compiler;__sun, which...

View Article

Kong Custom Plugin Development: is it possible to have a configuration field...

I'd like to know if it's possible to have a Kong custom plugin with a configuration field which can have one of these two different types: string or array. And in case it's possible, I'd like to know...

View Article

Answer by mikyll98 for Why isn't my Unity rotation check working?

I think the issue is in the last if condition: transform.rotation is aQuaternion,which is not directly comparable to the (I suppose) scalar value ofweapon.sweepingEdgeRange. Therefore, you should...

View Article

Image may be NSFW.
Clik here to view.

Answer by mikyll98 for Inspect Element Greyed out in Chrome

SolutionYou have to change the value of the Windows registry Software/Policies/Google/Chrome/DeveloperToolsDisabled from 1 to 0.NB: you need admin privileges to edit the registries.StepsCommand...

View Article


Comment by mikyll98 on Split string containing multiple jsons

@progNewbie I updated my answer (try putting the decoded output in a List<dynamic>)

View Article


Apisix on Kubernetes: is it possible to deploy Apisix without the Database...

TL;DRI'd like to know if it's possible to deploy Apisix on a Kubernetes cluster, without the Database support (etcd), via Helm.If it's possible, how do I need to configure the Helm chart values?Long...

View Article

Comment by mikyll98 on Pyinstaller in virtual environment still yields very...

if where doesn't output anything, try explicitly with where.exe pyinstaller

View Article

Answer by mikyll98 for How to check if a regex string is PCRE-compliant?

Thanks to @InSync for the suggestion :) this gave me an insight on a possible solution.One can simply use a regex engine and pcall (~try-catch) the pattern creation block.Example using lrexlib-pcre...

View Article


How to check if a regex string is PCRE-compliant?

In Lua, is there a way to check if a string is a valid PCRE pattern?Examples:local function is_valid_regex(pattern) -- Check if the pattern is PCRE-compliantend-- Testprint(is_valid_regex(".*")) --...

View Article

Comment by mikyll98 on Integrate Python plugin in APISIX Instance

@STTLUser he probably meant the error message :)

View Article

Comment by mikyll98 on APISIX Custom Lua Plugins - How do I write logs to a...

Can you provide the code snippet you used to implement this logic, or a MRE?

View Article

Comment by mikyll98 on Unable to construct Application instance: class...

Please do not post screenshots of code or errors, copy and paste it instead. Why should I not upload images of code/data/errors?

View Article



Comment by mikyll98 on Kong API Gateway Open Source on docker with https

Have you tried adding the Kong HTTPS port to the admin listen environment variable? -e "KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl"

View Article

Comment by mikyll98 on Kong API Gateway Open Source on docker with https

This. I think OP is overlooking some relevant information, because it's impossible to have the GUI not showing "Network Error" with that setup... Kong Manager Network Error

View Article

Comment by mikyll98 on Flutter commands is not working in my Windows 10

Please post code and errors as text, instead of images (see Why should I not upload images of code/data/errors?). What do you mean by "it is not running"? Is it stuck or does it return nothing?...

View Article

Comment by mikyll98 on...

I've tried reproducing your problem without success. I get the expected result (java.awt.Rectangle[x=0,y=0,width=1920,height=1080] and AffineTransform[[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]]) for both calls...

View Article


Comment by mikyll98 on I need to paste on x11 file

To extend what @Gerhardh said, if you write a "great question" (which means it's clear what the problem is, you don't omit important details, and is straightforward to reproduce) it's much more likely...

View Article

Answer by mikyll98 for how to use the APISIX to limit the upload file size

There are many methods to limit the size of requests in APISIX:using a built-in plugin, such as client-control;using APISIX configuration;making a custom plugin;Since you want to enable it on a...

View Article

Answer by mikyll98 for How to Upload a New Certificate to Kong Using decK?

When you use the declarative configuration, you must provide the ID along with certificate specifications.Example:certificates: - id: "my-certificate" cert: | -----BEGIN CERTIFICATE----- ...your...

View Article


Answer by mikyll98 for Integrate Python plugin in APISIX Instance

About the ErrorThe error you're facing, as stated in the log message, is due to bad indenting in the configuration file (config.yaml). Most likely you missed some space or tab, so you should look for...

View Article


Answer by mikyll98 for Kong request transformer - inject X-User-Id:...

You can't expect request-transformer plugin to magically✨ retrieve the JWT claims and store them in a header, that's just not what it does :)FactsAccording to the documentation page, you can use...

View Article

Comment by mikyll98 on Kong : {"message":"no Route matched with those values"}

Please report the exact steps you made to create the service and the route, or provide a MRE. Are Kong and the service running on Docker, are them standalone applications or something else? Is the...

View Article

kubectl: List pods whose names starting with a keyword string

Using kubectl, how can I get a list of the pods whose name starts with a particular string?ExampleMy pods:$ kubectl get pods -n kongNAMESPACE NAME READY STATUS RESTARTS AGEkong foobar-cc7654c7b-htvmx...

View Article
Browsing latest articles
Browse All 81 View Live