Most voted questions
150,413 questions
Sort by count of
-
5
votes1
answer149
viewsConfigure HTML variable inside Nodemailer html
I need to send an email using Nodemailer, and I need to send email with html, but I’m not able to set the variables directly inside the email HTML, I’ve tried the replace() and did not succeed.…
-
5
votes2
answers2562
viewsStatic files on Django
Whoa, guys, I’m having trouble uploading static files. Static folder is in the core application, also tested with it at the root of the project and also did not take I made a test index file: {%…
-
5
votes1
answer1047
viewsHow to generate a sequence of dates in r?
How do I generate a list with dates, for example, starting in 2011-07-01 and ending in 2011-10-31 ?
rasked 7 years ago Filipe Vargas 95 -
5
votes4
answers9608
viewsHow to select more than one item in a Select Option
I need to choose more than one option in a select. For example, I could have a checkbox inside the select but I don’t know how to do it, can help me? <div class="col-md-3"> <label…
-
5
votes2
answers781
viewsCreate profiles in application
I need to modify my application so that each user sees its particular content, because each user will have information of its own. I’ve set up the default authentication using make auth and it’s…
-
5
votes1
answer77
viewsHow to solve the code duplication problem?
In Wordpress I am creating a custom screen in the administration area. That’s why I’m extending my class customProductsListTable the class WP_List_Table: class customProductsListTable extends…
-
5
votes2
answers154
viewsWhat to do so that when the user hovers over an image, it expands a little? ( preferably using only HTML and CSS)
I wanted that when the user passed the cursor over a given image, the image would zoom in a little bit, and that’s all.
-
5
votes5
answers4681
viewsHow to make a Rigger for a SEM jQuery event?
In jQuery, when I want to make a Rigger for an existing event, I do so: $(function (){ $('#button').on('click', function () { console.log('olá mundo'); }); $('#button').trigger('click'); })…
-
5
votes1
answer2838
viewsDocker Compose Link
I am using Docker Compose to climb a set of three containers "Selenium Grid": selenium-hub: image: selenium/hub container_name: selenium-hub ports: - 4444:4444 nodeff: image: selenium/node-firefox…
-
5
votes4
answers2886
viewsConvert HTML to PNG
How to convert, via code javascript or php, html (DOM) from the page being displayed to an image? I need the page shown to the user to be converted into an image file in the format png for the same…
-
5
votes1
answer602
viewsMy Laravel project does not climb the server
I’m following the following online course on the youtube website: 1 - CRUD en LARAVEL & Vuejs - Webpack, Laravel Mix, NPM, Axios | Rimorsoft Online When I go up the server with the command yarn…
-
5
votes4
answers5632
viewsIs there any way to use :Focus in div?
I have a div who holds my input and Submit, I wanted to put an effect to make it cooler, only I tried to use it like this .search:Focus and it didn’t work, someone would know how I could put a Focus…
-
5
votes1
answer884
viewsHow to decrease the space between Carousel bootstrap 4 images?
Good evening guys, I would like to know how I can decrease this white space between the images of Carousel. Can someone help me, please? my code: <!DOCTYPE html> <html lang="en">…
-
5
votes1
answer1119
viewsDatabase Connections in Unity
I am developing a mobile game using Unity 3D and need to have a local database on the device. Which database to use? It has how to use Mysql, Sqlite. Can anyone help me?
-
5
votes1
answer556
viewsCondition in Select - SQL
I have a table where we store the priorities of output of supplies per customer, for example: cliente | codigosuprimento | prioridade | quantidaestoque 1 | 500 | 1 | 20 1 | 501 | 2 | 10 1 | 502 | 3…
-
5
votes6
answers4895
viewsSuccess message after completing the PHP form
I’m trying to create a simple form for logging a visit at a location. However, I am unable to place a "Data Successfully Sent" message on the same page of this form. The validation of this form,…
-
5
votes2
answers37
viewsPut my email to receive the contact messages
Where I add my email to receive the contact form messages? <form name='contact-form'> <div class='fm_namer'> <input class='contact-form-name' id='ContactForm1_contact-form-name'…
-
5
votes1
answer557
viewsIs it recommended to manipulate rules with "Try-catch"?
We can manipulate errors in various ways, but the one that will use less code and time of the programmer is the try, present in almost all object-oriented languages. But, when should be used try,…
-
5
votes2
answers3041
viewsInclude task in Windows task scheduler via batch
I do the configuration of several types of backups per batch, the codes are not pertinent to this question, but what it takes is always configure them by the Windows Task Scheduler. There are some…
-
5
votes1
answer648
viewsRestrict access to routes if you are not logged in to Vuejs
I’m developing a Dashboard and I doubted how to forbid access to rotas if they are not logados, with this, I thought of some solutions that would use localStorage, but none is a sure solution. What…
-
5
votes3
answers3914
viewsHow to put the value of a PHP variable inside an input?
How to put the value of a variable (already calculated in PHP) inside a input? <form method="post" action="calculos.php"> <div id="circulantes"> <div class="ativocirculante"…
-
5
votes1
answer677
viewsWhat is the difference between getCanonicalName() and getName()?
To return the package name with the class name I always used the method getName(). However in that reply of @Articuno of the question: Customize the eclipse Generate toString() to print the path of…
-
5
votes2
answers330
viewsHow do I work with the Javascript console?
my project is generating this error: It is on account of that method: components: { VLayout: require('@/layouts/base'), }, How do I know what the result of VLayout using the console.log()? I have…
-
5
votes1
answer482
viewsHow to select an option in select in a less laborious way?
I have a page called editarpublicacao.php who receives the id through GET. One of the two <select> for example contained on the page, is similar to that of companies: <select name="company"…
-
5
votes3
answers26954
viewsPython maximum and minimum
What is the function I use to find the maximum and minimum values between 2 values in Python? Thank you
-
5
votes1
answer166
viewsWhat are these sql modes for in mysql?
Here is the code: SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES'; SET SQL_MODE=@OLD_SQL_MODE; SET…
mysqlasked 7 years, 1 month ago M. Martins 71 -
5
votes1
answer301
viewsAn instrumentation test is an integration test?
I saw some videos where they explain how to test the call of an activity by another activity. I took the following test and, after a reflection, I wasn’t sure if the test I ran was for integration,…
-
5
votes1
answer69
viewsMore secure VPN types
I have a project ready in my company where I use pfsense on the network edge, the equipment plays the role of Proxy, Firewall, gateway and VPN with SSL certificate, but a third party when coming to…
-
5
votes4
answers13368
viewsWhat are files with extension . cpp and . h?
What are these files with extensions .cpp and .h? How they interact with each other ?
-
5
votes1
answer1268
viewsWhat is Crow’s Foot about the database?
In the database class the teacher mentioned a term called Crow’s Foot, and this term left me confused. I’d like to know what Crow’s Foot is about Database?
-
5
votes3
answers542
viewsWhat files for an MEAN project should I send to Github?
I created an MEAN project in MVC and I’m willing to put it on Github, but I’m not sure what to send. If I try to send the whole folder it makes a mistake saying that there are more than 2,000 files…
-
5
votes7
answers49407
viewsHow to install PIP in Windows 10?
I’m trying to install the PIP according to the documentation Python. It is installed but does not work. This always happens: Pip' is not recognized as an internal or external command, a program…
-
5
votes2
answers398
viewsConvert date to Unix timestamp
I have a table in a Mysql database that has a date column VARCHAR, guy 20-09-2017 and I need to migrate this column to a column bigint(8) using the date format timestamp unix. How to do this?…
-
5
votes1
answer361
viewsWhat is the difference between NULL and null?
Is there any difference between the NULL (in capital letters) and null (lowercase) in PHP? I know I can use both types, but there’s some rule of naming those words?…
-
5
votes2
answers165
viewsHow to access the version of a.exe file with PHP?
I need to access the property called "version" in my file, and I know that this is not possible in Javascript, but I don’t know what language to use, or what to do to get to it. I thought about…
-
5
votes1
answer264
viewsIs it possible to compare numerical values in strings without casting to Number type?
I have two numeric values that are recovered in strings and I wonder if there is a way to compare them to see which numerical value is higher, but without having to keep converting to type Number…
-
5
votes3
answers2851
viewsJava repeated letter counter
I made a method to count the repeated letters that are stored and ordered alphabetically within a list. The method is counting right but the bug is at the time of printing, it prints the letter and…
-
5
votes2
answers2146
viewsWhat is the difference between mysql-server and mysql-client?
It is said that using the command apt-get install mariadb-server would also install the mariadb-cliente. I understand that the server can be said to be where the data persist, however I lack an…
-
5
votes2
answers221
viewsIf there is hint or Warning the compiler cancels the compilation
I would like that when compiling an application and if it has any Hint or Warning, the execution is suspended, generating an error. Does anyone know if it’s possible? Edit1: Warning’s can be treated…
delphiasked 7 years, 1 month ago Jonas Azevedo 73 -
5
votes1
answer220
viewsBarplot arguments
I made a graph with the barplot function, and I need to change the angle of the text on the x-axis, because the words are long. I know that to place them vertically use them=2, but I want them to be…
-
5
votes3
answers80
viewsDeleting parts of a Text
Galera is the following wanted to be able to extract only the name of the user in a Shell SCRIPT but must be through the text I inform. I exactly wanted to display on screen only: meucliente From…
-
5
votes2
answers477
viewsnumber of days of the week per month
I need to check the number of the week and count how many days there are each week of the month. With this code, I know the number of the week in the month (not the week of the year): function…
phpasked 7 years, 1 month ago user26858 -
5
votes4
answers819
viewsHow to make a function to tell when an array is empty?
I need a function that lets me know when an array is empty, function validaCampo(){ if(count(dias[])==0) { alert("O Campo Dias disponíveis é obrigatório!"); return false; } else return true; }…
-
5
votes2
answers35879
viewsNo 'Access-Control-Allow-Origin' header is present on the requested Resource. Origin 'null' is therefore not allowed access. - Phonegap
I’ve been reading about this json method and I just don’t understand and don’t know what to fix, I’m using another domain to get the json. Here is my code: $(function(){ var url =…
-
5
votes3
answers8939
viewsWhat is the correct way to declare a string in C?
There are several ways to declare a type variable string in C as: char *str; char str[]; char str[100]; char str[1][100]; What I’d like to know is, is, is there a correct way to declare a variable…
-
5
votes1
answer64
viewsIs it wrong to have header and Section tags and not have a footer?
I have a single page application, very simple even, and used the tags header and section, without creating a footer, because I found it unnecessary. Is there a rule or recommendation about this? Can…
-
5
votes1
answer4205
viewsConvert PDF to text with Python
Well, I have a PDF file that is on a website, I would like to know how to take the text of this PDF and put it in a variable. Access the site with PDF I know, my difficulty is in converting this PDF…
-
5
votes2
answers260
viewsHow to view front-end projects?
How to view front-end projects? Semantic versioning brings the following approaches: MAJOR - when you make incompatible API changes MINOR - when you add functionality compatible with previous…
-
5
votes1
answer522
viewsHow to Change Server Type in Firebird 2.5 (- Superserver, Classicserver or Superclassic)
How to Change Server Type on Firebid 2.5? I know it’s three : Superserver, Classicserver or Superclassic
firebirdasked 7 years, 1 month ago Edu Mendonça 2,564 -
5
votes2
answers101
viewsComplete observations in a data frame
Suppose I have the following data set: dados <- structure(list(Ano = c(2001L, 2001L, 2001L, 2002L, 2002L, 2002L, 2003L, 2003L, 2003L, 2004L, 2004L, 2004L, 2005L, 2005L, 2005L, 2005L), Categoria =…
rasked 7 years, 1 month ago Marcus Nunes 17,915