Posts by RXSD • 2,394 points
79 posts
- 
		0 votes2 answers267 views
- 
		2 votes3 answers1697 viewsA: Remove 2 specific characters from a StringHello, below is a simple algorithm with comments to facilitate understanding: String convertInt(Double duplo){ String sDouble = Double.toString(duplo); //Convertendo para String para retornar uma… 
- 
		2 votes1 answer348 viewsQ: Git - Ignoring files with . gitignoreSomeone can explain to me clearly the difference between the use of the commands below in the file . gitignore ? /pasta pasta/… 
- 
		3 votes1 answer12340 viewsA: How to clear/remove ALL elements of the javascript array?When the button AC just replace your code ... while(clicks.length) { clicks.pop(); } ... by one of the options below: clicks = []; i = 0; clicks.length = 0; i = 0; Explanations below: 1: Creates a… 
- 
		1 votes1 answer357 viewsA: Save input data without SubmitHello, is it possible yes. I made a simple code with comments that will help you understand how to do this: <!DOCTYPE html> <html> <head> <script… 
- 
		0 votes1 answer88 viewsA: How to find the name and address of students and teachers in São PauloWelcome to the Stackoverflow! From what I understood by analyzing your question and the result of your query added as an image, I believe you want the result of only students residing in São Paulo… 
- 
		3 votes4 answers278 viewsA: What is the Java command that returns the uppercase characters?String nomeCompleto = "Jorge Aragão Silva"; StringBuilder iniciaisEmMaiusculo = new StringBuilder(); for (char letra : nomeCompleto.toCharArray()) { if (Character.isUpperCase(letra)) {… 
- 
		1 votes1 answer93 viewsQ: Calls from Procedure PL/SQLStudying PL/SQL I came across the following code: CREATE PROCEDURE incluir_segmercado(p_id IN NUMBER , p_descricao IN VARCHAR2) IS BEGIN INSERT INTO segmercado values(p_id, UPPER(p_descricao));… 
- 
		5 votes3 answers914 viewsQ: Expand or Minimize code snippet in eclipseIt would be possible to minimize or expand only a code snippet inside a block {...}, example below: using the IDE eclipse?… 
- 
		2 votes3 answers711 viewsQ: Drive Alert using Selenium in JavaIn addition to handling javascript alerts with Selenium Webdriver, it would be possible to invoke Selenium code execution-time alerts in the browser? I would like to create the 3 types of javascript… 
- 
		1 votes3 answers220 viewsA: Select multiple tables at the same time in SQLIf you want to display all records from each table, you can use ( .* ) to extract all data from each related table as follows: SELECT Pacientes.*, Anamnese.*, Avaliação.*, Intervenção.*, Contratos.*… 
- 
		3 votes1 answer277 viewsQ: Doubt Regex functionality - JavaCould someone explain to me what this Regex allows? private static final String MAIL_PATTERN = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$";… 
- 
		1 votes0 answers51 viewsQ: Validate String Regular Expression - JavaHello, I would like to validate a String in java received from an INPUT. This validation would be to determine whether the user actually typed a valid email in the following pattern:… 
- 
		2 votes1 answer1526 viewsQ: Effect of increasing and decreasing edge sizeI found on a website an example of a field only increasing the edge, follows the GIF below: I would like to know if I can also increase, decrease the border size of an html element in the call of… 
- 
		4 votes2 answers913 viewsA: How to change the selected text color and background with the mouse?You can use the property css ::selection, made a brief example to facilitate in learning. .exemplo-background::selection { background: #e74c3c; } body { font-family: 'Source Sans Pro', Arial,… 
- 
		-1 votes4 answers915 viewsA: Convert date format to phpTry to do that: $tempo = strtotime("22 October 2018"); echo date("Y-m-d", $tempo); Remembering that the function expects to be informed a string containing a date format in English US, in this case,… 
- 
		3 votes2 answers47 viewsA: Place event button to access pageWhy don’t you use the <a href="../menu/blog.html" id="navMn">Blog</a> ? javascriptanswered RXSD 2,394
- 
		0 votes1 answer130 viewsA: Change select when input is completedHello, I made an example solving your problem!!! Using only the javascript functions getElementById and selectedIndex. To test locally just run the following code in a browser, save it in a file… 
- 
		0 votes1 answer62 viewsA: Does not insert information into the databaseThe mysql_connect Open a connection to a Mysql server. Try adding the user and password parameters. Example: $conexao_bd = mysql_connect('localhost', 'usuario', 'senha'); Since you are using xampp,… 
- 
		0 votes2 answers104 viewsA: Sending Servlet attributes to more than one JSP?You can add the variable in an input of type Hidden, Example: <input type="hidden" id="Login" name="Login" value="<%=usuario%>"> in the Homeclient.jsp where the user variable is the one… 
- 
		1 votes1 answer141 viewsA: What are the advantages of using the box-Sizing property on elements?To facilitate your understanding I created this . html file with a simple and pleasant clarification of your question. <!DOCTYPE html> <html> <head> <style> #exemplo1 {… 
- 
		1 votes3 answers887 viewsA: Limit Value of InputThere is a simple and easy solution to your problem using only Html5. <!DOCTYPE html> <html> <body> <form> <input type="number" required="true" name="price" min="0"… 
- 
		0 votes2 answers294 viewsA: Stopwatch using JavascriptYou could use the statement return, you’ve heard of? Definition: The javascript Return statement terminates the execution of the function and returns the value for each function. If the value is… 
- 
		0 votes1 answer210 viewsA: Search with multiple filtersHow can I make it so I can have a select that gives me higher or lower price options? The answer to your question would be using the clause ORDER BY ASC or DESC. Example: SELECT * FROM mobile_phones… 
- 
		3 votes2 answers746 viewsA: Count how many fields are empty on a MYSQL lineI’m not sure I quite understand, but I believe that if you count the records using the clause COUNT(*) and where the columns are null IS NULL and empty ='', you can find the expected. For example:… 
- 
		0 votes2 answers324 views
- 
		2 votes2 answers114 viewsA: Programming logic - ConstantIn your case mathematically, It is a constant. Once a value x does not change over the course of a time line it is considered a constant, but when we make a parallel with the programming language… 
- 
		3 votes2 answers945 viewsA: Button that leaves the full screenI have set aside for you a simple HTML page with the code on javascript native explanatory way that does exactly what you need. <!DOCTYPE html> <html> <head> </head>… javascriptanswered RXSD 2,394
- 
		2 votes3 answers790 viewsA: Capture javascript array elementHi, how are you! When we talk about Array, we can talk about one-dimensional and multidimensional arrays... A one-dimensional array is an array that contains "only one level of indices", for… javascriptanswered RXSD 2,394