All Questions

2
answers

Access variable-based elements

I need to assign the value to a label , example: xrLabel1.text = "teste" , but I have multiple labels where only the number in the final example changes: xrLabel1.text = "teste"; xrLabel2.text = "teste"; xrLabel3.text = "teste"; How...
asked on 20.05.2015 / 01:07
1
answer

Unique Identifier for a Smartphone

I'm developing a system and need to capture a unique Smartphone identifier. In this case, the person would access the site through the Smartphone and the site will capture some unique identifier of the device or even the browser. I thought of...
asked on 21.10.2015 / 21:35
1
answer

Insert Whatsapp Share button in HTML pages [closed]

How do I insert a Share button in WhatsApp into HTML projects?     
asked on 22.06.2015 / 16:51
1
answer

Error making Jar Build

I'm trying to build my first JAR using IntelliJ and Maven to manage the dependencies. I created the artifact and executed build , but when I run the program I get the following exception : Exception in thread "main" java.lang.Securi...
asked on 17.04.2014 / 19:48
2
answers

How do I keep the session after browser closing?

I log in to my site, but when I close the browser, there is no more session. Then I have to log in again. How do I resolve this?     
asked on 26.01.2016 / 04:09
2
answers

How to create a csv from a database query and data

I was able to create a perfect .xls file, but .csv can not, it follows the code I used to create .xls $dadosXls = ""; $dadosXls .= " <table border='1' >"; $dadosXls .= " <tr>"; $dadosXls .= " <th&...
asked on 10.11.2015 / 14:31
1
answer

vectorize moving average of an array in R

I am doing the following operation with an array in the R: > m <- matrix(1:9, ncol = 3, nrow = 3) > m [,1] [,2] [,3] [1,] 1 4 7 [2,] 2 5 8 [3,] 3 6 9 > m2 <- m > for(i in 1:nrow(m)){ + for(j...
asked on 20.07.2015 / 23:28
3
answers

Sending e-mail via a notification button

I would like to know if you have already done or have an example that can link to the following problem: I have a project that has the crud of books and a User controller with their respective views. I made the normal email module as the g...
asked on 05.11.2015 / 00:13
1
answer

Sharing types between API and client application

I'm developing a REST API using ASP.NET WebApi 2 and as I come from the old SOAP standard, I'm used to API-client type sharing . That is, when referencing my service in the client project, all types that are used in the API are created in the...
asked on 15.02.2016 / 14:59
1
answer

Function expression vs function declaration [duplicate]

What is the definition for function expression and function declaration ? What are the main advantages of one against another?     
asked on 14.05.2015 / 16:28