All Questions

1
answer

What would be the best way to do a "vertical text" in HTML / CSS?

I'd like to hear from you how best to do these types of text alignment as in the example (vertical alignment, with letters up, " vertically straight ". with the border of a DIV pie)     
asked on 09.11.2015 / 19:28
1
answer

Generate random numbers in Java

How to generate only numbers greater than 2? How to generate only numbers greater than 2 and the generated numbers have to be multiples of 3 (eg 3, 6, 9)? How to generate only numbers smaller than 10? How to generate only numbers smalle...
asked on 28.10.2015 / 23:40
2
answers

Get the value of the javaScript table and put it in an array

I have a problem, I made a PivotTable in JavaScript and want to throw your data into an array, I tried using JSON but when I click the button to run the event it does nothing. I do not know if a plugin is missing, since I have never worked with...
asked on 16.11.2015 / 14:35
4
answers

CamelCase conversion function

I already have a function where it performs the conversion of strings to slug . Below I will give examples for facilitation in understanding my question. 3 examples before conversion: link para uma página link página...
asked on 08.11.2015 / 19:37
3
answers

How do I pick up the current time and decrease it 24 hours?

How do I get the current date in JavaScript, and create another date, only 24 hours before? To get the current time just do: var data = new Date(); to catch 24 hours before, how do you do?     
asked on 11.02.2017 / 22:30
1
answer

In Operating Systems what is the difference between I / O operations and I / O operations?

I have some doubts in distinguishing these two operations, they are similar but I think not the same, although both have to be with input and output of some "thing".     
asked on 09.02.2017 / 01:34
2
answers

How to change the delay of the setInterval programmatically?

I tried this way but did not succeed. My intention is to make as an effect of the Bézier curve. var count = 0; var times = 100; var fn = function() { count++; if(count === 25) { console.log(count, times); times =...
asked on 01.12.2015 / 20:32
1
answer

How can I detect if the user of my site has my extension installed in Chrome / Moziilla

Hello, I need to detect if users who visit my site already have my installed extension, some functions of the site depend on this extension. If you have the extension installed you can access it normally and if you do not have a warning that...
asked on 06.02.2017 / 02:46
2
answers

How do I pass an array as an argument to the user by setting the number of columns?

I will make a simple program just to exemplify my problem. #include<iostream> using namespace std; void recebeValor( int mat[][col]) // me da erro de comp; { mat[0][0] = 2; cout << mat[0][0]; } int main() { cout << "E...
asked on 23.11.2015 / 20:29
1
answer

How to do a SELECT between two tables and their WHERE's?

I get the category ID, and with it I look for the subcategories. For this I am using WHERE's. How would you use INNER JOIN? The WHERE's question confused me <?php namespace Application\Models; use Application\Models\Model; c...
asked on 29.01.2017 / 04:23