All Questions

1
answer

Constructing a function by defining x and y using R

I have this array: matrix=structure(c(0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.1, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.2, 0.21, 0.22, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.29, 0.3, 0.31, 0.32, 0.33, 0.34, 0...
asked on 27.10.2016 / 01:08
2
answers

How to make a vertical line [closed]

Hello, I wanted to know how to do a vertical line with this code: <hr> By default it's horizontal, I wanted it very vertical, does anyone know how? I just wanted this code because I have it vertically on my site too.     
asked on 30.07.2016 / 00:32
4
answers

Javascript customize confirm, replace button text "ok" and "cancel", execute function only if clicked ok

How can I customize confirm , overwriting the Ok and Cancel button text? I also wanted to execute the function only if I clicked Ok. Follow the code without success yet <script> function funcao_a() { confirm('funcao A');...
asked on 14.08.2016 / 17:48
1
answer

How many $ _POST records of a form with dynamic input? [duplicate]

I have a form with dynamic fields but I noticed that when I send it it limits to 166 records. In my form the fields are within a WHILE like this: <input name="contagem[]" type="hidden" value="<?php echo $contagem; ?>" /> <i...
asked on 23.11.2016 / 04:49
1
answer

Block old browsers

Is there any way to block old browsers ? To be more direct: do not let these browsers, such as IE 6 access my site? I searched the internet and found no source on the subject.     
asked on 13.02.2016 / 21:44
1
answer

Problem when verifying if a number is a module of 2 in pure js

I'm trying to do this: if(i % 2){ console.log(i); } i is the variable of is coming from a for loop. Why is not it working?     
asked on 05.10.2016 / 16:37
1
answer

Generate links and download content programmatically

I would like to know how I would collect data from a website. The site is link . There I have to download all the data from operation history from power generation to Natural Energy Influence. The problem is that within each data series, you...
asked on 14.12.2015 / 14:56
2
answers

Limit database results?

Continuing with the lesson videos, I came across a method of displaying data from the database a bit differently, in the video it is used: $result = mysqli_query($conn, 'SELECT * FROM comentarios ORDER BY data DESC'); $row = mysqli_fetch_assoc...
asked on 17.12.2015 / 17:15
1
answer

What does the term "String ... string" mean in Java?

What does the term String... string mean in Java? And how to construct a method that returns a String... as an example: public String... getStrings(){ return String... s;) } I know it's not that way, but I wanted to know...
asked on 01.02.2016 / 14:52
1
answer

Methods that require return even though Void in the "signature"

I'm doing some tests to understand in practice how the class works SwingWorker in% of%, and I noticed that the swing method requires doInBackground return, even starting the variable of the form below: SwingWorker<Voi...
asked on 21.03.2016 / 16:34