- Move to beginning of line:
M-m
- End of file:
M->
- Beginning of file:
M-<
- Close current window
C-x 0
- run last command:
M-p
- run previous command:
M-n
#! /bin/bash | |
# Got tired of manually starting up docker containers when rebooting my computer | |
# so I made this to spin them up when I open my shell. Tuck this into your *_profile file | |
containers=('$container_id') | |
for container in ${containers[@]}; do | |
container_active=$(docker inspect -f '{{.State.Running}}' $container) | |
if [ "$container_active" != "true" ]; then | |
docker start $container |
import io | |
import json | |
import botocore.session | |
from botocore.stub import Stubber | |
from botocore.response import StreamingBody | |
expected_message = { | |
'message': 'readme' | |
} |