All Questions

4
answers

How do I create a button or a link to download a specific file?

I need to create a button that when clicked is downloaded and not opened in another tab or window. It can be any type of file both image, pdf, music among others.     
asked on 15.08.2014 / 21:02
1
answer

What steps can we take to protect ticket issuance of malware that changes the digitable line?

In addition to the PDF issue, which may make it difficult for some customers to lack PDF viewers, what techniques could we use to protect or detect that the generated ticket has been modified by malware?    Virus that affects tickets already...
asked on 08.08.2014 / 19:05
1
answer

Read merged rows and columns in excel, using python

I'm having trouble reading information from a spreadsheet that has merged rows and columns. I tried using merged_cell to get the value, but I do not understand how it works. Can anyone help me? Using the script below, I can get the values, e...
asked on 21.08.2014 / 21:15
1
answer

DropdownList with unique values MVC

My class Galeria has a foreign key with Album because there is a 1-n relation and each picture in the Galeria item has a Album . Given that, in the CMS that I created I give the possibility of the user to relate a phot...
asked on 04.08.2014 / 20:54
2
answers

View Razor for PDF

I need to convert Views from my MVC 5 application into C # using Razor to PDF. I've already tried it, and the free tools depend on iTextSharp, which I researched has a different markup. But I need to convert any HTML page to PDF, that is, con...
asked on 18.08.2014 / 21:55
2
answers

Store SMS message in variable

I'm having trouble saving an SMS message to a variable. The idea is to send an SMS with a command and later use a conditional operator to activate or deactivate a relay. But I can not save the SMS message. Whenever I try to save it, it assume...
asked on 22.08.2014 / 20:17
1
answer

problem with google.maps.LatLngBounds behavior

I have and following code that pecorre my maker and arrow the bouns var bounds = new google.maps.LatLngBounds(); $.each(markers_temp, function (key, value) { markers[key] = value; bounds.extend(markers[key].position); }); markerClust...
asked on 02.12.2015 / 15:04
1
answer

How to read JSON with moon?

I would like to know how to read this JSON below through the Lua language. json = '{"nome" : "Wallace de Souza"}'     
asked on 10.12.2015 / 13:24
1
answer

MVC representation in UML class diagram

I'm building the class diagram of my project and I was left with a question at one point. In the project I create an instance of my Controller class in main and step reference (I know that in Java the pass is always by value, but when we pass th...
asked on 16.12.2015 / 00:11
1
answer

Object-relational mapping (JPA + Hibernate) using XML

For a specific reason, I need to map object-relational (JPA) of my entities with XML. [Unfortunately,] I can not use annotations to do this. It turns out that on certain properties I need to use Hibernate-specific features. For example, extra la...
asked on 09.07.2014 / 03:09