Things I've learned, collected in fabge/til.
aws
- CloudTrail
- Assume a role across AWS accounts
- Step Function Monitoring
- Access AWS resources from Azure without credentials
- DynamoDB table scan
- AWS SigV4 using
curl
- CloudFormation default values
- Pagination using AWS boto3
- Reference AWS account
- DynamoDB Global Secondary Indexes
- Useful
aws
snippets - Display EC2 instance costs per month
- Search CloudWatch logs
- Lambda logging
- Have pretty URLs when using S3 and CloudFront
azure
azure-devops
bash
- Escaping strings in Bash using
!:q
- Tmux
- Bash snippets
- Replace variables
- Run bash script in specific directory
set -euo pipefail
- Do some action when changing directory (cd)
- Vim
browser
cloudflare
css
django
git
- Reference commits using the commit message
- fatal: Need to specify how to reconcile divergent branches
- Squash/rebase commits
- Write proper commit messages
- Using Multiple SSH Keys
github
htmx
img
javascript
- Run async function on top level
- Write Javascript/Node in a notebook
- Print current year
- Pythonic Javascript
- Subsetting/slicing lists
json
llm
macos
misc
pytest
python
- Datetime formats
- nbdev
- Virtual environment setup
- pip install while developing
- Parallel HTTP requests in Python
- Install different Python versions
- Jupyter notebook commands
- Walrus Operator
- Align string output with f-strings
- Pandas
- pdb interact command
- Running async functions
- defaultdict