I hereby claim:
- I am klaudioz on github.
- I am klaudioz (https://keybase.io/klaudioz) on keybase.
- I have a public key ASDWhdnEFWhKQ5Um7OaVM71lpRX9ruBmnTd-YsP6mXCf5wo
To claim this, I am signing this object:
| # Note – this is not a bash script (some of the steps require reboot) | |
| # I named it .sh just so Github does correct syntax highlighting. | |
| # | |
| # This is also available as an AMI in us-east-1 (virginia): ami-cf5028a5 | |
| # | |
| # The CUDA part is mostly based on this excellent blog post: | |
| # http://tleyden.github.io/blog/2014/10/25/cuda-6-dot-5-on-aws-gpu-instance-running-ubuntu-14-dot-04/ | |
| # Install various packages | |
| sudo apt-get update |
| #!/bin/bash | |
| ########## | |
| # contents | |
| ########## | |
| # contents | |
| # notes | |
| # script setup | |
| # git config files |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # Get list of S3 buckets from AWS and cleaning the output | |
| s3_bucket_list=$(aws s3api list-buckets --query "Buckets[].Name" | sed -e 's/[][]//g' -e 's/”//g' -e 's/,//g' -e '/^$/d' -e 's/^[ \t]*//;s/[ \t]*$//' -e 's/"//g') | |
| # Loop through the list of S3 buckets and tag them | |
| for bucket in $(echo "$s3_bucket_list") | |
| do | |
| echo "Tagging: ${bucket}" | |
| aws s3api put-bucket-tagging --bucket "$bucket" --tagging "TagSet=[{Key=aws-cost-explorer,Value=$bucket}]" |
| for region in `aws ec2 describe-regions --output text | cut -f3` | |
| do | |
| echo -e "\nListing Instances in region:'$region'..." | |
| aws ec2 describe-instances --query "Reservations[*].Instances[*].{IP:PublicIpAddress,ID:InstanceId,Type:InstanceType,State:State.Name,Name:Tags[0].Value}" --output=table --region $region | |
| done |
| 2021-01-25 4h 23m |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| cd ~/chia-blockchain | |
| . ./activate | |
| plotman suspend all | |
| chia stop -d all | |
| deactivate | |
| git fetch | |
| git checkout latest | |
| git reset --hard FETCH\_HEAD |
| Check API server status | |
| get | |
| https://pro-api.coingecko.com/api/v3/ping | |
| This endpoint allows you to check the API server status. | |
| 📘 | |
| Notes | |
| You can also go to status.coingecko.com to check the API server status and further maintenance notices |
| import pandas as pd | |
| import numpy as np | |
| from sqlalchemy import create_engine | |
| from gym import spaces | |
| from stable_baselines3 import PPO | |
| from finrl.apps import apps | |
| from finrl.meta.env_stock_trading.env_stocktrading import StockTradingEnv | |
| from finrl.meta.preprocessor.preprocessors import FeatureEngineer | |
| # Connect to PostgreSQL database |