All Questions

1
answer

Organization and maintenance of Bootstrap

I'm starting with the use of Bootstrap with MVC 4 and during the planning I noticed that the main screen of the system will have many divs. Many of them can be repeated (exactly the same) in other screens. To facilitate future maintenance and...
asked on 13.08.2014 / 22:12
1
answer

Problem in MySQL query

I have a problem with a MySQL query. In it I have 3 tables that I need to cross: Drawing table: id concurso_id customer_id Contest table: id titulo criterioDiasCorridos criterioNotaMedia criterioMinimoVotos "notadesenho" table:...
asked on 21.08.2014 / 17:43
2
answers

Difference between table, entity and behavior

What is the difference between table , entity and behavior in the Model context? For example, I have a table called module, I want to make a query like this $modulo = TableRegistry::get('Modulo'); $resultado = $modulo ->find()...
asked on 05.09.2017 / 16:41
1
answer

Ternary relationship with a foreign key not required

I have a database with three entities that relate: user, process_selective and courses. The goal is to model the bank to meet the following requirements: User can subscribe to multiple selective processes Each selection process may or may...
asked on 09.08.2014 / 02:54
1
answer

Working with C # resources?

I added the dictionary resource to my project, now I need to convert it to a dictionary via code, but it is bringing the null resource, can anyone help me? List<string> dic = new List<string>(); List<string> aff = new List<...
asked on 08.08.2017 / 13:32
1
answer

Watermark with WideImage With png

I'm trying to add a watermark via php with the Wideimage library. include 'WideImage/WideImage.php'; $img = WideImage::load($targetFile); $watermark = WideImage::load('../images/logowater.png'); $img = $img->merge($waterma...
asked on 14.07.2017 / 15:22
1
answer

Custom Popup

I'm trying to make a custom popup, similar to the one in the photo, by putting a close button at the top and centering it in the middle of the screen, does anyone know how I do it? I searched for some codes, but nothing very complete     
asked on 15.08.2014 / 01:30
1
answer

Calculate the sum of repeated elements in Angular-JS using ng-repeat

In the code below an expense list is displayed using ng-repeat. For each element the description and the value are shown. What is the simplest way to show this total? <table class="table table-hover"> <th>DESCRIÇÃO</th>...
asked on 15.08.2017 / 16:10
1
answer

Which simulate, NFA or DFA?

Well, we know that theoretically and practically, every NFA can be converted to a DFA that accepts the same language. My question is this: Which one should I really simulate? NFA or DFA? I did not understand the practicality of simulating an...
asked on 03.08.2014 / 04:13
1
answer

How to copy array of integers to type Mat in OpenCV?

I would like to know how to copy an array of integers to an OpenCV Mat-type data? The following is an example I created to illustrate my goal, which corresponds to a given user-generated array (ranging from 0 to 255 - color variation in OpenCV)...
asked on 20.07.2017 / 15:00