All Questions

2
answers

Firebase Cloud Messaging does not send sound in notification

I have two applications, when such an action occurs in one of the two applications, it sends a notification via FCM, to the other application, when the notification arrives, it only makes the notification noise if the application is open, when i...
asked on 28.02.2018 / 21:19
1
answer

Comparison between dates

I'm trying to validate the inclusion of dates in my system, referring to the batch of products, but I think I'm a bit hasty in the way I'm doing. For what I need, I thought of 3 situations that I should control, which would be them:    The...
asked on 02.09.2017 / 18:53
2
answers

How does hoisting work on ES6?

For example, using var , when calling the function below this way: function funcao(){ console.log(foo); var foo = "mensagem"; } funcao(); It will return undefined because of hoisting , which moves the variable foo...
asked on 27.02.2018 / 14:06
2
answers

Regular expression that supports at least two of the four conditions

I'm writing a regular expression for validating a password. I wanted to know the easiest way to make a regular expression accept at least two of these conditions: Uppercase letters Lowercase letters Special Characters Numbers A...
asked on 27.07.2017 / 17:55
1
answer

How to publish site made in Visual Studio?

I created a site in MVC in Visual Studio 2017. I want to know how to generate the necessary files for the website to work and in what folder I should include them.     
asked on 20.06.2017 / 02:46
1
answer

SQL command return [duplicate]

I need to select in my database all printers that are compatible with a particular selected supply, for example, the 155 code supply that is called 50FOZ00 . I make the query below to select all supported printers: SELECT supriment...
asked on 02.08.2017 / 14:27
1
answer

Bar chart sorted using dplyr and ggplot2

I'd like to create a bar chart after counting the number of occurrences of categories in a dataset. Suppose my dataset is this below: dados <- structure(list(categorias = structure(c(5L, 4L, 5L, 3L, 1L, 2L, 5L, 3L, 1L, 1L, 4L, 4L, 1L, 5L,...
asked on 28.06.2017 / 18:46
2
answers

List the amount of space occupied by a file type in the terminal

I suspect that the PCs I use have many .RData files, used by the R program to save data sets. I want to do a cleanup on these files, but without going into directory by directory, from computer to computer. In addition, I use computers wi...
asked on 29.06.2017 / 15:40
1
answer

How does v-if work internally?

From what I saw, using v-if you can show and hide an element through a condition, but it does not work as a toggle Jquery, strong> v-if ends up removing the element and is able to return the same element depending on the condition. I ima...
asked on 30.08.2017 / 02:56
2
answers

How to insert text at cursor position?

How can I enter text at the position of a cursor? the field is a contenteditable so it may contain in addition to normal html css texts and images. I took the example in the plugin's documentation: Summernote - How to insert text to cursor p...
asked on 24.07.2017 / 14:32