Posts by Sandson Costa • 509 points
35 posts
-
1
votes1
answer49
viewsQ: Error when identifying user login "-Identity"
I made this simple script to remove a particular group from AD users via .csv but is accusing error that the $_.user has not been identified or is empty. Import-Csv -Path…
powershellasked Sandson Costa 509 -
0
votes2
answers60
viewsA: I cannot add "variable = variable + 1" to the while loop
I corrected... it was a very silly thing actually... I had already done before what BXL had said. But in my case I had only put right after the arquivo.write(str(numero_do_anime))... the code:…
-
-2
votes2
answers60
viewsQ: I cannot add "variable = variable + 1" to the while loop
I have the following code: quantidade = int(input("Quantos episódios? ")) inicio = 1 numero_do_post = 379 numero_do_anime = 6 arquivo = open("script.txt", "w") while (inicio <= quantidade):…
-
1
votes2
answers51
viewsA: How to publish mass posts via database
I managed to solve... On the table wp-post the posts are stored. On the table wp-Terms categories are stored, but in the wp-posts table there is no reference between the table category id wp-Terms.…
-
4
votes2
answers4989
viewsQ: How to run scripts in powershell
I have an extract.sh script that does some things. I have another powershell.sh script that makes the powershell call only. And inside the powershell.sh I pull the extract.sh to run the script…
-
0
votes0
answers29
viewsQ: mkvextract giving error in windows
I installed the MKVToolNix on my computer and put the folder in the environment variables. When using the MKVExtrac in the Arquivo.sh, it presents the following error: What could be causing this…
-
0
votes2
answers51
viewsQ: How to publish mass posts via database
I’m creating an anime website. I’m wearing themeforest’s Betube Heme. I wanted to post several anime at once via bank, because posting one by one is going to be a lot of work. Currently when put it…
-
1
votes1
answer37
viewsQ: How to convert an entire video directory via terminal in Ubuntu Server 18?
I have a directory and wanted to convert all videos . mkv to . mp4. The only problem I’m having is: ffmpeg -f concact-i lista.txt -c copy novo.mp4 the only problem is that this way I get the whole…
ffmpegasked Sandson Costa 509 -
2
votes2
answers454
viewsQ: How to create a script to rename files on Ubuntu 18?
I have a folder called baixar-nanatsu and inside the folder I have several videos. I wanted to change the name of the videos via bash or shell script automatically, only I have no idea how it does.…
-
1
votes1
answer123
viewsQ: Is it possible to pull information from a specific site in an excel site?
My question is this... I got a topdesk call. I would like to pull information like opening date and completion and status (open, closed, solved)... I was wondering if in excel there is a way I do…
excelasked Sandson Costa 509 -
0
votes0
answers87
viewsQ: Is it possible to change the CSS code of an existing page by just linking to another page?
The question is this: I have a call system (GLPI) that by default is responsive, but does not look cool in mobile version. I’m studying javascript >> React and then try to create a full mobile…
-
2
votes1
answer7298
viewsQ: How to save in CSV or Excel a table generated from another table with pandas or pivot table?
I have a table with data of several years from 2000 to 2015 in CSV format. In my code I ask the user to enter a year he wants to see and return on the screen only the years he requested. Ex.: 2000.…
-
1
votes1
answer152
viewsA: How to Solve the Android Studio 3.1.3 Cordinatorlayout Problem?
I managed to solve the problem myself. I found several steps here on the site to solve the problem and none of them solved. So looking at AS I saw that api 28 was pre-installed on it, and it’s like…
-
1
votes2
answers326
viewsQ: Data analysis with python list
I have a txt list with the following data: txt list. AC;12;733559;8476515;11.57 AL;27;3120494;24574808;7.87 AM;13;3483985;59779292;17.17 AP;16;669526;8265965;12.36 BA;29;14016906;154340458;11.01…
python-3.xasked Sandson Costa 509 -
0
votes1
answer945
viewsQ: How to print the balance in ascending order and calculate interest in python
Personal I have a job in which I must reproduce the following table: I don’t have much knowledge in python and am doing my best to try to reproduce it. But I am managing to return only in this way.…
python-3.xasked Sandson Costa 509 -
0
votes1
answer10618
viewsQ: How to print information in python table format?
I would like to print the results in table format as attached image. The code I’m doing is to literally reproduce the financing system above. Only when I go to test, they print one below the other…
python-3.xasked Sandson Costa 509 -
-1
votes1
answer152
viewsQ: How to Solve the Android Studio 3.1.3 Cordinatorlayout Problem?
I’m starting to study android mobile development and caught several problems with Android Studio 3.1.3. And one of them that I’m failing to fix is the rendering problem. I have tried several…
-
2
votes3
answers478
viewsQ: How to center a text in the middle of the page?
I’m using bootstrap 3. I want to center a text as the example below. @import url('https://fonts.googleapis.com/css?family=Anton|Black+Han+Sans|Open+Sans+Condensed:300'); /* font-family: 'Black Han…
-
0
votes1
answer1030
viewsQ: How to make a POST request on the browser console?
Good night, you guys! I’m studying penetration tests on an attack-oriented study site. In order to register I have to "hack" the registration page. Basically I have to enter a function in the…
-
1
votes3
answers4341
viewsQ: I cannot use accents in Code Blocks
Hello! I have a code: include stdio.h> include locale.h> int main() { setlocale(LC_ALL,"portuguese"); printf("Agora não tem mais problema algum para utilizar acentuação!\n"); return 0; } Set…
-
-1
votes1
answer807
viewsQ: How to add an array within a class?
My teacher passed a paper that says the following: Create a Student class, which has as attribute a name and Cpf. Create another class called Team, which has as attribute a list of participants of…
python-3.xasked Sandson Costa 509 -
3
votes5
answers7921
viewsQ: How to properly format CPF in Python?
I have the following code: test = input ("CPF: ") When the typed CPF gets: 12345678900 But when I return this input he comes back: 123.456.789-00 How do I do it in Python?…
-
3
votes1
answer2087
viewsQ: What is the difference between "string" and "Character" in Python?
What is the difference between the string and Character? For example: print 'Olá, mundo!' print "Olá, mundo!" Since the two in theory are the same thing, right? PS.: I opened XML to do my color…
-
0
votes2
answers16823
viewsQ: What is the logic for calculating the percentage of victory, draw and defeat?
I’m wondering the logic of how to calculate the percentage of tables in a football game. For example, I put a quick Excel tabelinha here just for demonstration. In red is the real percentage, and…
-
2
votes2
answers597
viewsQ: How to put more than one parameter in Python?
Guys I’m learning Python3 and I’m having trouble making an implementation in Python. For example, in C: for (fatorial = numero; fatorial >= 1; fatorial--) I want to put this implementation up in…
-
0
votes1
answer3831
viewsQ: I cannot log into phpmyadmin
Right now I’m studying shared file cloud services like Owncloud and Pydio. I am using Debian 9 as a machine. I installed xampp on it. I entered the phpmyadmin settings normally and went to put…
-
1
votes1
answer443
viewsQ: Help with placeholder that does not change color
Guys I really need your help. I am developing a website. So studying more precisely Html5 and css3 and I have a huge problem that I cannot solve... Here the format of the site in Codepen:…
-
3
votes1
answer1490
viewsQ: How to print a list in Java?
Guys I am studying the POO discipline in Java, I the teacher spent a content there that did not give time to write the code. Then I’ve got one hell of a question! I have 3 classes in java. Salaaula,…
javaasked Sandson Costa 509 -
-1
votes3
answers332
viewsA: Is it possible to force Html5 video to play videos with other extensions, as if it were normal video?
If I understand correctly, you want the browser to play a video.ts on video.mp4, is that it? It does not rotate. If it is in the construction of the site that is to pull a video file.ts, it will…
-
0
votes6
answers4426
viewsA: How do I make the image 100% on the screen?
img{ display :block; width : 100%; } It didn’t work. I can’t solve this problem. Does it have to do with the size of the image? My screen is 1920... I’m cracking my head!…
-
-1
votes6
answers4426
viewsQ: How do I make the image 100% on the screen?
I have a website in development. Then I want it to be on the whole screen, it’s to be a responsive site, I’m using the bootstrap... It only gets full screen if I zoom 150%: Example:…
-
0
votes2
answers15349
viewsQ: Factorial algorithm in Portugol Studio
I have this algorithm: programa { inteiro numero, fatorial, resultado=1 funcao inicio() { escreva ("Insira um número a ser fatorado: ") leia (numero) para (fatorial = 1; fatorial <= numero;…
-
3
votes2
answers13835
viewsQ: Algorithm to calculate the sum of the numbers typed in portugol
I’m using Portugol Studio to study algorithms in Portuguese. And I’m having a hard time with a question that the teacher passed. the question is as follows: Develop an algorithm that requires the…
-
0
votes1
answer65
viewsQ: How to add the word "years" after calculating age
I have the following code: document.getElementById("data").addEventListener('change', function() { var data = new Date(this.value); if (isDate_(this.value) && data.getFullYear() > 1900)…
javascriptasked Sandson Costa 509 -
0
votes0
answers182
viewsQ: Help with Wampserver! Helpme! It’s not turning green!
Folks somebody help me with a little something on WampServer. I followed this tutorial from YT (https://www.youtube.com/watch?v=2KmzkPWty7Y&t=522s) Apache in the video is version 2.4.4 and mine…