All Questions

2
answers

Zoom effect with CSS

I have a div with an image in which I applied a zoom effect and a slight rotation! but this image should zoom and rotate within the boundaries of the DIV without overflowing, but hide parts that exceed the size of the div. image explaining:...
asked on 17.05.2018 / 01:07
2
answers

How to get random results in SQL with different SGDBs?

Based on this existent question in SOen and wanting to bring interesting and useful content to SOpt I ask this question: How to get random results in SQL with different SGDBs?    I'm leaving a ready answer, but I'm going to leave it open...
asked on 26.04.2018 / 17:47
4
answers

Create VirtualHost on port 81

I have two Apaches installed for two versions of PHP (5 and 7), on port 80 and 81 respectively. I would like to create virtualhost for port 81 of apache The host file has this line: Host 127.0.0.1 projeto.dev 127.0.0.1...
asked on 07.06.2018 / 18:51
2
answers

With grouping a list in javascript and calculating the subtotals?

I have the following list: nomes = [ { nome: "flavio", valor: 10 }, { nome: "flavio", valor: 20 }, { nome: "fran", valor: 30 }, { nome: "fran", valor: 40 }, { nome: "Roberto", valor: 50}, { nome: "Roberto", valor: 50 } ]; How do...
asked on 05.06.2018 / 20:53
1
answer

Error converting varchar value to integer

When performing the following UPDATE through my API (.NET Core): UPDATE Aula SET WHATEVER = WHATEVER WHERE ID_AULA = @examID Code: string query = builder .AppendLine("UPDATE Aula") .AppendLine("SET WHATEVER = WHATEVER")...
asked on 10.05.2018 / 18:47
1
answer

Query to find if value is between "1 | 3"

I have a unit table that represents the number of bedrooms of the building: id| dorm 1 | 1|3 In this case above it means that the property id 1 has units with 1 or 3 bedrooms. Then I have a search using $_GET where the dorm fie...
asked on 10.05.2018 / 16:29
1
answer

Only positive numbers in sum aggregation

In this query, in% w_that I would like to add only positive numbers, is there any way to do this? SELECT orcdotac.conta_desp ,orcplade.descricao ,orcplade.complemento ,SUM(orcdotac.sld_orc_ano) AS CREDITOS_ORCAMENTA...
asked on 05.06.2018 / 21:04
1
answer

What is the difference between GetCurrentProcess and GetCurrentProcessID?

What is the difference between calling GetCurrentProcess and MainHandle defined below: var MainHandle: THandle; begin MainHandle := OpenProcess(PROCESS_ALL_ACCESS, false, GetCurrentProcessID); end; In my application only...
asked on 05.01.2015 / 00:19
1
answer

What is a Distributed System

In my distributed system class, topics are covered regarding SOAP and REST web-services and other topics related to this field. However, I can not understand what a Distributed System is,> I do not know if it's a combination of different tech...
asked on 28.02.2018 / 14:38
1
answer

How to create a window without using the GUI builder?

I'm starting to study C # and just like in Java, IDEs provide features that make it possible to build GUIs easily by dragging components. The netbeans has a powerful build tool where you can drag Swing components for JFrame , JDialog...
asked on 21.12.2014 / 02:29