All Questions

1
answer

Rotate adb in several docker containers

I have four phones connected via USB. I have two containers docker running on my machine and each of them has adb running. The adbs select the cell phones randomly, I'd like to map two cell phones to one docker and two cell phones...
asked on 18.07.2018 / 17:45
1
answer

Trajectory of an object using canvas in javascript

The question is, I managed to develop the exercise to a certain extent, after that, as I do not know much of javascript, if I send the square back diagonally, the square comes back before due to the coordinates that have already been used, it is...
asked on 21.08.2018 / 02:02
1
answer

PostgreSQL - Partial Foreign Key of Composite Primary Key

Talk to people, I need to create a structure template in which all my tables have a primary key consisting of id and version, so I can have multiple versions for each id. Problem: CREATE TABLE table1 { id BIGSERIAL,...
asked on 30.08.2018 / 15:04
1
answer

Update cart status without leaving the page | Woocommerce 3.4+

<?php global $woocommerce; if ( sizeof( WC()->cart->get_cart() ) < 1 ) { ?> <div style="width: 25%;" class="footer-section <?php echo esc_html($woo);?>"> <a href="<?php echo get_home_url();?>"...
asked on 15.06.2018 / 12:27
1
answer

Error while executing method nls in R - 'arg' must be NULL or a character vector

When I use the n0 <- nls(Y~expo.der(x, A, B, C), data=dados_Indice, start=start, na.omit(NA), trace = TRUE) expo.der is the name of the created function that defines the formula used in the regression, I changed it to MM MM <- deri...
asked on 18.09.2018 / 19:27
1
answer

How to update the value of a column through substitution in all rows of the table?

I have a i18n table in the database whose constant column contains all values with the prefix lang : Table description ┌──────────────┬──────────────┬──────┬────────┬─────────────────────┬────────────────┐ │ Field...
asked on 31.12.2013 / 15:11
3
answers

How to leave the background of a fixed div in iOS (iPad) Safari?

I have a layout that works great on the desktop, but when viewing in iOS Safari (iPad specifically) it does not appear as expected. I want the div background to stay fixed when scrolling the page. Does anyone know how to fix this problem? css...
asked on 06.02.2014 / 20:51
1
answer

WebCrypto keys derived from PBKDF2

I'm using PBKDF2 in WebCryptoAPI to generate a "derivable" key based on a (a password) and deriving from it a AES-GCM key. I'm doing a round of testing where: In the first round I generate the keys (PBKDF2 and AES-GCM), except this...
asked on 17.08.2018 / 07:41
1
answer

How to get a file in PHP passed by $ .ajax?

I have a problem I do not know if it is when sending in $ .ajax or catching with PHP. It is not getting the $_FILES normal on the other side, it arrives as 'caminhofoto' => string 'C:\fakepath.jpg' (length=17) , gave var_du...
asked on 20.12.2018 / 15:12
1
answer

How to color specific lines of a JTable?

I'm developing a Java application that involves a JTable , I need to paint some red lines depending on the age and status of that line. I'm using a DefaultTableModel to populate my table. I do not know how to start. Could you...
asked on 06.02.2014 / 16:34