Comment by mikyll98 on Kong Ingress Controller: prevent stripping the path...
@Botje absolutely not :')
View ArticleComment by mikyll98 on Kong 502 Bad Gateway: "An invalid response was...
Yeah... I've just found the answer from a GitHub thread, after posting the question :') I'm feeling kinda dumb, not gonna lie
View ArticleComment by mikyll98 on App doesn't work in release mode after using...
Just a little reminder: people can see the edit history; also using the code formatting to write errors makes them more readable (you can use backticks and lang-none label: lang-none new-line [...]...
View ArticleComment by mikyll98 on kubectl: List pods whose names starting with a keyword...
@DavidMaze kong-controller-549fcc4d84-s7l7b has a label "app":"kong-controller", while kong-gateway-699c995d4d-mf64r has a label "app":"kong-gateway", I can put the full list of the labels in the...
View ArticleComment by mikyll98 on kubectl: List pods whose names starting with a keyword...
This would indeed return the output of the example. But I was thinking of something directly using kubectl command and its options/selectors - even though I didn't exactly specify it in the question,...
View ArticleComment by mikyll98 on Flutter/dart - Connection failed
Are you sure the localhost is the same of the backend?
View ArticleComment by mikyll98 on Which condition prints both an 'if' and 'else' block...
the "condition" you want is probably removing the if/else statement
View ArticleComment by mikyll98 on How to get value from onPaste event in TextField on...
Could you clarify what are you trying to achieve or provide an example step by step?
View ArticleComment by mikyll98 on VS code is showing file directory error even after...
how are you compiling your program? What's the full file structure? Can you provide some code?
View ArticleComment by mikyll98 on kubectl: List pods whose names starting with a keyword...
Thanks, I actually forgot to accept the answer, but that's what I was looking for :)
View ArticleComment by mikyll98 on Failed to compile application
Can you try running flutter doctor and provide its output?
View ArticleComment by mikyll98 on How to deactivate or override the Android "BACK"...
This just removes the AppBar widget back button and has nothing to do with the Android back button, which was the subject of OP question. Also it wasn't specified anywhere in the question that he's...
View ArticleAnswer by mikyll98 for What is the error in this simple function returning...
You declared the function as int search(int ,int ,int );, with 3 integer parameters, but the definition presents a pointer to integer (int a[] equals to int* a) and 2 integer parameters.The function...
View ArticleVisual Studio: is there a way to include resources in a Build?
I have a C++ Visual Studio project that depends on some resources (.glsl files).Currently I have to copy and paste the resource directories each time I build the project, but that's quite unhandy.I...
View ArticleAnswer by mikyll98 for Kubernetes: kubectl exec command different behaviour...
Update: I still haven't figured out why it doesn't work but managed to find a workaround.Workaround SolutionI created a shell script that does what I need: updates a property of the server.properties...
View ArticleC#: Enum.TryParse() succeeds when passing "-1" even if the enum doesn't...
I want to print the value of an enum only if its gets parsed correctly. As stated in Enum.TryParse() docs:Converts the string representation of the name or numeric value of one or more enumerated...
View ArticleAnswer by mikyll98 for How do I return JSON only from Azure Functions (dotnet5)
I think this might help someone, it's related to Felipe Augusto answer.If you use WriteAsJsonAsync() you must not add the header Content-Type manually:response.Headers.Add("Content-Type",...
View ArticleFlutter: how to set PersistentFooterButtons background?
Is there a way to set the background of persistentFooterButtons property, from a Scaffold widget, to fill all the space of the footer?I tried to use a container and set its color property, but it only...
View ArticleAnswer by mikyll98 for Flutter: how to set PersistentFooterButtons background?
I'm answering my own question because I found a way to achieve what I needed, but I'm not using persistentFooterButtons anymore, so I think there are more correct answers for this specific thread.The...
View ArticleAnswer by mikyll98 for Getting screen size in a class without buildcontext in...
I previously used window singleton to retrieve the screen width and height:double width = (window.physicalSize.shortestSide / window.devicePixelRatio);double height = (window.physicalSize.longestSide /...
View Article