Interesting questions
-
0
votes2
answers198
viewsLaravel Authorization for Multi Authentication
I have an ACL app for Laravel where I have two sessions(Guards), one for users and another to admins. The configuration of Guards auth.php file looks like this: 'guards' => [ 'web' => […
-
2
votes3
answers883
viewsAllow Select PDF only in JS
I wonder how to do that when choosing the file to upload it filter by extension . html native pdf or by JS, Jquery. Using type="file" it brings all the files. <!DOCTYPE html> <html>…
-
8
votes2
answers291
viewsCan I use class and struct at the same time?
I have a variable "Address", however, it is composed by "Street", "Number" etc. The way I did below is the best to be done? With class and struct at the same time? Or is there something better and…
-
1
votes1
answer429
viewssetInterval does not work properly
I would like to perform a function infinitely every second, I am trying this way but the function is only executed once: Between the tag body <div id="map"><div…
-
11
votes3
answers2753
viewsSolution to scan documents by browser
I want users to digitalizem documentos straight from browser and then up to server. I found APIS who do this but all get paid and the licenses dearest ! Can someone present a solution ? Even if the…
-
0
votes3
answers176
viewsKeywords with Jquery
I’d like to do something like: For every word the user types, it looks like the image above. The closest I could get was to know the amount of words he typed, follow code below: <script…
-
2
votes1
answer261
viewsProblem sending email in PHP
I need help with a form on PHP complex, as well as sending email for administrators, send also to the client. The email is in html and automatically creates a pdf through html2pdf. So that’s it,…
-
0
votes1
answer59
viewsSimplify subtraction between Mysql tables
I would like to know how to simplify the following: SELECT FORMAT((SUM(r.valor_receita) - (SELECT SUM(d.valor_despesa) FROM despesas AS d WHERE d.pago = 1 AND YEAR(r.data_vencimento) <=…
-
0
votes1
answer353
viewsGoogle Maps API - window always opens the last
Talk personal, all right? I’m working on Google maps, picking up customers in my bank and putting the Markers on the map according to their latitude and longitude, when you click on the Mark opens a…
-
2
votes3
answers319
viewsHow to disable console.log for a particular js file?
I have many commands console.log in an archive regras.js. I wonder if there’s a way console.log only in this file, since commenting each console.log would be very time consuming, as it has many.…
javascriptasked 10 years, 7 months ago durtto 3,109 -
0
votes1
answer36
viewsVector does not print completely - Python, Opencv
I’m working on a Python project using Opencv, I’m running on Google Colab. I want to save the markers vector from an image of a segmentation method, but whenever I print the vector, it appears…
-
1
votes3
answers770
viewsSend data to Database according to <select> tag via PHP
I’m making a form to send some data to the bank, to expedite a process, my question is the following, I have 5 systems that I need to update, so I made a select html. I need to send each option of…
-
3
votes2
answers90
viewsView div according to day and time
I’m setting up a system (kind of emergency) for the church, for live broadcasting, because of social isolation. On the page where I am incorporating live, on the church website, I want that if the…
-
2
votes1
answer362
viewsHow do I split items and different sub-crops on the same page?
I wanted to divide some items into different subpages, an image of an example. For example, if I click on button 1 he shows the element 1, if I click on button 2 he shows the element 2, but all this…
-
-1
votes1
answer53
viewsInsert values x into table A if exist on table B
I want to Insert in table A of the key field, but only if this key already exists in table B Example Insert key(123) in table B if there is key(123) in table a (am using sql procedures managemente…
-
0
votes1
answer532
viewsPass variables as parameter when loading page
I have a Function that marks the location where a mouse click was given, putting a red circle in the click and saving the coordinates of where this click occurred. Script that displays the mouse…
-
0
votes1
answer53
viewsWhy isn’t the image effaced?
I have a method that’s like this : public function setPhoto($file) { $extension = explode('.', $file['name']); $extension = end($extension); switch ($extension) { case "jpg": case "jpeg": $image =…
-
1
votes1
answer1089
viewsGraph by ggplot in Rstudio v 1.1.463 does not read Subtitle and caption in Labs()
I have the problem reported in the title and, I do not understand why in Rstudio Subtitle and caption are not read. When I replay the code in Visual Studio, it correctly loads all the commands - the…
-
0
votes1
answer111
viewsChained list - Multiple error defenition of main
Good evening, would you be kind enough to help me with my project? I’m trying to create a chained list, but when I try to compile an error appears as the image below: I do not know what is occurring…
-
0
votes2
answers60
viewsCalculate total orders and total orders for the current month with Mysql
I have this order table, I need to count the total order of each user and the total order of each user in the current month | id | id_user | name | data_criacao | | 1 | 10 |Pedro | 2018-05-01 | | 2…
mysqlasked 8 years, 4 months ago Daywison Ferreira Leal 101