All Questions

1
answer

Multiple select rendering different for each browser

I have the following code: <select multiple="multiple" id="carros" size="1" name="carros"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="opel">Opel</op...
asked on 20.02.2014 / 21:28
3
answers

Is it possible to perform git bash scrolling?

I just installed git and opted to install git bash (command line tool) together, to use all git commands for it. However, I noticed that mouse scrolling does not work at this prompt. Has anyone ever experienced this? I'm usi...
asked on 16.02.2014 / 17:39
1
answer

Draw route above the street on the map

I have a feature that captures gps positions every 10 seconds. Every 30 seconds or if there is a 20-degree change in bearing (I compare the last position with the current one) I store to send to the service. After, the user can vi...
asked on 01.09.2016 / 15:02
3
answers

Executing command with another user inside a shell script

I have a shell script that I need to execute some commands with a linux user, and some other commands with another user. Something like this: #!/bin/bash echo 'rodando com usuário A' comando1 comando2 comando3 echo 'Rodando co...
asked on 23.05.2014 / 21:54
1
answer

Difference Between Using "FROM Table, Table2" X "Join Table ON Table2"

Considering the two forms of joining tables with a join (any): SELECT Tabela.A, Tabela.B, Tabela2.C FROM Tabela LEFT JOIN Tabela2 ON Tabela.Id = Tabela2.TabelaId And a union using from SELECT Tabela.A, Tabela.B, Tabela2.C...
asked on 06.04.2017 / 14:47
2
answers

How to create an alias to execute multiple commands with git?

I would like to know how to create an alias for git that runs the following commands: git add (all modified files) git commit (including a message) git push I tried the following configuration in gitconfig: [alias] upl = !git add...
asked on 08.02.2017 / 15:40
1
answer

Argument of a function is another function

I would like to know how to put another function as an argument for a function. For example, let's say that I want to solve an integral by a given numerical integral approximation method. And I want to create a function that does this, in whi...
asked on 06.12.2016 / 12:22
1
answer

Error when printing static list

How do I print to my static list? #include <stdio.h> #include <stdlib.h> #define MAX 3 struct alunos { int matricula; char nome[30]; float nota1, nota2; }; typedef struct lista { int quant; struct alunos dado...
asked on 10.10.2016 / 18:05
1
answer

Copy a numpy.array without modifying the original

Given a numpy.array like the following: r = np.arange(36) r.resize(6, 6) That results in: array([[ 0, 1, 2, 3, 4, 5], [ 6, 7, 8, 9, 10, 11], [12, 13, 14, 15, 16, 17], [18, 19, 20, 21, 22, 23], [2...
asked on 03.11.2016 / 23:38
1
answer

How to edit data (numbers only) and calculate its values in a DataGrid?

I need a DataGrid column to receive users only numbers in the rows (cells) and after clicking on the button, multiplication calculations are performed between cells on the same row and different columns. The DataGrid is populated as follows to t...
asked on 27.05.2016 / 01:31