All Questions

1
answer

Is it possible to do Computed Properties for an array of objects?

Is it possible to do something like this ?, and how would it be done? HTML <div id="example" v-for="item in items"> a={{ item.a }}, b={{ item.b }} </div> JS var vm = new Vue({ el: '#example', data:{items: [ {a: 1...
asked on 28.08.2016 / 15:33
1
answer

Crontab in linux for backup

I made a sh in linux to extract in a compressed folder the copy of my MySql database. (Here's the sh) #!/bin/sh mysqldump -unombreusuario -pclave --opt nombrebd > nombrecarpeta/nombrebackup_$(date +%d%m%Y).sql cd nombrecarpeta tar -zcvf nom...
asked on 22.08.2016 / 17:51
2
answers

Parsear string ip class c python

Hi, I'm trying to separate each of the octets from any ip address but I can not get it. I have this, it does not work: j = 0 ip = "a.b.c.d" for i in ip: j = j + 1 if str(i)==".": l = ip[:j] print l     
asked on 30.08.2016 / 18:55
1
answer

How to make a select with mysql and php from a modal?

I have a modal that opens from a button which comes with the id of the post. This id stores it in an input type "hidden", in the modal. My problem is having this field already loaded with the selected post id How can I filter data from a data...
asked on 20.11.2016 / 16:01
3
answers

Download or save file to the client from ASP C #

In ASP.NET with the C # language. I need to somehow make my application download or preferably save on the client side an XML that is generated in my application.    In other words, in a "Download" or "Save" button you can download the X...
asked on 11.11.2016 / 22:18
1
answer

Problem installing Mayavi 4.5 in Python 3

I can not install Mayavi 4.5 correctly on Python 3. I have a full installation of Anaconda (the 64-bit version) on Python 3.5 and I installed Mayavi via: conda install -c menpo mayavi=4.5.0. The moment I try to load the library, I get the...
asked on 04.09.2016 / 16:50
1
answer

Tkinter, continue using program while executing a while

Good afternoon, I do a program where two dates are taken by the user and then a comparison with a While, I would like to continue using the program while the While is running, is there any way? def callback(): var=OpenHour.get() var1=C...
asked on 16.11.2016 / 19:46
2
answers

Problem with chess exercise in java

The objective of the program is to print a chessboard, with squares B (white) and N (black), ask for a row and a column and establish a bishop there. So far so good, but the problem comes when you have to modify the board with asterisks in th...
asked on 08.11.2016 / 18:48
1
answer

Blank space in header - caused by margin-top of ul

Edit : I just saw that it's the ul, but should not I leave the margin relative to the father? I'm doing something as simple as a header, but for some reason, entering a margin in the ul produces the margin outside the parent's contain...
asked on 18.11.2016 / 16:54
2
answers

Bootstrap stops Accessing an Input after Setting Runat="Server" ASP.net C #

I have a input : <input type="text" class="form-control pull-right" id="txtRangoFecha" runat="server"> When I put Runat="Server" to this object jQuery , it stops accessing and the calendar never leaves again, and th...
asked on 11.11.2016 / 19:44