All Questions

1
answer

Repainting screen every few minutes without crashing - C ++

I have the following situation: I have to repaint the screen every few minutes so that objects on the screen get stuck on account, but this has to happen in a way that the program will not crash. I have tried to make a Thread and call the...
asked on 08.06.2014 / 21:28
2
answers

Difficulty in running the emulator for Android

I can not run the Android emulator emulator. If I try to run the application I get a message from IDE :    The Selected Emulator is not running. Do you want to start it? Of course, you do not have an emulator running, and the IDE...
asked on 18.05.2014 / 00:10
2
answers

Debugging associated events via jQuery

When I want to debug an event associated with an element via jQuery, I can currently do it in the following ways: In Chrome, you can enable the debugger specifically for certain types of events. However, this is not useful when it is necess...
asked on 29.01.2014 / 14:12
1
answer

How to make a ViewBag.list receive a type ListKeyValuePairstring, string?

How do I pass a list ( List<KeyValuePair<string, string>> ) to view by ViewBag ? My code: string grupo = "ConfigsPortalWebTextos"; List<KeyValuePair<string, string>> lista = new List<KeyValuePair<...
asked on 14.05.2014 / 16:33
3
answers

How to check if a specific value exists (string) in a list in C #?

I'm trying to set up an input select multiple and leave checked the options that are already present in a certain list. I'm a beginner in C # so the logic of what I need would be something like this: (Note that I'm using Razor) Sorry for...
asked on 14.02.2014 / 14:56
1
answer

Micro DDoS Mitigation and Sudden High Access Number in Web Applications with Limited Resources

It's vast documentation of how to mitigate (proactively reduce impact as it occurs) from denial-of-service attacks on web applications. People typically quote services like Cloudflare or as per their application on servers like Amazon EC2 and do...
asked on 18.02.2014 / 01:54
1
answer

How to make a slug pagination in Cakephp?

Cakephp by default generates a pagination with indexes, for example: noticias/listar/page:2 I would like to paginate this way: notícias/listar/2     
asked on 19.05.2014 / 20:27
3
answers

How to effectively remove the refresh meta tag from a page?

Lately I have accessed several news sites that use this meta tag to update their pages from time to time: <meta http-equiv="refresh" content="300"> I understand the reason for using it from sites, but over time this functionality beco...
asked on 31.01.2014 / 21:46
1
answer

My Javascript gives syntax error in Chrome and Safari but does not give error in Firefox?

These are my files: <script type="text/javascript" src="js/jquery-1.9.1.js"></script> <script type="text/javascript" src="js/jquery-ui.js"></script> <script type="text/javascript" src="js/bootstrap.min.js...
asked on 04.02.2014 / 20:22
2
answers

How to identify if an XML is BOM?

I have the following problem regarding XML encoding: Erro: Byte inválido 2 da sequência UTF-8 do byte 3. This error occurs when trying to canonize an XML. I do not know exactly what the error might be, I guess it's because the String has...
asked on 04.02.2014 / 11:58