Posts by Algeu Junior • 133 points
10 posts
-
0
votes1
answer40
viewsA: What code to use for my HTML site logo to be on the same menu line
If you just want the logo to be on the left side of the menu, you can use the property display in the body: body { display: flex; margin: 0; top: 0; padding: 0; background-color: lightblue; } And as…
-
2
votes1
answer73
viewsA: Android Studio stopped working after installing Flutter and this error infirmmation
I had a similar problem, and with the uninstallation at first did not solve. I fixed removing completely the files from Android Studio. You can follow the footsteps of this link to fully remove.…
-
2
votes1
answer40
viewsA: httpurlconnection on android:
Each time you call it will return the status code: HTTP/1.0 200 OK HTTP/1.0 401 Unauthorized Or if it is not a valid HTTP response it will return -1.
-
0
votes2
answers94
viewsQ: Change State of Component called more than once
I have this code that is a simple counter of Truco. I made a component to count and called him to both teams. When it reaches above 11 points the Zera component was straight. But how am I calling…
-
0
votes1
answer132
viewsQ: Error with append with python csv file
I have a code that sends information to a csv. When it runs the first time it writes the file normally, but when it runs the second time it should add a new line in the file it ends up overwriting…
-
1
votes1
answer516
viewsQ: Error with Session in PHP
I am making a registration page using PHP. I have a validation to show the user if the registration has been done or not, but is always returning Notice: Undefined index: status_cadastro in…
-
0
votes2
answers100
viewsA: Problem inserting data into CSV file
Did you just want to present the data on the screen? Or do you want that after the execution of the code it opens the file with the data? If it is the first option, you can make the following…
-
0
votes1
answer92
viewsQ: Error inserting CSV data into Mysql with Python
I am writing a Python code that inserts the data of a CSV into a Mysql table. if os.path.isfile('\\offline.csv'): try: csv = csv.reader(open('\\offline.csv', encoding='utf-8')) for row in csv: conn…
-
-1
votes1
answer232
viewsQ: Extracting information with Python
I’m conducting some tests with Python and would like to extract some data that are presented on the page of "System information" in the Windows. I know the library "os" of Python allows us to…
-
3
votes0
answers202
viewsQ: How to open CD-ROM in C?
I want to create an algorithm in C to open and close the CD-ROM drive, I took a look at some tutorials but they ended up not working. I would like to know which libraries you should use.