Interesting questions
-
1
votes2
answers121
viewsHow to put two buttons inside a form where each one sends the data to different pages?
I have a form , where in the action I send the information to a PHP page , however , I need that when the user click a button send this form data to a page x and when click the other button go to…
-
0
votes2
answers133
viewsHow to copy a. txt encoded file to another decoded file using Assignfile?
I have a. txt file encoded and need to copy the decoded content to another . txt. In the first file, I have the following: Gcbqrm5mnp4 Gcbqrm5mnp8 Gcbqrm5mnpc When the new file is created, it is…
-
-2
votes1
answer172
views400 Bad Request "Forbidden"
I am testing Jasmin through demo version and already created the application and corresponding subscription in Nitrogen. Through the Postman examples of the Github repository, I can already get the…
-
0
votes1
answer39
viewsAddition to an autocomplete
I have an autocomplete with the code below. <p:outputLabel styleClass="rotulos" value="Fornecedor:" /> <p:autoComplete id="inputfornecedor" update="msgcontapagar"…
-
0
votes0
answers102
viewsTurning a double variable into a factor
Hello, I’m trying to convert a variable of the type double in factor ppar$abor <- as.factor(ppar$abor) But I’m getting the following error: Error in `$<-.data.frame`(`*tmp*`, abor, value =…
-
10
votes2
answers913
viewsHow to change the selected text color and background with the mouse?
When we select a text with the mouse on a website the text is white and blue (I think it may vary from browser to browser). But I would like to know if it is possible to change the color and…
cssasked 7 years, 12 months ago João Pedro Schmitz 2,974 -
1
votes1
answer74
viewsDoubt in the book Python on a Crash Course
I’m studying the book Python on a Crash Course And everything was going great until now. After testing the codes on pages 324 and 325 (which are a module and a program that uses it), I was surprised…
-
0
votes1
answer601
viewsHow to save a json object to mongodb, which is the answer to an API post
I need to save a certain field,from a json object,which comes from the response of an API I called. Save some fields of this response json object,in some fields of my colletion/model on Mongodb also…
-
0
votes1
answer601
viewsHow to save a json object to mongodb, which is the answer to an API post
I need to save a certain field,from a json object,which comes from the response of an API I called. Save some fields of this response json object,in some fields of my colletion/model on Mongodb also…
-
0
votes1
answer183
viewsAfter inclusion/exclusion setar active my tab-panel (Laravel)
I am developing an application where it is possible to include services in a tab-panel and the other tab-panel it is possible to save other information, but when saving the record in the tab-panel…
-
0
votes1
answer966
views -
1
votes1
answer518
viewsHelp with android studio apk
I am compiling my application in android studio and not from any error. in simulator I see the application normally. when I go in the folder where the app is C: Users Ronaldo Desktop Android Test…
android-studioasked 9 years, 2 months ago Ronaldo Santos 99 -
-5
votes2
answers73
viewsHow to print the number that appears odd times (Python 3)
num = input() numerosString = num.split(" ") numeros = [int(numero) for numero in numerosString] numeros.sort() print(" ".join(map(str,numeros))) The question asks as output in the first line the…
python-3.xasked 5 years, 4 months ago MessiTech 15 -
4
votes2
answers665
viewsSum date with int
I’m trying to make a sum of days, informed in a field int,with a field date using SQL. I tested it as follows, but it sums up the day, but ignores month and year. Is there any way to make that sum?…
-
1
votes0
answers26
viewsRecaptcha bugando
Good night, I made this code: if(isset($_POST["user"]) && isset($_POST["senha"]) && isset($_POST['g-recaptcha-response'])) { $res = $_POST["g-recaptcha-response"]; $curl =…
-
0
votes1
answer341
viewsIs there a difference in "connecting" to the container via Docker attach or Docker exec?
My question is: is there a difference in "connecting" to a container using the instruction docker attach and docker exec -it container /bin/bash? My container was created this way: docker run -it -p…
dockerasked 8 years, 9 months ago Fábio Jânio 3,407 -
2
votes1
answer94
viewsNullpointerexception with CDI and JAX-RS
I’m studying JAX-RS and created a simple project with the following class: Webservice @Path("generic") public class GenericResource { @Inject private MeuServico servico; @GET @Produces("text/plain")…
-
7
votes2
answers837
viewsHow to implement a class to use Preparedstatement through it?
I have the following class Connect.java package util; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; import…
-
1
votes1
answer1290
viewsHelp with php_printer.dll
Use PHP 5.5.12 and downloaded the compatible dll version and when opening the page nothing happens and also no error appears. I restarted Wamp and added the corresponding lines in php.ini php.ini…
-
0
votes0
answers481
viewsList amount of files in a folder
I am working on a small system and I am using web for N reasons, easy to customize, work with full screen (F11), everything is flowing fine. I arrived in a part that I need to list the number of…