All Questions

3
answers

How to convert a String to Int in Javascript?

HTML5: <!DOCTYPE html> <html> <head> <title>JSTest</title> <meta charset="UTF-8"> <script src="JSource.js"></script> </head> <body> <input type="number" id="myinput...
asked on 11.06.2016 / 01:34
2
answers

What is the purpose of the default when used in the signature of a method?

Within the List<E> interface of Java there is the replaceAll() method whose purpose is to replace all occurrences of a specified value in a list. However, in your signature it uses the command default , this has conf...
asked on 08.03.2016 / 22:04
2
answers

How to compare the contents of two vectors?

public class VetorTurma { public static void main(String[] args) { int pontuacao = 0,nota,c; String nome; Scanner sc = new Scanner(System.in); double gabaritoVetor[] = new double[10];...
asked on 14.02.2016 / 02:35
5
answers

Changing text in several different places on the HTML page

I'm thinking of developing a i18n system for an application. My idea is : there is a text # i18n_label_name somewhere on the page and # i18n_label_contact elsewhere. > Question : What is the most performative way to scan the whole p...
asked on 12.11.2015 / 12:51
2
answers

Return today's date in C # in specific format

My output must be "2015-02-01" I tried to DateTime.Now.ToString("yyyy-m-d") , but it does not put the 0 between days and months.     
asked on 04.04.2016 / 02:31
2
answers
2
answers

How to add parallelism in execution with the subprocess module?

The code will be used on 2 virtual testing machines (Linux and Windows). The code below works, but every time I run a program, for example notepad , the prompt gets stuck until I quit the program. How do I run multiple programs at...
asked on 03.08.2016 / 17:41
1
answer

Hide field in HTML with Bootstrap

How can I make a text field in my HTML be hidden when the user is viewing the phone and appears when he or she is viewing from the PC?     
asked on 15.12.2015 / 16:22
2
answers

What does "return" do in Python?

What "really" return does in Python, especially in recursive functions. Ex. Factorial: def fatorial(n): if n==1: return n return fatorial(n-1) * n     
asked on 26.02.2016 / 03:32
2
answers

while listing result of 4 in 4 within div

How do I list the result of a sql query so that a 4-by-4 line is inside a div. Ex. expected result: <div class="row"> <span>1</span> <span>2</span> <span>3</span> <span>4</s...
asked on 12.12.2015 / 18:42