Posts by Thiago Soares Mota • 316 points
21 posts
-
-3
votes1
answer31
viewsQ: How to always take the next 2 elements of a string
I have the following string: gxAjaxKey = "FF00FFFFFFFF2426FFFFFF046448FF70" I must take 2 elements at a time from this string and convert to byte: FF = 255 00 = 0 FF = 255 . . . 70 = 112 I wrote the…
-
1
votes1
answer37
viewsQ: My algorithm generates a SHA512 Hash displays an unexpected result
I have the following string:…
-
1
votes2
answers98
viewsA: How to color the CSS header?
*{ margin: 0px; } header{ height: 100%; width: 100%; margin-top: 0; margin-bottom: 0; background-color: black; color: white; } <header> <h1>Web Calculator</h1> </header> Try…
-
1
votes1
answer86
viewsQ: Problems using Card-img-overlay with card-Columns
I’m using Bootstrap 4.4 to create a column of cards: <!DOCTYPE html> <html> <head> <title>Problemas em usar Card-img-overlay com card-columns</title> <meta…
-
0
votes2
answers312
viewsA: How to make my script run with two clicks a command that contains sudo?
What I did was edit the file /etc/sudoers Add at the end of the file: user ALL=(ALL) ALL user ALL=(ALL)NOPASSWD:path/do/meu-segundo-Script.sh user ALL=(ALL)NOPASSWD:path/do/mono user…
-
1
votes2
answers312
viewsQ: How to make my script run with two clicks a command that contains sudo?
I have a very simple script, similar to this: #!/bin/bash #Seleciono o diretório onde se encontra o arquivo para execução cd '/home/vmi/Área de Trabalho/TesteComandosNoLinux' #Executo meu software…
-
0
votes2
answers9026
viewsQ: Run Javascript code in VS Code
I am unable to execute js code through VS code. Using the recommendation of a post installed the Code Runner using the Control+Alt+N or F1. Always had the following message : [Running] Node "c:…
-
0
votes0
answers62
viewsQ: Notifyicon creates multiple icons that do not disappear with program shutdown
I have a Windows Form where I use the Notifyicon component. When running the software the software by Visual Studio and finish running with the stop debug button: the icon is not removed until I…
-
4
votes1
answer252
viewsA: Git - How to change a commit message
In case you haven’t pushed : git commit --amend But if that’s not the case: git rebase -i HEAD~Número_de_comites_que_quer_alterar After doing this a file with the committees will open. You will see…
gitanswered Thiago Soares Mota 316 -
0
votes0
answers148
viewsQ: I cannot check 'Mark Clickonce manifests'
I have a Visual Studio project where I need to sign Assembly this way: For the Phoenix_panel project (example print above) marking this item is optional. But for the Phoenix_communication project I…
-
0
votes1
answer110
viewsQ: I can’t change properties using css
I am learning web development and when trying to do a simple test I could not change font size, background color and other properties. I don’t understand where I’m going wrong. #tabela{ font-size:…
-
2
votes1
answer141
viewsA: I cannot create a Windows Form using the . net core
The solution was to go Feramentas -> Options -> Pervia Version Of Resources -> Use Preview Version of . Net core.
-
0
votes1
answer141
viewsQ: I cannot create a Windows Form using the . net core
I’m migrating my project from . net Framework pro. net core. I installed Visual Studio Community 2019 and packages from . net core (including . net core 3.0). But I cannot create a windows form with…
-
2
votes0
answers22
viewsQ: Generic method for updating Cross-thread error form
I have a form where you need to do several updates using the thread-safe calls for Windows Forms controls Snippets of code that do this repeat several times. Trying to refactor I created a kind of…
-
0
votes1
answer127
viewsA: I cannot create new class in the project - Visual Studio
What happened was I created a class without adding it to my project. Just go to Project -> Add -> File and select the class.
-
0
votes1
answer127
viewsQ: I cannot create new class in the project - Visual Studio
I have a project where I created a new class using System; using Definitions; namespace CommunicationCheck{ public class CommunicationCheck { private message_struct Send; private message_struct…
-
0
votes0
answers126
viewsQ: "Indefinite reference to`itoa' " message when trying to use itoia function
I found on some websites people talked about using the itoa function to convert an integer number into a string containing the number in binary format. Code example that should do this:…
-
1
votes1
answer511
viewsQ: Arithmetic error from 20 decimal places in C
I’m solving Uri Online Problem 1120. The problem is given a number D such that 1 D 9, and a number N such that 1 N < 10¹ I remove all occurrence of D in N. Examples and test cases: Entrances: 5…
casked Thiago Soares Mota 316 -
1
votes2
answers126
viewsQ: Disfigured Netbeans
Hello, I was doing a college paper on Netbeans. I wanted to make a UML diagram of the project, so I installed a plugin with shows the link that follows. Video tutorial that shows the plugin…
-
0
votes2
answers65
viewsQ: Nullpointerexception error on execution
Hello. Once again I’m having Nullpointerexception error. I can’t identify why. The activity is as follows : Create a Java app to control the weekly menu of Nutrition Clinic patients. You should…
-
1
votes1
answer138
viewsQ: Nullpointerexception error in running my program
I am doing an activity with the following statement: You must implement a digital clock in Java. For this, you create three classes, namely: Counter, Clock and other class to test the execution…