https://github.com/collectiveidea/interactor
This file contains hidden or 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
{"lastUpload":"2020-02-28T18:54:45.200Z","extensionVersion":"v3.4.3"} |
TL;DR
sudo apt-get install -y postgresql-12 postgresql-server-dev-12 postgresql-contrib-12 libpq-dev postgresql-12-hypopg
sudo pg_dropcluster 12 main --stop
sudo pg_upgradecluster 11 main
sudo pg_dropcluster 11 main
This file contains hidden or 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
alias dm='rake db:migrate' | |
alias dmt='rake db:migrate && rake db:test:prepare' | |
alias dmp='RAILS_ENV=production rake db:migrate' | |
alias rc='rails c' | |
alias rg='rails g' | |
alias rcp='RAILS_ENV=production rails c' | |
alias rs='rails s' | |
alias rsp='RAILS_ENV=production rails s' | |
alias zdm='zeus rake db:migrate' | |
alias zdmt='zeus rake db:migrate && zeus rake db:test:prepare' |
This file contains hidden or 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
sudo echo "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" >> /etc/apt/sources.list.d/pgdg.list | |
wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install postgresql-9.6 postgresql-contrib-9.6 libpq-dev | |
cd /tmp |
This file contains hidden or 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
Editar | |
sudo xed /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache | |
sudo xed /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache | |
Adicionar :en na linha "cedilla" | |
sudo xed /usr/share/X11/locale/en_US.UTF-8/Compose | |
substituir "ć" por "ç" e "Ć" por "Ç". ( Contrl + h ) |
This file contains hidden or 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
#atualizado para Tuxedo OS 3 ( Ubuntu 22.04 ) | |
# como usar: | |
# Clique ali em cima no botão raw | |
# salve o arquivo no seu disco. | |
# abra o terminal na pasta onde vc baixou o arquivo. | |
# de permissão de execução chmod +x post_install.sh | |
# rode: | |
# ./post_install.sh | |
# coloque sua senha |
NewerOlder