All Questions

1
answer

What is the difference between File Uri, Content Uri and StringPath?

My application handles writing and reading files, and I'm a bit confused about how and when to use each of these types of Uri. I think it would be best to understand the difference between these to find out when it would be the correct use of...
asked on 28.03.2018 / 23:22
1
answer

Notes for controllers and services

In Spring 3 there are annotations of class @Component , @Service , @Controller and @Repository . I know that @Component is the only one that can be used in all cases ( Controller , Service and Repository )....
asked on 11.12.2013 / 17:23
1
answer

How to handle multiple quotes in R?

My problem is to use the quotation marks in a query within an R function. I have to call a list of select * from probes."probes_90_2018-05" For this I do: coelho<-dbConnect("PostgreSQL", fnord) dbGetQuery(coelho,"select * from probe...
asked on 11.07.2018 / 23:17
1
answer

Remove file extension, not to be seen by the user

How would I make the file extension not seen by the user? Example As soon as the user finishes the registration, it will be directed to the confirmacao.php page, but would like the .php extension not to be visible, only co...
asked on 05.12.2017 / 12:34
2
answers

Difference between activity and content

I do not know if this is the right place for this, if not for guidance where I throw this doubt. I'm learning how to develop apps in Android Studio, and I'm following some tutorials. Some cases have noticed that some have only activity an...
asked on 21.12.2017 / 15:31
1
answer

Number of decrements in a dataframe

I have a data frame where in each column is the value of events in the period, I need to calculate the increment and decrement of these periods for a larger base and I could not do: p1<- rep(2:11) p2<- rep(3:12) p3<- rep(1:10) p4<-...
asked on 20.12.2017 / 17:42
1
answer

How to communicate tabs with an extension / add-on and store the variables?

I want to be able to communicate tabs with an extension and store values in variables and share these values between tabs, how can I do this?    Note: This is a tutorial question, read more at:       Can I answer my own question? Help...
asked on 27.12.2017 / 16:54
1
answer

Why does not Lookbehind exist in JavaScript?

I found out that there is no group construct lookbehind in Regex's made in JavaScript so I had some questions like: Why does not it exist? Home Is there any reason that makes it incompatible with language or unnecessary? If it is unneces...
asked on 25.05.2017 / 19:19
1
answer

What's the difference between using normal methods and Action or Func?

public Action<string> Escrever = (texto) => { Console.WriteLine(texto); }; Being able to call so Escrever.Invoke("Algum texto aqui dentro"); VS public string Escrever(string texto) { Console.WriteLine(texto); }...
asked on 22.08.2018 / 16:55
1
answer

Removing a DOM element also removes your listening?

I already know about the Dirt Collector feature. My question is regarding this resource for addEventListener . Example test.addEventListener('mouseover', function(){ test.className = 'active'; }); test.addEventListener...
asked on 29.10.2017 / 14:58