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
| alias ownhome='sudo chown -R ${USER}: ~' | |
| alias glon='git log --oneline -n' | |
| # Checkout branch from origin also track it in new branch for easier push/pull later | |
| alias gct='git fetch origin && git checkout --track' | |
| alias ftext='grep -rnwl --exclude-dir=node_modules' | |
| alias dir_size='du -h --max-depth=1 ./ | sort -h' | |
| alias untargz='tar -xvzf' | |
| alias targz='tar -zcvf' | |
| alias gdob='git branch | egrep -v "(^\*|master|develop)" | xargs git branch -D' | |
| # Replace <acc_num> and <email> in command. Pass mfa token as parameter |
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
| #pragma once | |
| #include <aws/core/Aws.h> | |
| #include <aws/core/client/ClientConfiguration.h> | |
| #include <aws/core/auth/AWSCredentialsProviderChain.h> | |
| #include <aws/core/utils/logging/LogLevel.h> | |
| #include <aws/s3/S3Client.h> | |
| #include <aws/s3/model/GetObjectRequest.h> | |
| #include <iostream> | |
| #include <fstream> |
OlderNewer