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
| git config --global color.ui true | |
| git config --global user.name "Thalescantai" | |
| git config --global user.email "tcantai54@gmail.com" | |
| ssh-keygen -t rsa -b 4096 -C "tcantai54@gmail.com" | |
| cat ~/.ssh/id_rsa.pub |
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
| # encoding: UTF-8 | |
| # pt-BR translations for Devise | |
| pt-BR: | |
| devise: | |
| confirmations: | |
| confirmed: "Sua conta foi confirmada com sucesso. Você está logado." | |
| send_instructions: "Dentro de minutos, você receberá um e-mail com instruções para a confirmação da sua conta." | |
| send_paranoid_instructions: "Se o seu endereço de e-mail estiver cadastrado, você receberá uma mensagem com instruções para confirmação da sua conta." | |
| failure: | |
| already_authenticated: "Você já está logado." |
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
| # Version 21.6.0.0.0 (Requires glibc 2.14) | |
| # Instalar a biblioteca (http://mirrors.kernel.org/ubuntu/pool/main/liba/libaio/libaio1_0.3.113-5_amd64.deb) | |
| # sudo apt-get install libaio1 libaio-dev unzip | |
| sudo apt-get install libaio1t64 | |
| sudo ln -s /usr/lib/x86_64-linux-gnu/libaio.so.1t64 /usr/lib/x86_64-linux-gnu/libaio.so.1 | |
| # Criar a pasta | |
| sudo mkdir /opt/oracle |
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
| #!/bin/bash | |
| #--------------------------------------------------------------------------------------- | |
| # Script to update rbenv, Ruby and Ruby on Rails versions | |
| # Source: https://gist.github.com/alexishida/015b074ae54e1c7101335a2a63518924 | |
| # | |
| # Author: Alex Ishida <alexishida@gmail.com> | |
| # Version: 1.7.2 - 17/10/2025 | |
| #--------------------------------------------------------------------------------------- | |
| # | |
| # If you want install rbenv for the first time |
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
| pt-BR: | |
| activerecord: | |
| errors: | |
| messages: | |
| record_invalid: 'A validação falhou: %{errors}' | |
| restrict_dependent_destroy: | |
| has_one: Não é possível excluir o registro pois existe um %{record} dependente | |
| has_many: Não é possível excluir o registro pois existem %{record} dependentes | |
| date: | |
| abbr_day_names: |
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
| # Artigo ogirinal por JORGE VILAÇA | |
| # https://jorgevilaca.wordpress.com/2012/03/06/nacionalizando-rails-para-pt-br/ | |
| # config/application.rb | |
| config.i18n.default_locale = :'pt-BR' # Define o locale padrão como pt-BR | |
| config.i18n.available_locales = ['en', :'pt-BR'] # Adiciona pt-BR aos locais disponíveis | |
| config.time_zone = 'La Paz' | |
| config.active_record.default_timezone = :local |
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
| #!/bin/bash | |
| #--------------------------------------------------------------------------------------- | |
| # Script to install rbenv, Ruby, nodejs and yarn | |
| # Source: https://gist.github.com/alexishida/655fb139c759393ae5fe47dacd163f99 | |
| # | |
| # Author: Alex Ishida <alexishida@gmail.com> | |
| # Version: 1.7.3 - 21/10/2025 | |
| #--------------------------------------------------------------------------------------- | |
| # | |
| # HOW TO INSTALL A SCRIPT |