Last active
October 18, 2024 02:54
-
-
Save luizomf/1fe6c67f307fc1df19e58f224134dc8f to your computer and use it in GitHub Desktop.
Ambiente de desenvolvimento Python no Ubuntu - Com VS Code, Google Chrome, ZSH, Oh-my-zsh, zsh-syntax-highlighting, zsh-autosuggestions e spaceship prompt.
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 | |
# 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 | |
sudo apt install git curl build-essential dkms perl wget -y | |
sudo apt install gcc make default-libmysqlclient-dev libssl-dev -y | |
sudo apt install -y zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev llvm \ | |
libncurses5-dev libncursesw5-dev \ | |
xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git | |
# Baixar e instalar VS Code: https://code.visualstudio.com/download | |
# Baixar e instalar Google Chrome: https://www.google.com/intl/pt-BR/chrome/ | |
# Abaixo tudo é opcional | |
# Instalar e configurar ZSH | |
sudo apt install zsh -y | |
chsh -s /bin/zsh | |
zsh | |
# Instalar Oh-my-zsh! -> https://ohmyz.sh/ | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# Instalar Spaceship Prompt | |
# https://github.com/spaceship-prompt/spaceship-prompt | |
git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1 | |
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme" | |
# Mudar ~/.zshrc -> ZSH_THEME="spaceship" | |
# Instalar Zsh Autosuggestions | |
# https://github.com/zsh-users/zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
# Instalar Zsh Syntax Highlighting | |
# https://github.com/zsh-users/zsh-syntax-highlighting | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
# Mudar plugins | |
# plugins=(git zsh-autosuggestions zsh-syntax-highlighting) | |
# Font optional (https://github.com/pdf/ubuntu-mono-powerline-ttf) | |
mkdir -p ~/.fonts | |
git clone https://github.com/pdf/ubuntu-mono-powerline-ttf.git ~/.fonts/ubuntu-mono-powerline-ttf | |
fc-cache -vf | |
# REBOOT!!!!!!!!!!!!!!!!!!!!! | |
TOP!!!
Valeu!!!
Top demais! Muito obrigado!
OLá passando aqui para dizer que este prof es boin
Qualidade!
muito bom 👏️
😊 THANKS BRO
…On Thu, Jun 15, 2023 at 9:42 AM danilobrun ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
muito bom 👏️
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/luizomf/1fe6c67f307fc1df19e58f224134dc8f#gistcomment-4600497>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUVGYDRRXIIFOGQ3ZHTBBQDXLL7LHBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFQKSXMYLMOVS2I5DSOVS2I3TBNVS3W5DIOJSWCZC7OBQXE5DJMNUXAYLOORPWCY3UNF3GS5DZVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTCMRYGI2DSNZWU52HE2LHM5SXFJTDOJSWC5DF>
.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
--
por: Lauricio De Souza
site: clique aqui <http://lauricioweb.xyz>
Com o Luiz não tem erro, sempre que tenho qualquer dúvida primeiro vejo se encontro algum vídeo ou tutorial do Miranda, a didática dele é incrível.
Muito top este tutorial.
Nice demais, mano. Vlw pelo sharing!
Muito Toppp! Conteúdo maravilhoso professor.
Para user de mac, ao ajustar o icon no vscode
CTRL+SHIFT + P e digite:
settings.json
adicione:
"terminal.integrated.defaultProfile.osx": "zsh",
"terminal.external.osxExec": "Terminal.app",
"terminal.integrated.fontFamily": "Ubuntu Mono for Powerline",
"terminal.integrated.fontSize": 14,
Muito bom! Obrigado!!!
Funcionou muito bem no linux mint 21.3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Depois que instalei seguindo a risca tudo que está aí, não consigo rodar o comando yarn:
Error: Cannot find module 'worker_threads'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at /home/manel/.yarn/releases/yarn-3.2.0.cjs:427:2642
at Object. (/home/manel/.yarn/releases/yarn-3.2.0.cjs:740:8778)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)