If your are using editorconfig, this is my config:
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
(async function() { | |
console.clear(); | |
const headers = { | |
'Content-Type': 'application/json', | |
}; | |
const body = JSON.stringify({ | |
"username": "joanadarc", | |
"password": "Abc@12345678" | |
}); | |
const config = { |
Título | |
Deploy, Hospedagem e domínio e opções inclusivas para todos | |
Domínio e hospedagem: guia para leigos | |
https://www.otaviomiranda.com.br/2018/dominio-e-hospedagem-guia-para-leigos/ | |
Heroku | |
https://www.heroku.com/ | |
VirtualBox Tutorial |
try: | |
import sys | |
sys.path.insert(0, '/opt/homebrew/opt/pyqt5/lib/python3.9/site-packages') | |
except: | |
... | |
from PyQt5 import QtWidgets | |
from PyQt5.QtWidgets import (QApplication, QGridLayout, QMainWindow, |
{ | |
"window.zoomLevel": 0, | |
"python.languageServer": "Pylance", // ms-python.vscode-pylance | |
"python.testing.unittestEnabled": false, // ms-python.python | |
"python.testing.pytestEnabled": true, | |
"python.testing.pytestArgs": [], // -x to bail | |
"python.linting.flake8Enabled": true, | |
"python.linting.mypyEnabled": true, | |
"python.linting.pylintArgs": [ | |
"--load-plugins=pylint_django", |
#!/bin/bash | |
# Executar comandos a seguir para atualizar os pacotes | |
sudo apt update -y | |
sudo apt upgrade -y | |
# Só o Python | |
sudo apt install python3.10-full python3.10-dev -y | |
# Instalar pacotes a seguir |
Abaixo estão todos os links mencionados na aula:
Não se esqueça de configurar o powershell com o comando abaixo (como administrador):
Download and install Google Chrome and Visual Studio Code:
Open the terminal and run:
from pathlib import Path | |
from selenium import webdriver | |
from selenium.webdriver.chrome.service import Service | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.common.keys import Keys | |
from time import sleep | |
# Caminho para a raiz do projeto | |
ROOT_FOLDER = Path(__file__).parent.parent.parent | |
# Caminho para a pasta onde o chromedriver está |
O macOs roda sobre Darwin OS (kernel XNU), que é um sistema UNIX-like. Então, todos os comandos abaixo também funcionam normalmente no MacOS. Recomendo utilizar o gerenciador de pacotes homebrew caso necessário instalar algo. Se quiser o mesmo terminal que eu (ZSH com Oh My ZSH), utilize este vídeo para configurar https://youtu.be/bs1-Wxb_KIc
No Windows é possível utilizar o wsl2 e instalar uma versão do linux para acompanhar. Eu fiz alguns vídeos para você usar o Linux no Windows.