All Questions

3
answers

Why do not I need to pass parameters to this function?

I would like to know how function passing as a parameter in JS works, I'm starting the language now and I needed to make a call of EventListenner document.getElementsByClassName("informacao")[0].addEventListener("mouseover", troca(b...
asked on 26.02.2016 / 21:51
2
answers

Function processing time

How do I check the processing time of the subfunctions of a function in order to optimize it? I read about the topic in the R help and at: link But it does not show the subfunctions of my function, however it shows many functions that I'...
asked on 29.04.2016 / 11:10
2
answers

Remove element from a vector in C # and not leave the vector with a space?

I need to remove an element from a vector with 5 elements, and can not have empty space in the vector. I need to remove by index.     
asked on 11.03.2016 / 00:00
3
answers

Tables / Temporary content in the bank?

Situation I'm wanting to manage a process using the resources that database offer, as INSERT , UPDATE , DELETE . However, this process is temporary, that is, I have to generate tables and data that, once the connection is...
asked on 22.01.2016 / 11:48
1
answer

Access modifier property C #

I noticed that it is possible to sign the access mode of a property as private: public string Codigo { get; private set; } Or just ignore it: public string Codigo { get; } Is there a difference or some scenario where one of these signa...
asked on 10.04.2016 / 17:29
2
answers

How to ignore a file after it has already been committed? [duplicate]

I accidentally added some images to my repository. But now I want to ignore them, but you are not obeying the data that was added in .gitignore Example: public/imagens/* How do I get a file or folder, which is already part of...
asked on 16.02.2016 / 14:53
1
answer

Delete folders in Github

I commited my project to github and after a while, some folders would not have to be there anymore. I have knowledge that it is possible to manually delete github, but for this to happen, I need to delete file by file to the sumir folder. The...
asked on 26.01.2016 / 12:17
2
answers

How to escape the percent character (%) in LIKE?

I have a system where I use Laravel to query the database. This is a search form. I use the following code: $search = trim(Input::get('search')); return Empresa::where('nome_fantasia', 'LIKE', $search)->get(); The problem is t...
asked on 16.02.2016 / 19:53
3
answers

Detect if a given page is opened within an IFRAME

I wonder if you can detect the following situation: We have an intranet (from a directory) that is loaded through a given address: http: intr.abcdabcd.abc.br We have a global INTRANET, within the first page of the Global intranet, the D...
asked on 25.01.2016 / 17:25
1
answer

How do I disable the browser's back button function?

How to prevent the user from using the back button of the browser with javascript? I have a page and I want it to use the back button.     
asked on 26.02.2016 / 18:36