All Questions

1
answer

BLOB type images stored in a table

Does anyone know how to extract BLOB type images stored in a MySQL table and convert them to .png, to store them in a folder? The following code extracts the image of the "200x150" field from the "img_alq" table and displays it on the screen:...
asked on 27.05.2017 / 13:48
2
answers

I need to use javascript call functions from an append

The question is this: I have a <div> (content) that when doing a HOVER send a javascript function to show other <div> hidden. Also, those <div> hidden when you click on them also make a function....
asked on 26.05.2017 / 21:12
2
answers

Synchronize Ajax

I have an application in which I download all the data when the user logs. I need some data to be downloaded in full to go to the beginning of the application, because if they are not recovered, there may be errors. Now I have Ajax in this...
asked on 27.05.2017 / 04:44
2
answers

How to clean the mongodb data base in debian

For some reason my mongodb data base is corrupt (it does not behave as it should "Dup key: {: null}" mongodb error, and I would like to clean it, delete all its data completely. I'm in Debian and I do not know which is the easiest way to do it...
asked on 09.06.2017 / 20:05
2
answers

Get only 2 decimals

I have the following js: var array = ["paco", "185.6687", "lucas", "1365.2541"] <div ng-repeat="val in array"> {{val}} </div> I know that if it were a number that makes {{val | number:2}} function but if I have that a...
asked on 09.06.2017 / 07:58
2
answers

Decimals point type for the input type number of HTML5

I have the following input: <input type="number" value="1.5" step="1" id="id_texto" /> Currently the value of the input shows me 1.5. But what I want is to show me 1.5. I want decimals to show it to me with a period, and not with a co...
asked on 09.06.2017 / 22:24
1
answer

Modify the colors.xml file of an android project from an external xml

I have this xml in my android project /res/values/colors.xml : <?xml version="1.0" encoding="utf-8"?> <resources> <color name="colorPrimary">#77ac5f</color> <color name="colorPrimaryDark">#558...
asked on 08.06.2017 / 11:22
2
answers

how can I set the checked value to a checkbox by clicking on my button

$(document).on("ready", function() { mostrar2(); }); var mostrar2 = function() { var table = $("#tabla").DataTable({ "ajax": { "method": "POST", "url": "conection.php" }, "columns": [{ "data":...
asked on 06.06.2017 / 22:09
3
answers

Display data between a range of dates using Highcharts in Wordpress

I edit the question: I'm using HighCharts in WordPress to show data from a DB MySql . I want to show data between a range of dates selected by the user In the HighCharts code, in the data section I do not hav...
asked on 06.06.2017 / 19:31
2
answers

In android when taking vertical photo, in the image view, the image comes out rotated 90 degrees

I have problems uploading an image to a server from android. My code to select image: new AlertDialog.Builder(getContext()) .setTitle("Seleccionar Imagen") .setPositiveButton("Galeria", new DialogInterface.OnClickListener() {...
asked on 12.06.2017 / 07:25