Interesting questions
-
0
votes1
answer82
viewsmiddleware redirecting to login screen
good afternoon everyone! I have the route below: Route::get('produtos', 'ProdutosControlador@index')->middleware('auth:api'); well it happens that using Postman I am trying to access and for any…
-
1
votes1
answer158
viewsRedirect through the option value and keep the option selected
I need to redirect according to the "option" value and keep this "option" selected after redirect. I can redirect through this code: $(function() { // bind change event to select…
-
0
votes0
answers51
viewsapexcharts series values do not appear
I’m trying to understand the value of an array I’m pulling from the back inside an apexchart chart, but it’s not returning anything, the chart appears blank the callback mounted() { this.uChart() },…
-
-1
votes1
answer21
viewsMake a relationship with data already created
I’m working on a school registration system with Alavel. It currently has two tables in the database: the list of Classes and the list of Teachers. When registering a new class, I want to be able to…
-
2
votes1
answer28
viewsPromise does not execute . then()
Good morning, I need help with my Password, when recording my information in indexDB I am using . then to write on the console, but this . then is not fired. I noticed that my Promise gets pending…
-
2
votes1
answer187
viewsINNER JOIN performance in SQL
Hello, would anyone know me if there is any significant difference in performance in the two ways of doing INNER JOIN below? Way 1: SELECT column_name(s) FROM table1 INNER JOIN table2 ON…
-
0
votes1
answer82
viewsRedeem a while loop echo input
I’d like to redeem the value of one input with echo of loop of a while and request UPDATE redeeming that amount. <form method="POST" name="form" action="<?php echo…
phpasked 7 years, 3 months ago Maykel Figueiredo 1 -
2
votes1
answer900
viewsWhy is the operator "?:" called Elvis Operator?
In PHP, I usually use some expressions to simplify the declaration of a variable conditionally, via the operator ?:. Example: function testing($usuario = null) { $usuario ?: $usuario =…
-
5
votes2
answers498
viewsHow to make mobile sum in R?
I have a vector 1:50 and need to perform a moving sum (equal to moving average), that is, in the case of the last 5 observations, the new vector would be c(sum(1:5), sum(2:6), sum(3:7), ...,…
-
3
votes1
answer1815
viewsWhat is the real usefulness of Docker-php-ext-configure and Docker-php-ext-install?
I’m taking the first steps with Docker, soon came the question, what is the Docker-php-ext-configure and Docker-php-ext-install? Example: RUN apt-get install -y libpq-dev libsqlite3-dev RUN…
dockerasked 8 years, 5 months ago Fábio Jânio 3,407 -
0
votes2
answers233
viewsGet data from a website to use in C#
Good night, I’m a beginner, and I’m developing a C# program in Visual Studio for my TCC, this chunk of code I’m having trouble with will get the data from a table of a website and after storing it…
-
1
votes1
answer517
viewsAuto complete Dblookupcombobox
I have a Dblookupcombobox2 with the following information: 42-batata 45-cebola 78-caneca 49-faca 79-livro If the number is entered the search is done, but with letters does not work. For example I…
-
2
votes2
answers832
viewsLoad JS on mouse Hover
What technique did this widget use on blogger(?): http://tecplate.blogspot.pt/ When placing the cursor over the author’s name of the post, it loads a js with a popup. The idea is to use this to…
javascriptasked 11 years, 9 months ago Vinny Oliveira 77 -
2
votes2
answers276
viewsLine break control does not work "white-space: nowrap:"
I don’t know where I’m going wrong, but at 5° numerical sequence bar, you don’t want to line up linear, even if you give it a float:left; and a "nowrap" because I want to add a lower scroll bar to…
-
-2
votes1
answer125
viewsDo I need to download JVM to run a java program on my PC since I’m not a developer?
Do I need to download JVM to run a java program on my PC since I’m not a developer, that is, I will only need JVM to run this program? Better yet, how do programs made in java run on people’s…
-
0
votes0
answers161
viewsIs it possible to execute 2(delete,Insert) commands in a Stored Procedure - MYSQL?
Falling into the condition of if I need to execute these two commands: if(ultima_refeicao!=refeicao) then SELECT refeicao_alimentos.calorias into calorias from refeicao_alimentos where…
-
0
votes1
answer779
viewsIndentation in Python
I wonder where I could put blank spaces to separate parts of the code according to PEP8. q = int(input('Quantos números sua sequência tem?(3 ou mais)')) if q < 3: while True: q =…
-
0
votes1
answer533
viewsError after updating android studio
Error:Could not find com.google.android.gms:play-services-cast:9.6.1. Required by: android:app:unspecified Search in build.Gradle files How to fix this error? Gradle already has this play-services.…
-
-1
votes1
answer573
viewsHow does an express session work?
I have a problem logging into my application. If a user logs in, they log in to everyone who visits the site. Could you explain to me how a session works so I can understand better?
-
1
votes2
answers130
viewsProblem with setState in React Native: "Can’t call 'setState' on a Component that is not yet Mounted."
all right? I’m a beginner in React Native and in this app I’m making I can’t call 'setState' in the method I created. The name of the method I created is called includingMed() and I call it here…