All Questions

4
answers

Equivalent to PHP sprintf in JavaScript

Instead of doing: var html = '<a href="' + data.href + '" title="' + data.title + '">' + data.desc + '</a>'; I'm doing: var html = '<a href="{href}" title="{title}">{desc}</a>'; html = html .replace( '{href...
asked on 15.10.2014 / 18:50
2
answers

Syntax error when creating table in PostgreSQL using Hibernate

@Entity public class User { @Id @GeneratedValue private int id; private String name; private String email; private String sex; private int age; private Date birthday; private Date registerdate; private...
asked on 12.11.2014 / 15:20
2
answers

Configure "Activity" hierarchy in "AndroidManifest"

I'm trying to understand how can I set a Activity to return to Activity earlier in AndroidManifest ?     
asked on 28.10.2014 / 00:00
5
answers

Can I make a JavaScript call through PHP?

I'm in a doubt ... I have a PHP code, and when it gets to the "end of it" I would call a JavaScript! Ex: <? .... sucesso('$a','$b'); ?> <script language="javascript"> function sucesso(a,b){ ... } </script>     
asked on 10.09.2014 / 16:18
2
answers

Merge array replacing equal results

How to merge an array by replacing the equal numbers? Example: Home array1 = [1, 2, 3]; array2 = [2, 4, 5]; array3 would be [1, 2, 3, 4, 5]; instead of% with% How to merge an array by replacing the equal numbers...
asked on 03.09.2014 / 03:17
1
answer

Array size

How do I get the size of an array with this structure: A = { ["b"] = {c=1, d=2}, ["e"] = {f=1, g=2}, } I want to get the size of A, in this case, 2.     
asked on 21.09.2014 / 08:04
3
answers

Integration with the SIGEP of the Post Office

I need to integrate with the SIGEP Post API only to generate the tags. I'm using the ready-made GitHub module ( link ). It makes the connection normally, but the return that the Post gives is "Could not get the requested tags." I asked the...
asked on 07.10.2014 / 18:34
2
answers

How to install plugins in separate accounts?

I have: an FTP server with CPanel running on WHMCS three MySQL databases linked to different users three WordPress accounts associated with the above databases How to install a plugin separately, and connect the installation of this...
asked on 21.09.2015 / 17:45
2
answers

Maximum number of characters in a String and StringBuffer in Java

What is the maximum character limit that String and StringBuffer types support in Java?     
asked on 02.10.2014 / 18:28
1
answer

Inner join between two tables

I tried it like this but it's wrong SELECT * FROM produto INNER JOIN familiaproduto ON familiaproduto.idfamiliaproduto = produto.idNomeProduto INNER JOIN qualitygate ON (qualitygate.idQualityGate = produto.idQualityGate1 and qualitygate...
asked on 13.10.2014 / 14:59