All Questions

1
answer

Android studio generating two applications the same way

I developed an apk, but from the end of the project to here he was always emulating two identical applications on my cell phone, same functions, icons. The difference from one to the other is that one has the splash and the other does not. Then...
asked on 30.05.2016 / 17:20
1
answer

Block direct access to files and directories

Well, my question is simple: How can I block direct access to files and directories on my site? For example, prevent the user from accessing the link: www.meusite.com/img and get the list of images, or /js and get the JS files,...
asked on 26.07.2016 / 15:50
2
answers

How to "synchronize" a branch with master before working on it?

I have the following situation: I have a Git repository, and at one point I created a branch from master. I did not do much in this branch at the time, and then I made the master branch for several commits, and the code changed a lot. Now I n...
asked on 18.07.2016 / 15:33
3
answers

DataAnotation Attribute for Currency

I would like to format with DataAnnotation currency but default en in the model: [Column("cur_mensalidade")] [DataType(DataType.Currency)] [DisplayFormat(DataFormatString = "{0:C0}")] public decimal? Mensalidade { get; set; } but does no...
asked on 03.05.2016 / 14:34
1
answer

Question About Cache

I'm doing my site, and I want to try to reach 100/100 in PageSpeed Insights, I activated my cache for .htacces, but P.S.I says it's still inactive, so I went to see the headers, HTTP/1.1 200 OK Date: Thu, 21 Apr 2016 14:54:41 GMT Server: Apache...
asked on 21.04.2016 / 17:05
2
answers

Why does the char * argv [] statement work in the main arg, but not in the code body?

Because when I use the char *argv[] statement in int main(int argc,char *argv[]) it works, but when I try to use it inside the code body with char *argv[]; does it not work? The error below is returned at the console when...
asked on 18.07.2016 / 21:12
1
answer

How to do the webscrapping of a site that has method post?

I'm having trouble doing webscrapping for sites that use the post method, for example, I need to extract all news related to political parties from the site: link . Below is a schedule I made of a journal that uses the get...
asked on 31.05.2016 / 18:18
1
answer

Get git through proxy

I'm setting up my work environment here in the service. It is windows 7 and has a proxy with username and password. I want to download a project from my repository in Github and need to go through the proxy. I'm doing everything for the...
asked on 30.04.2014 / 16:24
2
answers

How to recover from an Exception and send data from it?

I would like to know if there is any way for when my system throws some kind of Exception it will only recover and send me an email informing where it occurred and which Exception was released!     
asked on 16.03.2014 / 19:16
2
answers

How to transform a string in Date format into R?

In the code below the dates are in the format: Month Day Year. I need R to recognize the variable as date. #importa os dados library(XML) u<-"http://espnfc.com/team/fixtures/_/id/205/season/2012/brazil?cc=3888" tab<-readHTMLTable(u,heade...
asked on 06.03.2014 / 02:13