All Questions

2
answers

JSONArray in JSONObject: Json.typeMistach error

In a web-based search I discovered that the Json.typeMistach error was due to me getting a JSONArray and trying to get it in a JSONObject . I can not fix it, the error persists. Could someone give me a hand or point me to a tu...
asked on 10.09.2015 / 04:24
1
answer

List of Entity Framework attributes for entity mapping

For my Database to be outside the EF convention, and as another system already developed uses it, it is out of the question to change table / column names. I would like to know the available attributes (ex: [Key] , [ForeignKey] )...
asked on 19.10.2015 / 17:46
1
answer

Calling a SetInterval variable

I have the variable X X = setInterval(function() { ... and after a while I gave a stop in this setInterval with the function clearInterval(X) How do I call this variable to continue the loop after it has been "deleted"?     
asked on 29.09.2015 / 18:05
3
answers

Repetition loop in assembly

How can I do a repetition a certain number of times in assembly (in the MIPS )? Example in pseudocode, assuming that the variable registrador is a register that I want to receive all numbers from 1 to 6 (one at a time, obviously) va...
asked on 16.05.2017 / 20:59
1
answer

What is a unary operator

Code: #!/bin/bash echo "Digite 1:" read$TESTE if [ $TESTE == 654 ] then echo "Usage: ./pingscript.sh [network]" echo "example: ./pingscript.sh 192.168.20" fi Error message: Digite 1: 321 ./z.sh: linha 5: [: ==: esperado opera...
asked on 29.04.2017 / 22:01
2
answers

With feature in Java

Hi, some time ago I discovered that some programming languages have a feature called with . For example:  In JS But in Java I do not know anything like that, does anyone know?     
asked on 23.10.2015 / 02:56
1
answer

How to put a background image and make it responsive?

I'm learning C #, so I'd like to know how to put a background image (and / or> background) and also remove the blue borders. I'm using Visual Studio. Ps : Some videos I saw on YouTube basically boiled into the properties of form and s...
asked on 09.05.2017 / 17:09
1
answer

What is managed code?

In a conversation with a co-worker about which language was used to develop Windows, he said that many parts should still be developed in C and C ++, since it was necessary to run unmanaged code. Other parts are already developed in C #. From th...
asked on 23.03.2017 / 04:37
4
answers

Get the highest value by category by also loading the ID

The table is in the format below ID | CATEGORIA | QUANTIDADE 1 | A | 23 2 | A | 12 3 | A | 11 1 | B | 15 2 | B | 10 I want a query to return the following table ID | CATEGORIA | QUANTIDAD...
asked on 21.10.2015 / 23:10
1
answer

How to calculate the time of a LINQ query?

I have a table with + - 900mil records. I make some queries using where clauses and I want to see the time difference between them. How do I display the time in label at the end of the query?     
asked on 12.05.2017 / 05:42