(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| ; Global settings | |
| [redshift] | |
| temp-day=6500K | |
| temp-night=5000 | |
| transition=1 | |
| ;gamma=0.8:0.7:0.8 | |
| gamma=1.000:1.000:1.000 | |
| location-provider=geoclue | |
| ;location-provider=manual | |
| adjustment-method=vidmode |
| git branch | grep -v "master\|develop" | xargs git branch -D |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| comm -23 <(aws ec2 describe-security-groups --query 'SecurityGroups[*].GroupId' --output text | tr '\t' '\n'| sort) \ | |
| <(aws ec2 describe-instances --query 'Reservations[*].Instances[*].SecurityGroups[*].GroupId' --output text | tr '\t' '\n' | sort | uniq) \ | |
| | tee -a unused-security-groups-in-ec2.txt | |
| for x in `cat unused-security-groups-in-ec2.txt`; do echo 'deleting sg: $x' ; aws ec2 delete-security-group --group-id $x; done |