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
winget install Miniconda3 | |
New-item –type file $PROFILE | |
Add-Content -Path $PROFILE -Value "$HOME\miniconda3\shell\condabin\conda-hook.ps1" |
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 | |
conda install -y r-recommended r-irkernel | |
conda install -y notebook | |
R -e 'IRkernel::installspec()' |
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
import boto3 | |
# Configure a sessão AWS (substitua com suas próprias credenciais e região) | |
session = boto3.Session( | |
aws_access_key_id='[aws access key]', | |
aws_secret_access_key='[aws secret key]', | |
region_name='[aws region]' | |
) | |
# Crie um cliente Athena |
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
import boto3 | |
# Configure a sessão AWS (substitua com suas próprias credenciais e região) | |
session = boto3.Session( | |
aws_access_key_id='[aws access key]', | |
aws_secret_access_key='[aws secret key]', | |
region_name='[aws region]' | |
) | |
# Crie um cliente Glue |
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 | |
while read line; do | |
echo "${line}" | tee -a "$1.$(date '+%Y%m%d').log" | |
done < /dev/stdin |