All Questions

1
answer

How to use the first-child selector for a specific class

Hello, I have several divs and some of them have a 'test' class, I would like the first-child selector to highlight only the first DIV that has the 'test' class, however, it only works if the 'test' class is in the first div. From what I underst...
asked on 30.12.2015 / 23:03
1
answer

Notification at 0h00 without starting application

I would like to notify the user that he has an expense that expires the next day, but without the need for the application to be running, I currently have a code that notifies me from the moment I enter the application, I would like to do so (wi...
asked on 22.12.2015 / 21:00
1
answer

Meta keywords still needed?

I've been reading about meta tags, and many websites it's no longer important for Google and other searchers to use the 'keywords' meta, causing some doubt of use in the project I'm developing. After all, is meta keywords still necessary? Sti...
asked on 02.05.2016 / 19:07
1
answer

Simulate the Boolean type in C

What is the most appropriate way to simulate type bool in C? My teacher did it quite simply. #define bool int But I also found an excellent answer aqui ( follows a copy of the code). // Criando a enumeração: enum boolean { tr...
asked on 01.11.2015 / 15:48
1
answer

Access modifier Internal X public

When to use public or internal? Is there any advantage / disadvantage between them?
asked on 17.11.2015 / 22:24
1
answer

How to know the arguments contained in '...' in a function in R?

In R you can use '...' for the function to receive an indeterminate number of arguments. How do I know which arguments were used in the function? Example, if I wanted to print the arguments used. imprimeArgumentos <- function(...) {...
asked on 14.01.2016 / 14:02
2
answers

Warning: "Possible multiple enumeration of IEnumerable"

I was doing some operations where I make use of collections. In one of these I needed to get a range (% w / o%) of numbers and did the following: var range = Enumerable.Range(0, 4); And then I tried to do something like var primeiro = ra...
asked on 25.11.2015 / 12:55
1
answer

Strange property initialization

When reading a tutorial on Entity Framework, I came across an example code where there was a line that, for me, is unknown: Student stud = new Student() { StudentName = "New Student" }; I understand that a new object of type Student...
asked on 02.05.2016 / 16:29
1
answer

RStudio: does not automatically load variables in environment

Whenever I start RStudio some variables appear in environment . Is there any way to remove them automatically without using the famous rm(list=ls()) ? Thank you!     
asked on 07.12.2015 / 03:33
2
answers

Comparison with Postgresql database using C #

I created a Login application, I made the connection to the database, I get the user and password registered in my bank. But what I want is, if the user tries more than three times to get in and has something wrong, block the textbox and butt...
asked on 09.07.2015 / 21:07