Interesting questions
-
0
votes1
answer133
viewsEdittext Multiline with lines separated by dashes
All right? I’d like you to help me with something: I would like to have an Edittext with Multilines divided into lines. What I mean is this: When we create a multiline Edittext (let’s put as an…
-
2
votes4
answers1185
viewsChange only the day of registration
Scenario (example): I have the following table: ID | TIPO | DATAINCLUSAO 1 | 10 | 21/07/2018 09:34:51 2 | 10 | 11/07/2018 11:15:25 3 | 11 | 23/07/2018 01:52:31 4 | 11 | 04/07/2018 23:24:52 5 | 12 |…
-
3
votes3
answers113
viewsSum between Mysql lines
I’m having trouble performing an operation using Mysql, I don’t even know if it is possible to do what I want. I have a control_de_stock table, in this table I have all the operations that are…
mysqlasked 7 years, 6 months ago Cesar Vinicius 145 -
0
votes0
answers242
viewsInsert sql with WHERE NOT EXISTS rule does not work
In this Sert below only works until the first rule of "Where" then no longer works Example WHERE descricao ='$ccusto' // funciona perfeitamente. Mas se uso o where abaixo WHERE descricao ='$ccusto'…
-
-1
votes1
answer52
viewsWhat is the advantage of using Javascript?
Using label in for let str = ''; loop1: for (let i = 0; i < 5; i ++) { if (i === 1) { continue loop1; } str = str + i; } console.log(str); Not using label on for let str = ''; for (let i = 0; i…
javascriptasked 4 years, 8 months ago felipe cardozo 275 -
1
votes1
answer203
viewsHow to modify the view path with htaccess
I’m creating a htaccess to redirect the URL, for example: I have the following URL: www.site.com.br/view/html/cliente.html www.site.com.br/view/html/relatorio/demonstrativoDeDebito.html and I’d like…
htaccessasked 9 years, 10 months ago Gabriel Rodrigues 15,969 -
-2
votes2
answers581
viewsHow to pass python variable to sql query?
I am using Mysql as a database. I wanted to be able to pass the value of a python variable as a parameter in this query. Ex: cursor = connection.cursor() variavel_nome_cliente = input('Digite aqui o…
-
-1
votes1
answer37
viewsI have to deliver this question and I’ve tried and failed to answer. About Vetor
Create a vector of 10 positions and enter integers randomly. Then enter a number and if it is in the vector, save its position to show at the end of the program. Otherwise show the message at the…
-
5
votes1
answer446
views -
2
votes1
answer414
viewsOnclik on the dbgrid line
I’m developing a system, and I have a dbgrid where I list the results of a query, as it would be possible when I click on a certain record (for example in the name of a person in the NAME field) , I…
-
-2
votes1
answer132
viewsAdd form to subscribe to the newsletter in c#
Viva. I’m developing a website in c#, Asp.net using visual studio. I would like to place a small form where the website viewer places his email to subscribe to a newsletter. I’ve researched ways to…
-
0
votes1
answer3779
viewsUpload Angularjs Files
I have a button where I select a file, I would like to upload that file to my server(Java + Vraptor). I can already get the file and also save the name of the file in the database along with the…
-
0
votes1
answer46
viewsVb6 Tabstrip - How to view Tabs controls outside the scope
Greetings to all. My area is C, but I need to maintain a product implemented in visual Basic 6 . This product is a software configurator in c, its function is only to generate a file . ini for…
visual-basic-6asked 6 years, 6 months ago Roberto Elias 1 -
0
votes2
answers91
viewsVisual Studio 2013 only opens 2012 projects
Whenever I will create a new project on VS2013, I have no project option, just the option: WEB >> Visual Studio 2012. Then yes, I have several project options like MVC 3 and 4 and so on. How…
-
0
votes2
answers941
viewshow to get bank value in an if using php
people i have a table user who has a category field that is a field Boolean, at a certain point in my code I need that only if category is true I show an option in my menu, but do not know how to…
-
1
votes1
answer688
viewsPHP Simple HTML DOM Parser works without id or class reference?
I want to use the PHP Simple HTML DOM Parser to remove certain links from a page generated in Frontpage the problem I found is the following as Frontpage does not generate any html element with id…
-
2
votes1
answer39
viewsCopy of Oracle materials structure
We have the following material registration structure: Table Pk FK Filial Descricao material Group Cod_grupo 1 - 1 Materiais de escritório 2 - 1 EPIS 3 - 1 impressos Subgroup Cod_Subgrupo Cod_grupo…
-
1
votes1
answer115
viewsHow to pass vector as argument in shell script?
I would like to pass a JSON-style vector as an argument for a script. Example : #!/bin/bash vetor[]=$1 echo ${vetor[*]} i=0 for nomes in ${vetor[*]} do i=$(($i+1)) echo "Nome $i é $nomes" done And I…
-
3
votes2
answers546
viewsDifference between ways to import with and without 'package:'
When we import a class/library two options are suggested, I wonder if there is any difference/advantage between importing classes/libs directly informing the path and with the 'command' package: Ex:…
-
0
votes1
answer205
viewsWhat are the differences between hashed or tree map implementation?
What is the advantage of implementing maps by table hash instead of the binary tree?
hashasked 6 years, 10 months ago Felipe Machado 137