All Questions

4
answers

Upload file to the current directory when running irb

It is possible to call the irb by passing as a parameter a library to be loaded (required): irb -r date But this does not work if I want to load a file into the directory where the command is executed: irb -r meuscript (assuming the...
asked on 11.12.2013 / 18:20
2
answers

There is an "else while"

Is there any way for me to do this? While it's one thing to do that, then when is it another to do that? For example: var i = 0; while(i < 5){ //faça isso i++; } else { //faça aquilo } Is it possible to do this somehow?    ...
asked on 15.01.2018 / 12:15
1
answer

How can you check if the number in range is so fast?

It is known that with the module timeit it is possible to measure, in Python, the execution of code snippets. Curious, I've been testing how long it takes to see if a given number is in a range defined by range , such as x in r...
asked on 17.04.2018 / 03:53
2
answers

Hosting site in Windows Azure thanks?

Windows Azure allows a trial time of 30 days to test the platform, but after that? There is a free hosting option for .NET applications, but it is not clear if you will have a cost or after the trial period if it will be possible to continue usi...
asked on 18.02.2014 / 05:11
2
answers

How does the display property work?

I've been better researching the functionality (values) display and its features. I realized that she has many possibilities. Some pretty obvious and some rather complex for the novice developer. I think these features are the most con...
asked on 14.03.2017 / 17:30
2
answers

Web API x WebServices

Web API was created to better replace a WebService? If not, what is the exact difference between the two and when to use one or the other?     
asked on 21.07.2017 / 14:56
3
answers

What are these attributes in the properties?

What are the names of these "Attributes" and what are they used for? Examples: in a class declaration: [ComVisibleAttribute(true)] public sealed class SerializableAttribute : Attribute in a property declaration: [XmlElement] public...
asked on 23.12.2014 / 10:55
5
answers

How to display the result of a query in a html page in PHP?

How can I display the results of a query in a one-page html table? Below is what I was able to do. However, the code only shows the first record. include("conectar.php"); $sql = mysql_query("Select * From tb_trabalhador and tb_detalhe_traba...
asked on 31.01.2014 / 17:53
5
answers

How to use another language that does not JavaScript in the browser?

In spite of the huge number of programming languages in various environments (desktop, server, mobile devices), the browser continues to support one and only one language: JavaScript. The reason for this escapes me: even though there is a comp...
asked on 08.02.2014 / 08:43
1
answer

What is the difference between .on (), .click (), .blur (), bind ()?

And if there is any more, what would it be? And the difference of this "some more" to the others above.
asked on 24.10.2017 / 12:37