Posts by Vinícius Vilela • 113 points
9 posts
-
-1
votes1
answer335
viewsQ: Error running run-android on a React project
I am trying to run the command "React-Native run-android" in project that was passed to me and is not working. I have tried to change the file Gradle.properties to use Androidx but only gives…
-
2
votes1
answer1194
viewsA: POST with angular 5
The problem was in the CORS of my app. As soon as I put the authorization in Cors worked :D
-
2
votes1
answer1194
viewsQ: POST with angular 5
so I’m trying to make an app with angular 5 using auth with token. For this, in the login, I need to do a post on my API (which I tested by Postman and is working), but I’m having trouble doing this…
-
0
votes3
answers925
viewsA: Search name by first and last name
I got it using RLIKE, like this: SELECT * FROM person WHERE name RLIKE' (?=. *Silva)(?=. *Jose)' so it doesn’t matter the order, nor if there’s anything between them :D…
-
1
votes3
answers925
viewsQ: Search name by first and last name
I’m having a hard time designing a query Mysql to search for a name, and the person can type the first and last name and accept to have another name between them. For example: Search: 'JOSÉ NUNES'…
-
1
votes2
answers2001
viewsQ: Add object inside an object
is the following, I have 3 tables. Cities, Organs and Motives. 1 City can have several organs, and 1 organ several motives. My problem is that in a single page it has to appear all the organs of the…
-
3
votes2
answers514
viewsQ: Take value from within a function
I have a logic problem here, I think it must be a very "dumb" thing on my part, like, I have to take a value from inside the function, and I’m not getting with a Return because it’s an http request.…
-
0
votes1
answer460
viewsA: Close a Collapse when opening another using Angularjs UI
I found that I can use more than one ng-click command using ";", so I put ng-click="acc1 = !acc1; acc2 = true and ng-click="acc2 = acc2; acc1 = true in the Buttons and it worked was worth Grl ^^…
-
2
votes1
answer460
viewsQ: Close a Collapse when opening another using Angularjs UI
I have one Collapse and the other right next, I wanted to click on one, close the other if it was open. My html code: angular.module("seuCondominio", ['ui.bootstrap']);…