All Questions

1
answer

"this" a reliable reference?

Situation I was putting together a widget when I started to analyze a possible error, because the tests actually occurred: Test document.getElementById('teste').addEventListener('click', function(){ n.p.call(this); setTimeo...
asked on 22.03.2016 / 13:10
2
answers

What is the best way to run a java application as a Service on Windows (32 or 64 bit)?

What you need to do to run a Java application (without visual interface) as a Windows service. The program basically uses the Filesystem API and the network API (java.net, java.io and java.nio) If you need to build from the sources I'd like t...
asked on 21.02.2014 / 20:59
1
answer

What does COLLATE LATIN1_GENERAL_CS_AI do?

I'm asking this question because I came across this
asked on 02.06.2017 / 20:20
1
answer

How to extract the path to the file

In a variable containing the path to a file and its name, the file name can be extracted as follows: #!/bin/bash filenamepath="/caminho/para/ficheiro.pdf" filename=$(basename $filenamepath) What results in ficheiro.pdf in variable...
asked on 26.03.2015 / 11:20
4
answers

How to get page load percentage?

How to get the size of a page and how it was downloaded to calculate the percentage of your upload. But I would not use any framework , just pure JS. I actually want to try this .     
asked on 17.11.2014 / 20:37
2
answers

How to create regexReplace for a delimiter?

I have the following content: 123|321|1234\|56\|teste\||123 I would like to make a regex replace that would replace all | with line break and ignore | escaped with \ , so I would like to get the following return:...
asked on 21.01.2014 / 12:08
2
answers

Routing and Url friendly with asp.net mvc

How do I make routing and url friendly (dynamically) in my web application using asp.net mvc 5 ? Currently I have the url: http://myapp.com/Produto/Details/7 And I want to apply the routing in it so it looks like this: http://myapp.c...
asked on 23.08.2015 / 16:24
2
answers

Delete multiple rows dynamically with PDO?

Let's say I have a user table ( id | nome ) and that where they are listed (client-side ) I can select multiple of them and delete them at the same time. > How could I do this on a MySQL database using PDO? I know that MySQL allows th...
asked on 20.06.2015 / 22:43
2
answers

How to edit a list in C #?

I want to edit a customer record in which I can already create a record, consult and remove it. But I have no idea how to edit just a few items without losing others. class Program { static List<Cliente> ClienteList = new List<Cli...
asked on 15.12.2014 / 12:42
1
answer

What are the differences between utf8 and utf8mb4?

When importing my mysql database into a windows server after I created it on a local server (xampp), I could not import the script I exported from the database into the server. So I decided to copy the table scripts per table, and I noticed that...
asked on 22.04.2016 / 21:14