All Questions

1
answer

Backup in MySQL WorkBench

I need to make a modification to the database. I would like to know how to back up MySQL WorkBench, and how do I restore it in case of errors. Also if possible I would like some good habits tips to accomplish this kind of task, and some tips!...
asked on 28.04.2015 / 20:06
1
answer

Ajax in different project

I have a project in Asp.Net MVC with the following method: public ActionResult ObterCursos() { List<curso> cursos = new List<curso>(); curso curso_ = new curso(); curso_.Nome = "Análise"; curso_.Periodo = 3; cu...
asked on 05.06.2015 / 04:18
1
answer

java.lang.IllegalArgumentException error in Hibernate when working with enum

Take a look at the error message: jun 02, 2015 5:23:57 PM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute ADVERTÊNCIA: /WEB-INF/template/pedidos/CapaPedido.xhtml @29,99 completeMethod="#{cadastroPedidoBean.completarCliente}": java.lang...
asked on 02.06.2015 / 22:28
1
answer

How to make a smooth animation on ProgressBar?

I am trying to implement a smooth animation in my ProgressBar , but if I increase the duration time, the animation will no longer be "smooth". Example with 5 seconds: Examplewith30seconds: ProgressBar background: <laye...
asked on 10.06.2015 / 22:36
1
answer

What is the assignment in the Action parameter, method?

I had a question about some of the codes that I found in a project of a former employee of the company. It is a code that contains assignment in the variables parameters. Here is an example: public ActionResult Teste(long id = 0, String tema =...
asked on 22.06.2015 / 15:26
2
answers

perl: warning: Setting locale failed

There seems to be an error with the local settings of Perl and / or the system, but the details obtained do not clarify what is is passing: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANG...
asked on 15.05.2015 / 11:54
1
answer

How to publish a secure .EXE without being Click Once .Net

My scenario is made up as follows: I have applications, which are configured according to each client, are mass-sold applications, I have a support system, which automates this configuration and generates one executable per client. After g...
asked on 20.05.2015 / 16:10
1
answer

Handling event when closing browser

I'm having problems with this event handling when closing the browser using javascript. I researched a little and found an idea through onbeforeunload : <script> window.onbeforeunload = fecharJanela function fecharJanela...
asked on 25.06.2015 / 14:16
1
answer

How to send WinForm images to a C # WebAPI service on both sides

I have two applications, a WinForm running location and a WebApi hosted remote. I already send data to the server from WinForm, the code looks like this: JavaScriptSerializer json_serializer = new JavaScriptSerializer(); string DAT...
asked on 20.05.2015 / 16:43
1
answer

What is the importance of using "track by" in "ng-repeat"?

Whenever I see an article on the internet about optimizing rendering time for ng-repeat , I see comments about the track by option. Example: <div ng-repeat="task in tasks track by task.id"></div> As far as I unde...
asked on 16.11.2017 / 19:07