Skip to content

Instantly share code, notes, and snippets.

View higornobrega's full-sized avatar
🎯
Focusing

Higor Nóbrega higornobrega

🎯
Focusing
View GitHub Profile
@higornobrega
higornobrega / settings.json
Created December 28, 2022 22:10 — forked from luizomf/settings.json
Configuração do VS Code para Python e Django.
{
"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",
@higornobrega
higornobrega / ambiente-dev-ubuntu.sh
Created December 27, 2022 00:29 — forked from luizomf/ambiente-dev-ubuntu.sh
Ambiente de desenvolvimento Python no Ubuntu - Com VS Code, Google Chrome, ZSH, Oh-my-zsh, zsh-syntax-highlighting, zsh-autosuggestions e spaceship prompt.
#!/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
1. instalar o ambiente virtual
~$ sudo apt install virtualenv
2. criando uma pasta para o projeto
~$ mkdir nomedapasta
3. entrando na pasta
~$ cd nomedapasta\
4. criando ambiente virtual