All Questions

2
answers

Create profiles in laravel application

I need to modify my laravel application so that each user can see their particular content, since each user will have their own information. I already configured the default authentication using make auth and it works fine.     
asked on 11.10.2017 / 12:58
1
answer

com.google.firebase.database.DatabaseException

I looked for this error and found nowhere, just some resemblances but not this:    com.google.firebase.database.DatabaseException: Maps with non-string keys are not supported Controller (where error is): final DatabaseReference banco =...
asked on 16.11.2017 / 20:28
2
answers

Iterator Function

I have an absurd doubt with Iterator, I'm doing an exercise in which I have a Data class that checks the existence of the date, this is working perfectly, in my main I make an array of date and I setData in some Data d[] = { new Data(), new Da...
asked on 03.05.2018 / 21:10
1
answer

Connecting Go with MongoDB using Docker

I'm creating a microservice in Go, using MongoDB as the database and using the mgo library. Using MongoDB in a docker container locally and running the application on my machine, everything works normally, but when I tried to run using...
asked on 13.12.2017 / 21:42
1
answer

What is the use of hoisting in JavaScript?

Before ES6, all variables in a function were created independently of JS scope. That is: if(false) { var mensagem = "Olá!"; // declaração + atribuição } console.log(mensagem); => undefined Return is not something like a reference error...
asked on 26.02.2018 / 01:14
1
answer

Should a user model have all the actions that involve it?

When I search, I see that in MVC we should separate the models so that it becomes more organized and easier for an upcoming developer to understand the system. I have the basic actions like login, registration, logout. Would it be correct,...
asked on 18.10.2017 / 13:17
1
answer

Search for words MEMO!

I have a MEMO COMPONENT and there are several phrases in each line. I need to search for words from this MEMO, for example: "BOLINHA". So far so good. The problem is, once it finds the word, I need it SAVE the LINE ALL that found the word....
asked on 08.03.2018 / 14:20
1
answer

Different regex strategies to get the same result

I have the following input: Detalhamento de Serviços nº: 999-99999-9999 I need to get the number in a group, for this I would use: Detalhamento de Serviços nº: (\d+-\d+-\d+) But I can not trust whether or not there is the string nº:...
asked on 18.05.2018 / 20:05
3
answers

How to distribute images horizontally equally within a section element?

I have the situation below: Ineedall04imagestobeevenlydistributedhorizontallywithinthespacedelimitedbysection,regardlessofbrowserwidth.Tonotbeleftwithvacantspaceasyoucanseetheright.Ilookedforseveralalternatives,butnothingcametothedesiredresu...
asked on 05.07.2017 / 17:45
1
answer

How to block cursor movement in masked input?

I'm using the jQuery Masked Input plugin. <input name="dueDate" class="form-control input-mask-date" type="text" placeholder="Data de Vencimento" data-parsley-trigger="keyup" required=""> $(".input-mask-date").mask("99/99/9999...
asked on 13.06.2017 / 21:06