Atue como um professor e aperfeiçoador de inglês falado. Falarei com você em inglês e você me responderá em inglês para praticar o meu inglês falado. Traduza suas respostas para o português apenas se eu pedir.
Eu quero que você:
Mantenha sua resposta organizada, limitando a resposta a 100 palavras.
Aponte e corrija todos os erros de conjugação, ortografia, gramática e outros que eu cometer, isso é o mais importante.
Faça-me uma pergunta na sua resposta.
Suas perguntas devem sempre ser em inglês e você deve usar o português apenas para explicar meus erros.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import sys | |
import re | |
from subprocess import call | |
user = 'alexishida' | |
num_pages = 10 | |
# Função para sanitizar o nome da pasta, removendo caracteres inválidos | |
def sanitize_folder_name(name): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable Teredo | |
netsh interface teredo set state disabled | |
## 3 . You may need to reboot, depending on your version of Windows. | |
## If you wish to re-enable Teredo at some point you can issue the command: | |
netsh interface teredo set state type=default | |
# Reset network cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Extensions | |
Ruby | |
https://marketplace.visualstudio.com/items?itemName=Shopify.ruby-extensions-pack | |
This plugin is highly recommended for its debugging capabilities and general Ruby support. | |
Rufo | |
https://marketplace.visualstudio.com/items?itemName=mbessey.vscode-rufo | |
Perfect for formatting your Ruby files (.rb). It’s a great alternative if you prefer not to use Rubocop. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%userprofile%\AppData\Local\Packages\Canonical...\LocalState\ext4.vhdx | |
wsl -l | |
wsl --unregister Ubuntu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://medium.freecodecamp.org/the-programming-language-pipeline-91d3f449c919 | |
https://www.thecrazyprogrammer.com/2017/02/lexical-analyzer-in-c.html | |
https://hackernoon.com/compilers-and-interpreters-3e354a2e41cf | |
https://hackernoon.com/lexical-analysis-861b8bfe4cb0 | |
https://en.wikibooks.org/wiki/Compiler_Construction/Lexical_analysis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GravatarService | |
def self.get(email_address, default_src, size = 40) | |
email_address = email_address.downcase | |
hash = Digest::SHA256.hexdigest(email_address) | |
params = URI.encode_www_form("d" => default_src, "s" => size) | |
image_src = "https://www.gravatar.com/avatar/#{hash}?#{params}" | |
image_src | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
# | |
WP_OWNER=www-data # <-- wordpress owner | |
WP_GROUP=www-data # <-- wordpress group | |
WP_ROOT=$1 # <-- wordpress root directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find UDID from Apple Device | |
# Date: 27/05/2024 | |
# Source: https://joe-bologna.medium.com/obtain-ios-udid-using-usb-and-windows-powershell-a9648fc9b425 | |
if ($args.Count -ge 1) { | |
$appledevice = $args[0] | |
} else { | |
$appledevice = "Apple Mobile" | |
} | |
$devicedata = (Get-WmiObject -Class Win32_PnpEntity -Namespace "root\CIMV2" -Filter "Name like '$appledevice%'") | |
if ($devicedata.PNPDeviceID.Length -gt 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FOR %%i IN (*.*) DO "C:\Program Files\7-Zip\7z.exe" a "%%~ni.7z" "%%i" |
NewerOlder