All Questions

3
answers

Columns with different line numbers, how to join?

I have some time series (monthly) that end in different months, for example, some end in March 2017, others in April 2017 and some until May 2017, 228 2016-12-01 1.12 229 2017-01-01 1.09 230 2017-02-01 0.87 231 2017-03-01 1....
asked on 04.05.2017 / 20:58
4
answers

How to do lidiv class="class" onclick="window.location = 'link';" / div open in new tab?

I'm trying to open a link in div in a new tab, but       target="_blank" is not working. Eu queria abrir o link numa nova aba. <li> <div class="clientes" target="_blank" onclick="window.location='LINK';">...
asked on 19.05.2017 / 16:41
1
answer

What is seeder and migration?

When it comes to updating the database in a project, I always realize the term Migrations being used to keep updating the database among those involved in a given project. I've also come across the term seed or seeder when it comes to e...
asked on 25.05.2017 / 17:51
2
answers

Is it a bad idea to versionarmos classes automatically generated with JiBX?

Where I work we have a (very old) project that uses JiBX to generate some classes from schemas . These classes are generated in the build so the source does not exist in the project. Someone gave the bright idea of getting these source g...
asked on 26.07.2017 / 21:08
2
answers

Doubts regarding the use of json_encode and json_decode

When and how should we use json_encode and json_decode ? What are they for?     
asked on 22.06.2017 / 17:28
1
answer

Can I have more than one builder per class?

The question is simple personal: Can I have more than one constructor in the same class? At first, I'll need to set the plugin variable in my object, so I'll use the constructor that defines that variable; public RankAPI(Main main) {...
asked on 03.07.2017 / 21:20
1
answer

How getTime works

I have 1 cookie script and it has a system of course of course .. I would like to understand this count: date.setTime(date.getTime()+(days*2*60*60*1000)); How much time do I have on this count? How much would this amount give? * 2 * 60 * 60...
asked on 04.12.2016 / 01:32
3
answers

Obtain specific application memory usage

I need to get the memory and CPU usage of an application in C #, with the code below (using PerformanceCounter ) did not get the same value as the Task Manager of Windows . PerformanceCounter cpu; PerformanceCounter ram; cpu = new Pe...
asked on 14.08.2017 / 17:06
2
answers

Declaration of variables before the main () function and after the main () function in C

What is the difference between declaring any variable (in this case number ) before the function main() ? int number = 0; int main() { printf(" The number is %d\n", number); return (0); } and after it. int main() {...
asked on 07.12.2016 / 22:59
3
answers

Change String Y-axis and Google Chart

I use Google Chart to generate graphics. I have array with values from 1 to 4. These values are of type int . I need to change the description of the Y axis. To: 1 = Great, 2 = Good, 3 = Regular, 4 = Bad. Iwouldlikeitt...
asked on 07.11.2016 / 19:34