All Questions

3
answers

Javascript / Nodejs setInterval with scheduled start, simple cron style

For JavaScript and NodeJS, there are n libraries that are robust in Cron style, such as node-cron . But they are complex for simple situations, they are heavy to download in the browser or require additional dependency on NodeJS, which make...
asked on 09.02.2014 / 13:25
2
answers

div stops being updated in IE11

In a project I'm developing, I need to update some fields on the page every 50ms (this is adjustable). The problem is that when I test in IE, the fields are no longer updated from time to time, with no explanation whatsoever. Usually it w...
asked on 17.02.2014 / 00:07
1
answer

How to configure Context not to put table name in plural?

I'm in an ASP.NET MVC 5 application, setting up a DbContext class. When EF generates the database, the tables for the application objects are getting the names in the plural. For example: public System.Data.Entity.DbSet<Teste.Mode...
asked on 15.03.2014 / 22:50
3
answers

How to group mysql results by foreign keys into a single array through a single query?

Let's say I have 2 tables, one with phone numbers, and one with sectors: Ex :. tb_ramais: id, extension, group_id (fk). id | ramal | grupo_id 01 | 1234 | 01 02 | 2345 | 01 03 | 3456 | 02 04 | 3457 | 02 tb_groups: id, sector, manager....
asked on 19.05.2014 / 19:55
4
answers

Is it possible to reference a column other than a primary key in another table?

For example, I want to reference the id_2 of Table 1 in Table 2, I know I can do with primary keys but with other columns I do not know if it is possible. Table 1: id (primary key of table 1), id_2, name Table 2: table_id2 (primary key of...
asked on 07.05.2014 / 16:20
2
answers

How to change the text of the OK button for Alert?

Personal I need an Alert with the "Confirm" button instead of the "OK" button. How do I do this?     
asked on 27.03.2014 / 13:05
4
answers

Return null breaking code

When I search the name of the person in the list of people right, he returns the person but when the return is null it breaks the loop of the code and shows this:    Exception in thread "main" java.lang.NullPointerException       at Cadastr...
asked on 05.04.2014 / 01:13
4
answers

Writing effect using javascript, setInterval does not work

I'm trying to use the setInterval function to write 1 letter every second, but it did not work: partText = ""; function escrever(text) { for (i = 0; i < text.length; i++) { partText += (text.charAt(i)); document.g...
asked on 21.05.2016 / 04:59
2
answers

.com domain has more relevance than .tk to google? [closed]

I'd like to know if a .com domain (www.example.com) is more relevant than the .tk domain (www.example.tk). Or does it not matter to Google?     
asked on 27.02.2016 / 21:54
3
answers

Where dynamic Linq to SQL

I need to mount a where clause with the field and the dynamic value, for example, in pure SQL would be: WHERE :CAMPO = :VALOR However, scouring the queries I could not find anything specific, I'm already doing queries in the database...
asked on 26.04.2016 / 21:04