Acompanhar o material na sequência.
Entenda sempre o CONCEITO!
Object-oriented Programming in 7 minutes | Mosh
6 - (POO - INTERFACE, ABSTRAÇÃO E SINGLETON) - RUBY ON RAILS - TORNE-SE UM PROGRAMADOR
| #!/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.5.8 - 04/04/2023 | |
| #--------------------------------------------------------------------------------------- | |
| # | |
| # HOW TO INSTALL A SCRIPT |
| # Contando arquivos na pasta | |
| ls -l | grep -v ^l | wc -l | |
| # Listando os ips com mais acesso | |
| cat access.log | cut -d ' ' -f 2 | sort | uniq -c | sort -nr | head | |
| # Portas Abertas | |
| sudo lsof -i -P -n | grep LISTEN | |
| # Comprimir pastas |
Acompanhar o material na sequência.
Entenda sempre o CONCEITO!
Object-oriented Programming in 7 minutes | Mosh
6 - (POO - INTERFACE, ABSTRAÇÃO E SINGLETON) - RUBY ON RAILS - TORNE-SE UM PROGRAMADOR
| AllCops: | |
| TargetRubyVersion: 2.6 | |
| # Include common Ruby source files. | |
| Include: | |
| - '**/*.rb' | |
| - '**/*.gemspec' | |
| - '**/*.jbuilder' | |
| - '**/*.rake' | |
| - '**/Gemfile' | |
| - '**/Rakefile' |
| # Version 21.1.0.0.0 (Requires glibc 2.14) | |
| # Instalar a biblioteca | |
| sudo apt-get install libaio1 unzip | |
| # Criar a pasta | |
| sudo mkdir /opt/oracle | |
| # Mover para /opt/oracle | |
| instantclient-basic-linux.x64-21.1.0.0.0.zip | |
| instantclient-sdk-linux.x64-21.1.0.0.0.zip |