A list of all the region names and locations for Azure
You can recreate the list anytime using this command:
az account list-locations -o table
SELECT table_schema AS "Data Base Name", sum( data_length + index_length ) / 1024 / 1024 AS "Data Base Size in MB" FROM information_schema.TABLES GROUP BY table_schema; |
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/gjgd/5a08da85a98bf147294f331461e44d1f/raw/a63bf0f4169a8ab651adfa0a56e676e6bc465876/setup-github-action-runner.sh)" | |
# Update instance | |
sudo apt update -y | |
sudo apt upgrade -y | |
# Install latest version of git | |
sudo add-apt-repository ppa:git-core/ppa -y | |
sudo apt-get update | |
sudo apt-get install git -y |
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/gjgd/5a08da85a98bf147294f331461e44d1f/raw/a63bf0f4169a8ab651adfa0a56e676e6bc465876/setup-github-action-runner.sh)" | |
# Update instance | |
sudo apt update -y | |
sudo apt upgrade -y | |
# Install latest version of git | |
sudo add-apt-repository ppa:git-core/ppa -y | |
sudo apt-get update | |
sudo apt-get install git -y |
ruby '2.7.1' | |
gem 'rails', github: 'rails/rails' | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# Action Text | |
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
gem 'okra', github: 'basecamp/okra' | |
# Drivers |
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
# Don't add passphrase | |
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
cat jwtRS256.key | |
cat jwtRS256.key.pub |
export JAVA_HOME="$(/usr/libexec/java_home -v 1.6)" | |
or | |
export JAVA_HOME="$(/usr/libexec/java_home -v 1.7)" | |
or | |
export JAVA_HOME="$(/usr/libexec/java_home -v 1.8)" |
test |
def filter | |
Budget::Investment | |
.where(mariquito, "valor del status") | |
end | |
def mariquito | |
<<-SQL | |
(SELECT status_id FROM budget_investment_milestones | |
WHERE investment_id = budget_investments.id ORDER BY created_at ASC LIMIT !) = ? | |
SQL |
techteam@CISRV01:~/docker/sbt/warrantxApi$ cat docker-compose.yml | |
version: '3' | |
services: | |
sbt: | |
build: . | |
stdin_open: true | |
tty: true | |
command: bash -c 'sbt start' | |
volumes: | |
- .:/root |