Posts by Victor Nogueira • 152 points
12 posts
-
0
votes3
answers220
viewsA: Why can’t I use module export to export variable
The context is somewhat confused, but I believe the error is in the asynchronous function. The function verify that you created is an asynchronous function, but the reserved word await is at the…
-
2
votes1
answer121
viewsQ: Husky and commitlint do not work before the git commit command
The Husky and commitlint packages were installed to a Nodejs project with the intention of adding Hooks to the commands git commit to maintain the same style guide in commit. However the Hooks are…
-
1
votes1
answer121
viewsA: Husky and commitlint do not work before the git commit command
In the husky package repository has a not very clear chunk, where it mentions that the minimum version of Git installed should be 2.13.0 Verify that your version of Git is >=2.13.0. And to…
-
0
votes1
answer5380
viewsA: How do I send the body in a request (POST) on Xios?
You can simply add "date" to the object. In this field you can add what you want to send along with the request. Example: axios({ method: 'post', url: '/user/12345', data: { nome: 'Victor',…
-
1
votes1
answer768
viewsQ: Conditional formatting of Regex phone number
Context: have a input that as I type a function is called to check if the phone number is in the correct format. This function must accept numbers in the formats: (XX)XXXXX-XXXX and (XX)XXXX-XXXX,…
-
0
votes2
answers1708
viewsA: Configure stylesheet with PHP
The most indicated in your case would be using SASS, so you could assign the colors as the user prefer. You can also simply save these customizations in a database and then when loading the page…
-
0
votes1
answer48
viewsQ: HTML/PHP code block
I have an HTML page, and I would like to add a block with code in some language, so that it looks aesthetically beautiful as if it were in the code editor. I know the tag <pre></pre> is…
htmlasked Victor Nogueira 152 -
2
votes5
answers9375
viewsA: Program to find MMC in Python
You can simply add one break after printing its "major" variable, so it will interomper the while. That way: num1 = int(input("Digite um número inteiro:")) num2 = int(input("Digite outro número…
-
0
votes2
answers808
viewsA: How to run a Vimeo video on the video tag
Well, Vimeo doesn’t allow you to have access to this raw video(.MP4), but you can easily get it by just inspecting the page with the browser and removing the code snippet responsible for the video.…
-
1
votes1
answer330
viewsA: How to use the output tag?
Most likely, your browser is outdated and not accepting <output>. I recommend that you check the version of your browser to make sure that it supports this tag. At this link you can see the…
-
5
votes1
answer4205
viewsQ: Convert 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…
-
0
votes3
answers1112
viewsA: how to create search system using filter
I did not find errors in the code, for me it worked perfectly, what may be occurring is that your variable that receives the $_GET age is not receiving any value, in which case I recommend that you…