Posts by Danizavtz • 2,246 points
169 posts
-
-1
votes3
answers1877
viewsA: Problem using python Selenium click()
I have never tried to interact with a page this way, but this error you are getting is saying that it is not possible to interact with the selected element. An alternative way to achieve the same…
-
1
votes1
answer137
viewsA: I wanted to send two files from my folder to my remote repository on github and it went wrong after I logged in. What to do?
This error message says you need to pull before pushing. hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart This message says: tip: updates…
-
0
votes2
answers76
viewsA: Going into if wrong
Currently javascript does not support this syntax, it should be done as follows: function experiencia(anos) { if (anos <= 1) { return 'Iniciante' } else if (anos > 1 && anos <= 3) {…
-
0
votes1
answer161
viewsA: Django Runserver
You have to add the name python in the front. The whole command would look like this: python manage.py runserver 8000 Or python3 manage.py runserver 8000 Depending on your installed python version.…
-
0
votes2
answers409
viewsA: Save Date and Time File in Python Name
Substitute / by another character, for example -. This is necessary because the one bar means the relative or absolute path of the file.
-
0
votes3
answers611
viewsA: Code does not run in C on Vscode
You can see there in your explorer that there is no file teste.exe. The only executable file is helloWorld.exe You can run it, being in the directory that your files are, just doing: helloWorld.exe…
-
1
votes1
answer102
viewsA: To insert a value passed by parameter in the sql query
You could try using native database bindings? The result would be: var sql = `INSERT INTO register (email, password) VALUES (?, ?)` connection.query(sql, [email, password], function (err, result) {…
-
0
votes2
answers466
viewsA: How to go through Arraylist with daughter class
An alternative is to use the instanceof before performing any operation. If the array element is instanceof(EstudanteGraduacao) then it is possible to call a method of the type EstudanteGraduacao.…
-
0
votes2
answers1910
viewsA: I’m having trouble installing virtualenv through Pip install
If you are using linux, you can try to install virtuaenv using apt-get. sudo apt install virtualenv
-
2
votes2
answers88
viewsA: Clause error Where SQLITE
You are making a comparison in sql but it should be done using a string in sql. List listMap = await dbTarefas.rawQuery("SELECT * FROM $tarefasTable" + " WHERE $prioridadeColumn = 'Media'"); The…
-
1
votes2
answers46
viewsA: Doubt about domains
You can use a similar strategy to Heroku. They use the pattern of using the customer site as a subdomain of their domain. Whenever you access it is something like: exemplo.herokuapp.com This way for…
web-applicationanswered Danizavtz 2,246 -
0
votes3
answers257
viewsA: Security Exception on UOL Host
Hello, following the documentation you should add the security policies correctly. Add this line to your web.config file: Follow the documentation of the levels of possible security Follows the…
-
-1
votes1
answer204
viewsA: How to map REST request response
You could put the treatment for error response if there is an Exception when doing the response serialization. try { MeuObjeto mo = new MeuObjeto(...)//recebe o response do request } catch…
-
1
votes1
answer66
viewsA: Upload app to Apple Store
According to the documentation the version used to publish applications is always the latest version. Currently Xcode is in version 9.0 but is now available version 10.0 of Xcode. Which will be…
-
2
votes3
answers836
viewsA: Lists count total amount and higher repeat
Yes, it is possible to use this command by importing the package statistics follows the solution: import statistics a = [1,2,3,4,5,6,7,8,8,8] len(a) #10 statistics.mode(a) #8…
-
2
votes3
answers281
viewsA: Longer date search for a specific ID
You can solve everything with just one query: SELECT data, nome FROM teste WHERE id = '1' order by data desc limit 1;
-
1
votes3
answers46606
viewsA: Mask for HTML5 Input fields
Hello, I don’t know how it could work the way you’re using it. But I’ve used this lib and when I needed to use it I took the following approach: <input type="text" data-mask="(00) 00000-0000"…
-
0
votes1
answer100
viewsA: Writing code with python 3
Python has some problems with indentation and tab. When I use text editors like Atom (and the like) I always configure to always use white spaces in python instead of tabulation. Use a fixed number…
-
1
votes2
answers1739
viewsA: Upload multiple images with Multer
Hello, upload multiple files as per lib multer, as the documentation you should add the attribute files at the time of the creation of the Limits, your code would look like this/: // Init Upload…