All Questions

1
answer

Change the order of the facet_wrap in ggplot2

See the code below, which generates the following graph: library(lme4) library(ggplot2) ggplot(sleepstudy, aes(x=Days, y=Reaction)) + geom_point() + geom_smooth(method = "lm", se=FALSE, color="black") + facet_wrap(~ Subject, nrow=3)...
asked on 15.09.2016 / 19:52
3
answers

Count elements between two quantities

I am creating a dashboard demographic for a religious organization, which will include the age group of its members among other data. The enrollment and promotion ages among your religious education classes will be used as criteria. Then...
asked on 13.11.2016 / 20:11
2
answers

How to protect my JSON application?

I created a unique subdomain to provide data from my tables in JSON, it facilitates requests for both the mobile version and the desktop version of my site, but I would like to protect such data or at least make it difficult to access them , wha...
asked on 19.04.2017 / 14:03
2
answers

Change div height according to screen size and adapt when adjusting

Hello, I'm trying to adjust the height of my divs as the div that has the largest text, when the page loads, works normal, but when I change the screen dimensions, it does not work. HTML <div class="info"> <p cla...
asked on 19.06.2016 / 02:49
1
answer

How to pass variables between PHP pages via JavaScript?

I was doing a search in PT and EN on how to pass variables from one page to another via JavaScript, although I found a lot of information I kept on with the question of how best to do it. I have some fields of a table (paginated) with filter,...
asked on 08.04.2014 / 17:11
1
answer

Eclipse executes the xml buildfile of ANT 2 times, even having to execute only once

In netbeans, after a few searches, I was able to edit the build.xml file to customize the way the IDE generated my jar and my manifest file. I had to migrate some projects to eclipse, and I even found the option to build jar, but I need t...
asked on 16.11.2016 / 11:55
1
answer

Rotate objects around the specific CSS axis

I would like to know how to rotate an object (div) around the axis of another object (another div). My problem is this: I have a larger circle and 5 smaller circles located in the part below them, each circle is a div. Ineedtoclickonanyofthe...
asked on 01.07.2016 / 15:27
1
answer

Relate MySQL tables and filter by date

I need only one final value, the commission amount for products with extra commission in a date range and a specific vendor, the information is in 3 tables in the DB: Below is the table 'products_commission_extra', the column 'Data_abertura'...
asked on 09.09.2016 / 13:09
1
answer

Export R data to Excel formatted

Assume a data.frame like this: tabela <- structure(list(vendedor = structure(1:4, .Label = c("A", "B", "C", "D"), class = "factor"), Total = c(3300, 440, 1020, 200)), .Names = c("vendedor", "Total"), row.names = c(NA, -4L), class =...
asked on 23.04.2014 / 02:08
1
answer

MySQL database update

I'm working with one database on localhost and the other on production. At various times I need to upgrade my local bank to match that of the server. I made a .sh script to be able to copy all files from the database table (/ var / lib / mysq...
asked on 18.06.2014 / 13:38