All Questions

1
answer

Lists and dictionaries python

I'm working on Python 2.7. import collections counter_ger=collections.Counter(sub_todaas) a=counter_ger.values() b=counter_ger.keys() sub_ind_novo = [Ntodos.index(i) for i in b if i in Ntodos] (where Nodes contains many names, among which a...
asked on 30.05.2016 / 18:58
2
answers

Fields are not 'masked' with jQuery Masked Plugin

Good afternoon, @EDIT The fields are now accessible. However, what is typed is not masked as defined in the script. Plugin: link Code: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Cadastr...
asked on 23.05.2015 / 21:45
1
answer

Arduino send GET to PHP page

I have the following code in Arduino: #include <SPI.h> #include <Ethernet.h> #include "DHT.h" #define DHTPIN 2 #define DHTTYPE DHT11 DHT dht(DHTPIN, DHTTYPE); byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; IPAddress ip...
asked on 23.03.2016 / 14:14
4
answers

Balloon that brings information about the page

I have the following code. <html> <table> <td>..texto..</td> </table> </html> I would like that when I click on the text of this td I will upload a balloon on the page and show me all content t...
asked on 16.05.2016 / 14:05
1
answer

Templated Method - Is it possible to implement with composition instead of inheritance?

To create a Thread we can either extend the Thread class and override the run() method, such as having a class that implements the Runnable , implement the run() method and pass the reference of an object of this class that we...
asked on 24.04.2016 / 20:15
3
answers

Why does my ActionBar due to an error stay within my StatusBar?

I started a new default project on Android, I did the same thing Of% get over the default menu ActionBar , now, my NavigationDrawer goes inside ActionBar and the font goes black, I did not move in nothing the code is the def...
asked on 28.05.2016 / 18:34
1
answer

How to connect to the Azure Database?

Well friends, I have a database on Azure, but I can not connect to it. The error is that my IP is not allowed to make such a connection, what I did was add a new rule to the bank server firewall, but every moment I change IP I have this problem....
asked on 02.06.2015 / 22:46
1
answer

Returning to the top of the screen when writing in the field

I have the following error: I have a list and a field, every time I edit any edit text from the list, it loses focus and goes to the top of the screen, note the gif that every letter of the word "test "edittext loses and gains focus, but the fir...
asked on 10.06.2015 / 15:05
1
answer

Add in and out and subtract

I have this code : $(document).ready(function () { var $entrada = 0, $saida = 0, $total = 0; $.each($("td[name='entrada']"), function() { $entrada += parseFloat($(this).text().replace(",", "."));...
asked on 04.05.2015 / 22:15
2
answers

Compare contents of a Column

I'm a beginner in R and needed help comparing column contents. First I ordered my table based on a specific column. For this I used the following function: x = fread ("x.txt",sep=";") x_ordenado = x[order(x$V3),] I'm working with files...
asked on 20.05.2015 / 22:26