All Questions

1
answer

Debug and Release mode in Visual Studio, what's the use?

In my Visual Studio I noticed that there are two settings that I can not understand what they are for, they are Debug and Release is part of the Solution Confugurations option. Could someone explain to me what is the purpose of these two...
asked on 02.11.2015 / 14:48
2
answers

Sliding effect on 'anchor' links

I have a OnePage page and the anchor links of the menus when they clicked they only " skip " for the section of screen below but I wanted them slid gently to the intended 'anchor' section. I tried to put transition via CSS and I wa...
asked on 01.10.2015 / 19:21
2
answers

How to convert the first letter of words into a string

Having a given string, how to put the first letter of each word in large letters (Uppercase)? For example: original: 'a música é universal' High: 'A Música É Universal' but also names like "anna-karin" common in...
asked on 27.11.2014 / 20:41
1
answer

Concat () VS Union ()

What is the difference between Concat() and Union() ? When to use Concat() and when to use Union() ? Can only be used in list ?     
asked on 19.03.2015 / 11:47
1
answer

What is it for! [CDATA []] in XML?

In some examples of platforms, you have tags% , but what's the use of this in XML? Model of an XML to be followed by a platform. <?xml version="1.0" encoding="UTF-8"?> <loja> <produto> <link><![CDATA[htt...
asked on 20.08.2015 / 03:36
1
answer

What is the difference between automata and grammars?

I'm studying compilers and relating programming languages. What is the difference between automata and grammars?     
asked on 08.08.2014 / 17:14
1
answer

Remove accents from a string in php [duplicate]

To have problems with the accents in my code and wanted to remove the accents when doing the search, Ex: Search: Hello | Hello. When doing a Music search on the site it returns the url like this: search.php? q = Music And it does no...
asked on 05.02.2015 / 23:51
4
answers

How to format a value in JavaScript?

What is the simplest way to format 1234213412341 to 1234.2134.1234-1 using JavaScript? <script> function formatar_valor(strvalor){ var formatado; // formata return formatado } alert(forma...
asked on 20.03.2015 / 05:40
5
answers

Explode with name indexes (associative)

How can I make a explode in a variable where I can then access it by nominal index , and not by numeric index ? Follow the example to get clearer: <?php // Aqui acesso pelo índice $user = "Diego:25:RJ"; $info = explode(":",$u...
asked on 25.08.2016 / 18:15
2
answers

Foreach or lambda in lists

What do I get the best performance to get the value of a data in a list? Do foreach or lambda (when possible, of course)? I can have this: foreach(var i in lista) { var teste = i.NmCampo; } Or this: var teste = lista.Select(campo...
asked on 11.03.2015 / 13:09