Interesting questions
-
1
votes1
answer157
viewsPrint document to printer without user interaction
I need to print a document by sending directly to the printer without the user having to choose the printer. How do I do this with PHP5 or JavaScript? I found that with JavaScript has the…
-
5
votes2
answers70
viewsError plotting with ggplot
library(tidyverse) library(lubridate) Suppose a dataset containing the year followed by the number of books published by an author: df<-tibble( ano = c(2007, 2008, 2017, 2018), n = c(1, 2, 2, 1)…
-
0
votes2
answers2062
viewsFind next multiple of 10 of a number in php
How to find the next number that is multiple of 10 in PHP? Example: $a = 142; How to get number 150?
phpasked 8 years, 7 months ago Paulo Rogerio 307 -
-1
votes2
answers62
viewsCommand in chat to open new javascript page
Hello folks I’m doing a chat and would like that when the user type /rules and press enter it opens a new tab with the address of the rules someone could help me with the code? <textarea…
-
0
votes2
answers46
viewsI have a date/time start and end frame, how do I separate for dates / start time / end time on pandas?
In the database I have a report containing: INICIO FINAL 20/07/2021 09:17 20/07/2021 09:25 20/07/2021 09:17 20/07/2021 09:25 20/07/2021 09:17 20/07/2021 09:25 20/07/2021 09:28 20/07/2021 09:33 I…
-
7
votes2
answers707
viewsAre class methods recreated for each instance in Python?
By what I observed when generating an instance of a class all class methods are recreated in a different memory position as in the excerpt below: class Foo(): def __init__ (self): self.x = 10 def…
-
2
votes1
answer744
viewsUsing PHP in the terminal, xampp
I’m trying to use PHP through the terminal, but I can’t, when I type which php he returns /usr/bin/php so I can’t run PHP files, because it can’t find the files. I am using XAMPP for MAC…
-
1
votes1
answer225
viewsHow do I leave an option like "default" on a combobox?
I have a combobox with several "values". I will "fail" values, just for example. Combobox: <ul class="nav"> <li> <div> <label>Tipo de Nacionalidade</label> <select…
-
0
votes1
answer103
viewsMiscalculation
Hello, I am with a project of a consortium calculator that is showing error. It receives from the user the following data: Value of the consortium Amount of months % from the reserve fund % of the…
javaasked 7 years ago Weriky Alphazero 37 -
1
votes2
answers106
viewsassign radio value found in sql - Codeigniter
I want the user to be able to see the data you entered in your log when loading the data update page. I can see the data that is in type=text but not in type=radio. View: <?php foreach…
-
1
votes1
answer2717
viewsCheck File Creation Date and Delete
I created a Backup application, it saves the files in zip format DD-MM-YYY - 00-00-00.zip, but would like to know how I would do to check creation date for deletion, because the name of the files…
-
3
votes2
answers411
viewsTextbox_changed is accumulating the sum value c#
I’m using the event textBox_Changed and when I type a value into the field, another textBox should receive this value, but this other textBox called ValorTotalVenda is accumulating this amount.…
-
1
votes0
answers67
viewsIs it possible to capture the origin of a dragged file from the computer?
I wanted to send the image path from the "drop event": Javascript: window.onload = function() { var dropZone = document.getElementById('box_paper'); function handleFileSelect(event) {…
-
-1
votes1
answer245
viewsDictionary from list index
I have a list of names = [name1, name2, name3, etc] Each name is to have associated information such as address, phone, etc. I want to make a menu from the list index: print... 1 - Nome1 2 - Nome2 3…
pythonasked 5 years, 5 months ago douglas1alc 23 -
0
votes1
answer76
viewsPass id to call modal
I have an array of a table called devolucoes that I use to mount a datatable, and I wanted to call a modal in the description column, but so far so good, only it loads the empty modal because I’m…
phpasked 7 years, 4 months ago Smoke Rohden 793 -
3
votes1
answer178
viewsShowing data when typing
I need to show two pieces of information when the user enters the commission amount, in case the information that should show IR and Valor líquido. For example, if the user types 1.200,00, on the…
-
1
votes1
answer2137
viewsMethod Matches() to validate if string contains only numbers
I’ve read some articles on the method matches() and really didn’t understand. In that code would return false because I am using a variable and the method read the variable name and not the value…
-
0
votes1
answer152
viewsIntermittent Error (could not obtain Ole control window Handle) Delphi
Good morning, I have an application that runs on 8,000 machines, however, I’m having an error in a small portion (average of 100) every day. I get msg (could not obtain Ole control window Handle)…
delphiasked 7 years, 4 months ago Rodrigo Dias 1 -
0
votes1
answer18
viewsInline formsets Django
Hello, I am until that experienced in Django but I am having an error that I am not able to solve, well the error is this, I have an inlineformset_factory and when I go to save it not saved and says…
-
3
votes2
answers85
viewsHow do I use the Symbol tag instead of the g tag in Iron-iconset-svg?
I am trying to define an Iron-iconset-svg using the icons with the Symbol tag instead of using the g tag and the icon is not rendered. In all documentation and references on the internet the SVG is…