All Questions

2
answers

Filters or Sorting, which should be the first when creating an index in the database

Given, for example, the following Query: SELECT ClienteId, Nome, DataNascimento, Cidade, Estado, DataCadastro FROM Cliente WHERE Estado = :Estado AND Cidade = :Cidade ORDER BY DataCadastro, DataNascimento DESC In terms...
asked on 28.10.2014 / 12:16
2
answers

Leave two Divs always with the same height [duplicate]

I'm using bootstrap, I already tried to use display:table-cell and display:cell in divs children, however, nothing worked, I have two divs , and both have dynamic content, but I need both to stay of the same size....
asked on 28.04.2015 / 03:18
1
answer

How to rotate the character as the mouse moves?

I'm learning how to play a game but by following step by step I think I did something wrong. It moves correctly but just keeps looking forward and does not spin, I do not know if it's a problem in the character's turning. The script is this: p...
asked on 08.02.2015 / 16:04
4
answers

Vertically center div container on the Bootstrap page

I'm having problems centralizing the page because centralizing both sides has already been done, I already added several classes and attributes in the style tag but I did not succeed, and to better exemplify what happened, I removed a print and...
asked on 24.12.2014 / 17:31
1
answer

Using WaitAll in C #

I have the following problem: A program generates two types of threads A and B through clicks on their respective buttons. Both types can not run at the same time. If I have 10 threads A, B can only execute when 10 of type A ends. I can re...
asked on 15.12.2014 / 01:08
2
answers

What does it mean to create an object with an asterisk? [duplicate]

While learning programming at a reasonable time, learning C ++ with QT, I came across something I had not seen in other languages. I noticed that some (not all) objects need to be created with an asterisk preceding the name. For example: QMe...
asked on 19.06.2015 / 01:07
3
answers

Fix first line table

I need to set the first row of my table always at the top of the page. I have read several questions about this same problem, but I could not solve ... My code: <table border="2px"> <tr bgcolor="0099FF" id="topo"> <th...
asked on 19.12.2014 / 02:17
3
answers

Best practice to check if the module is being used

My question that maybe - hopefully not - can be considered as opinion, is conceptual and even simple. In most applications, we work with features that when used by multiple users at the same time, can cause some problem in the database. In my...
asked on 22.05.2015 / 16:24
1
answer

Manipulate an open window from the parent window with Javascript

I'm thinking of using the native window.open() feature to create a small web system that is similar to desktop systems (made with windows forms). My problem is regarding communication and manipulation of data / events between 2 windows....
asked on 10.01.2016 / 18:35
1
answer

Extending jQuery plugin

I'm working on a project that uses the X-editable library with Bootstrap 3. Throughout the page are multiple instances of the plugin, however, there was a need for some instances to have a different template. By reading the library's documenta...
asked on 24.09.2015 / 16:45