All Questions

2
answers

Optimizing Jquery Code

I have a code that I create to detect if a page contains a 'table' element and if so add some elements to those tables as a message if there is no table and a different message with a link if it exists. In addition to adding a div using t...
asked on 16.05.2016 / 15:31
1
answer

Refresh listview SwipeRefreshLayout

Taking as a start I'm finishing my android app, and I need to update my custom listview when I slide down the screen. I am implementing SwipeRefreshLayout only that I got stuck in the part of the onRefresh method and I do not know how t...
asked on 19.05.2016 / 00:11
2
answers

error with docker installed on a 32bit architecture machine

Hello everyone I would like to know what this error is due Error response from daemon: Cannot start container ffb: [8] System error: exec format error FATA[0000] Error: failed to start one or more containers this error is generated when wan...
asked on 14.05.2016 / 20:55
2
answers

How do I sum up the total of several grades?

In my DB I did the search of a student and threw me the subjects that he / she has studied (24 subjects), qualification of each subject and the credits of each one (1 subject = 10 credits). Now, what I want is to add the credits and that they no...
asked on 17.05.2016 / 00:32
2
answers

Compare dates in php

Why this example does not work for me: $fecha = new \DateTime("2016-05-17 0:0:0"); $fechaCounter = clone $fecha; $fechaLimite = clone $fecha; while ($fechaCounter <= $fechaLimite->add(new \DateInterval("P2D"))) { echo "hola mundo";...
asked on 15.05.2016 / 13:19
1
answer

Travis CI: "UnCSS: Configuration missed" in Travis CI

I'm trying uncss-brunch with Travis in a test project . brunch build works locally, but when I do git push the build in Travis fails: 18 Apr 22:38:59 - error: UnCSS: Configuration missed. Any ideas of what may be wrongly...
asked on 18.04.2016 / 22:54
2
answers

A getElementById can be used if it exists several times but with a differentiator?

I want to know if it is possible to use the Id of an element if it is used For example we have <img id="image1" onclick="usarImagen();" class="img-responsive center-block" src="images\imagen1.jpg" alt="banner1" align="middle"/> <im...
asked on 19.05.2016 / 22:37
2
answers

Update several records of a column in a single SQL query

I want to reduce the number of UPDATEs that I make from my application to the table ventas of my database. This UPDATE sends a value to the record in the ordenadores column, as long as it matches the values passed to id and...
asked on 16.05.2016 / 19:13
1
answer

How can I read or print a block of lines or data from a file, between two lines or two keywords within the file in python?

I have several files with the same format and I want to read a block of those files from the line where the numbers or data of the time, voltage and current appear, until the line 'final data', this would be an example or something similar to th...
asked on 20.04.2016 / 15:48
2
answers

Bootstrap tab panel event

I have a tab bootstrap panel with 5 interchangeable tabs (in active, fade, fade, fade, fade) Within each of these tabs is included a dxchart (devextreme) that is graphed with Jscript. When my page finishes loading, the graph that is in the...
asked on 13.04.2016 / 23:47