Interesting questions
-
0
votes1
answer113
viewsI cannot add methods to the Vuejs button
I’m facing a problem. I’m adding buttons to my page via v-for, but the button, when clicked, does not call the corresponding method in v-on:click. Follow the code below: for(var i = 0; i <…
vue.jsasked 6 years, 5 months ago Guilherme Brentan 11 -
0
votes1
answer160
viewsPLSQL - Query between tables
Hello, I would like suggestions on how to perform a query between two tables (Person and Person Permissions), where we have the table Person (person, name), the table Permissions(Permission_id,…
-
0
votes1
answer342
viewsReturn word media in a dictionary from another function
I need a function that receives the result of a word counting function and based on these values, this function calculates the average of how many times a word appears in the text, stores that…
-
2
votes2
answers571
viewsHow to remove public from url
I’m creating a small application and have a url like root/public/index.php, wanted to know how to remove this public and leave the url alone root/index.php using .htaccess. I’ve searched Google and…
-
3
votes1
answer82
viewsString (g)Match
Well, I’m looking to turn a string into a table. I tried so: toset = "nb = 10, gb = 20, sb = 0, sfb = 0, ub = 0;" toget = "nb = (.-), gb = (.-), sb = (.-), sfb = (.-), ub = (.-);" t =…
-
0
votes1
answer265
viewsXcode function library (Objective-C)
I need to create a function library in Objective-C. The idea is to create something more or less like the function library Math. h. That is, it is not necessary to instantiate the class to use the…
-
3
votes2
answers67
viewsRoute c# redirecting to wrong action
I have an action that returns a Partialview [HttpPost] public ActionResult SelectCidadesPorCodigoUF(int idUF) { //It do something and returns a PartialView } This action is mapped as follows:…
-
0
votes1
answer236
viewsJava @Generatedvalue + SQL server NEWID + Hibernate
I have a table that has ID defined as CREATE DEFAULT ID_Tabelas AS NEWID(), that is, even if I use an Insert without the key, it will be generated automatically. How to make Hibernate recognize that…
-
3
votes1
answer115
viewsBinding on Spring MVC not working
Well, I have a problem that never occurred to me before related to the Spring MVC Binding. I have a form as below. The bindind "firstName" and "lastname" work well, but already the "logins.email"…
-
0
votes1
answer611
viewsConnect external php script to mysql from a codeigniter server?
I have a XAMPP server on an iMac OSX with a portal developed in codeigniter and would like to integrate into the mysql database an external script that is currently running via terminal and is not…
-
0
votes2
answers492
viewsI can’t access my Laravel 5 project from Vagrant and Nginx
I’m creating a development environment using the Vagrant with the following dependencies: PHP7; Postgresql 9.3; Nginx 1.9; Git. The problem is that when accessing the url http://advodocs.local.com/…
-
0
votes2
answers2620
viewsdecrease time of jQuery slider
I did not use any plugin to make a simple transition between Divs, because it was not to be anything too complicated and did not want to overload the page with several plugins, but in my script the…
-
1
votes1
answer106
viewsHow to capture parameters by XSL?
I’m modifying a form in Sharepoint and want to get the parms that are being passed in the url, someone has a suggestion? <xsl:element name='a'> <xsl:attribute name='href'>…
-
2
votes1
answer85
viewsHow to take the links of a Nav with Javascript and add a class?
I got the following nav: <nav> <ul> <li><a href="">1</a></li> <li><a href="">2</a></li> <li><a href="">3</a></li>…
-
0
votes0
answers16
viewsHow to use Reference in Firebase?
I am training in a digital point hitting app, and I wanted to know how I could create a rule for each user to be able to register 4 daily point i would have the Users document and the Records…
-
0
votes1
answer58
viewsData from a file. Json
Eai guys, all right? ... I’m having a problem where I need to get a data block from a json file, being it: { "custom_fields": { "[TS] A empresa em que você trabalha é": "uma fábrica/indústria",…
-
0
votes1
answer728
viewsHow to get the value of a text with Cypress?
I need to capture the text of an element with Cypress. I am using: const test = cy.get('elemento').invoke('text') cy.log(test) The log shows: Object{5}. What do I have to do to get this log? Because…
cypressasked 5 years, 11 months ago Lucas Marcos 11 -
0
votes0
answers35
viewsHeritage with modelMapper
I am creating a project in college, in which I need to register a user. In my controller I receive a User and need to convert to a type of user, being them student, teacher, coordinator or external…
-
3
votes2
answers177
viewsHow to insert objects using canvas (javascript) and avoid 2 objects in the same position
I’m doing a canvas test to randomly insert various polka dots into a rectangle. I use a random position for each ball, as long as the limit is less than the width of the rectangle. So far so good,…
-
0
votes1
answer3879
viewsHow do I determine a square matrix in python?
My file is like this: arq = open('matriz.txt', 'r') texto = [] matriz = [] texto = arq.readlines() for i in range(len(texto)): matriz.append(texto[i].split()) for i in range(len(texto)):…