Interesting questions
-
0
votes1
answer752
viewsLaravel 5.4 and Dompdf - problems?
I’m trying to generate a PDF from a view, and it’s working, however, when I call the route to call the controller, the upload is for several seconds, even minutes to generate the PDF, and download,…
-
1
votes1
answer682
viewsNode.js - Take URL parameter via Jade
I have the following url http://localhost:3000/user/index/1, would like to get the last parameter. I tried with - var name = window.location.pathname; put in the file . jade and did not work, but if…
-
0
votes2
answers230
viewsbecause the Hover does not overlap the div
I have a problem I think very simple. But I’ve done everything and nothing solves, as you can see in the print div who is with the hover she doesn’t stand on top of the div pai…
-
0
votes1
answer254
viewsGoogle maps does not work within the bootstrap modal
Hello, everybody. I’m developing a register that uses the Google Maps API to find an address and I’m trying to use it within a modal, but when I put inside the modal, it doesn’t show the map and…
-
0
votes1
answer2008
viewsRecover WSDL from Webservice Nfe ASMX
How I recover the WSDL from this service: https://nfe.fazenda.sp.gov.br/ws/recepcaoevento.asmx I need the WSDL to add it through Netbeans, there I can only add the WSDL and this is final asmx. EDIT:…
-
0
votes1
answer71
viewsMysql IN function but my parameter comes a string
Hello, I have a trial that receives a few parameters, among them I need to receive a list of codes, which are 10 at most. But in the consultation, I’m trying to WHERE value IN(value1, value2), but…
-
3
votes1
answer306
viewsProblems when defining url string whose query string parameter contains the dollar ($) character
I am using a WS API in JSON that the URL is https://api.movidesk.com/public/v1/persons?token=52ee6ca5-8639-422b-bafe-470013c11176&$filter=profileType eq 2 which is the example in which the API…
-
2
votes1
answer149
viewsHow to do Insert 1 to 1, with four tables in Laravel
I am working with a database already populated. It has four tables (Aluno, clinico, Familia and TipoCompulsao), where Aluno receives foreignkey of the three tables; Student model class Aluno extends…
-
2
votes3
answers394
viewsData Range Search in SQL
I have a table with the structure below I need to make an appointment with a certain interval in order to generate a report. I used the Between command... and with it it returns me the following…
-
0
votes1
answer144
viewsThe PHP Rating System
Well I’m creating a simple rating system. What I intend is that every 2 ratings he add a Star, with a maximum of 5 stars. How do I do that? I’ve been doing this but, no kidding.. $star =…
-
0
votes1
answer102
viewsHow to display errors in the production environment?
I’m coming from the groove of this question here. Is there any way, in the production environment, when any error occurs I warn, that the error occurred and I should look at the log file? I wanted…
-
4
votes1
answer173
viewsInitialization of attributes
Is there any difference between initializing an attribute like this: public class Turma { private List<Aluno> alunos = new ArrayList<Aluno>(); } Or so: public class Turma { private…
-
2
votes1
answer1050
viewsNode.js - Function returning the query value?
It is the following I tried to search but I did not find any solution, to try to create a function in the model of my application that will return the data of the query in the database. This…
-
4
votes1
answer616
viewsThread problem
public class ThreadTest implements Runnable { private String word; private long time; public ThreadTest(String word,long time){ this.word = word; this.time = time; } public void run() { try {…
-
1
votes1
answer32
viewsSplit a button to change the background of part of it
I would like to do the same on this button in the chaos, split to use the 4 with the gray background and the rest in the common white, Obs. I’m using the Bootstrap 4 button.…
-
0
votes1
answer388
viewsError synchronizing: Could not reserve enough space for 1048576KB Object heap
This error appears when I try to synchronize my project in Android Studio, how to solve it? Error:Unable to start the daemon process. This problem Might be caused by incorrect Configuration of the…
-
2
votes1
answer26
viewsLarval Relationsships 5.4 accessing search data with?
I have a relationship of One To Many, wanted to know how to access data from the two tables. Behold: Album::with('imagemAlbums')->where('departamento_id', $id)->get(); Return of dd() now in my…
-
2
votes1
answer718
viewsHow to create button in a Simpleadapter with event click excluding item
I set up a list in an android app that is a simple list using SimpleAdapter. What I need now is to delete the item from the list, but I don’t know how I would do it because I couldn’t get the…
-
0
votes2
answers366
viewsMy real ads do not appear in my app, only the test ads
Good afternoon, I’m making an app and I’m setting up the ads part using google admob, but when I put my ad ID does not appear in my app, it appears only with the test ID. I’m using an emulator to…
-
0
votes1
answer1064
viewsjQuery Autocomplete Uncaught Typeerror: Cannot read Property 'length' of Undefined
I’m using jQuery autocomplete to take data from a JSON and show them on as suggestions in the form during typing. It turns out that JSON is not in the format expected by the plugin, so I decided to…