Skip to content

Instantly share code, notes, and snippets.

View tvorogme's full-sized avatar

Andrey Tvorozhkov tvorogme

View GitHub Profile
@jaymody
jaymody / docker_save_progress_bar.sh
Created June 2, 2020 23:43
docker save with a progress bar
# If you're impatient like me, a progress bar can be a comforting way to impulsively check the progress
# of your docker save command
#
# You'll need tqdm installed (https://github.com/tqdm/tqdm) for this to work.
docker save IMAGE_NAME | tqdm --bytes --total $(docker image inspect IMAGE_NAME --format='{{.Size}}') > OUTPUT_TAR_NAME
@miguelmota
miguelmota / forget_network.sh
Created February 3, 2020 01:23
Linux network manager nmcli forget network
nmcli connection delete 'ssid name goes here'