See video: https://www.youtube.com/watch?v=BAQ78pBPjjc
In BIOS, under security, set "Enforce secure boot" to "disabled".
Keyboard layout for boot env:
localectl list-keymaps | grep uk
loadkeys uk
See video: https://www.youtube.com/watch?v=BAQ78pBPjjc
In BIOS, under security, set "Enforce secure boot" to "disabled".
Keyboard layout for boot env:
localectl list-keymaps | grep uk
loadkeys uk
| wget http://stedolan.github.io/jq/download/linux64/jq | |
| aws ec2 describe-instances --filters "Name=tag:Name,Values=$NAME" \ | |
| "Name=instance-state-name,Values=running" \ | |
| | jq -r \ | |
| ".Reservations[] | .Instances[] | .InstanceId" \ | |
| aws ec2 describe-volumes --filters \ | |
| "Name=status,Values=available" \ | |
| | jq -r ".Volumes[] | .VolumeId" \ |
| # Count total EBS based storage in AWS | |
| aws ec2 describe-volumes | jq "[.Volumes[].Size] | add" | |
| # Count total EBS storage with a tag filter | |
| aws ec2 describe-volumes --filters "Name=tag:Name,Values=CloudEndure Volume qjenc" | jq "[.Volumes[].Size] | add" | |
| # Describe instances concisely | |
| aws ec2 describe-instances | jq '[.Reservations | .[] | .Instances | .[] | {InstanceId: .InstanceId, State: .State, SubnetId: .SubnetId, VpcId: .VpcId, Name: (.Tags[]|select(.Key=="Name")|.Value)}]' | |
| # Wait until $instance_id is running and then immediately stop it again | |
| aws ec2 wait instance-running --instance-id $instance_id && aws ec2 stop-instances --instance-id $instance_id | |
| # Get 10th instance in the account |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| source ~/.zplug/init.zsh | |
| autoload colors && colors | |
| setopt prompt_subst | |
| zplug "zsh-users/zsh-history-substring-search" | |
| zplug "junegunn/fzf-bin", \ | |
| from:gh-r, \ | |
| as:command, \ |