All Questions

1
answer

PDF Generator with Laravel Framework?

I need to make snappy generate reports from BD data. But for this I needed examples of using snappy , in the documentation of github you even have an example, but that example did not help me. I needed an example of how to...
asked on 06.03.2017 / 19:04
1
answer

Use IEnumerable or ICollection?

I want to create a 1x N mapping using the fluent API Entity Framework , something like: a shopping cart has several products. In my cart class, I have a navigation property , which is a collection of products: public class Produto {...
asked on 14.03.2017 / 12:41
2
answers

Finding XPath in Selenium

I'm breaking my head to find the XPath of a table . Could you help me? The structure looks something like this: <div> <div id="divMF"> <iframe name="Principal> <frameset id="frmset"> <fram...
asked on 07.02.2017 / 13:56
2
answers

Sort by the number of repetitions of a column?

In a query in MySql I need to select the results and sort the results based on how much they are repeated using the id_livro column, for example: My comments table: +----------------+-------------+ | id_livro | comentario | +-...
asked on 02.02.2017 / 18:35
2
answers

Regular expression for password

I'm trying to do a strong password check in javascript. Initially I want to check if there are 02 numbers in the string under the following conditions: "12vvv": two consecutive numbers or more of anything returning true "1a1a": two separat...
asked on 22.02.2017 / 20:54
2
answers

Handle worksheet with userform loaded (excel vba)?

When we have userform loaded, can you change / browse in spreadsheets of excel ?     
asked on 22.03.2017 / 23:47
1
answer

Using Concat to concatenate array of strings

I was looking at strings and that they are immutable and can not be added to them in pain under penalty of being too slow. The recommendation is to use StringBuilder . But I also saw that there is a version of Concat () that accepts...
asked on 20.03.2017 / 14:45
1
answer

How to get the maximum / minimum value of an integer in the C language

Speak up! Is there a function in language C that takes the maximum / minimum value of an integer?     
asked on 06.03.2017 / 05:56
2
answers

How to map and get only one property or field of a query?

I'm using Dapper to map object properties . See a practical example: var servico = conexao.Query<Servico>(statement.ToSql(), new { IdServico = id }).First(); That is, the Servico object will have all its properties mapped a...
asked on 29.01.2017 / 16:07
2
answers

How to use If Else correctly

I have the following checkboxes : <input type="checkbox" class="check" id="livros" value="livros"/> <input type="checkbox" class="check" id="folhas" value="folhas"/> <input type="checkbox" class="check" id="porta" value="porta...
asked on 21.02.2017 / 00:16