# Delete all containers
docker rm $(docker ps -aq)
# Delete all images
docker rmi $(docker images -q)
# Delete all untagged images
docker rmi $(docker images -q --filter "dangling=true")
# System Prune
# WARNING! This will remove:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
from telegram import Update | |
from telegram.ext import filters, MessageHandler, ApplicationBuilder, CommandHandler, ContextTypes | |
import os | |
import shlex | |
from subprocess import Popen, PIPE | |
import time | |
import dbm | |
import uuid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem -Recurse -Depth 2 -Force | | |
Where-Object { $_.Mode -match "h" -and $_.FullName -like "*\.git" } | | |
ForEach-Object -Parallel { | |
cd $_.FullName | |
cd ../ | |
git pull | |
cd ../ | |
} | |
Thanks to https://michael-mckenna.com/update-multiple-git-repositories-on-windows-at-once-using-powershell/ |
I hereby claim:
- I am tonym128 on github.
- I am tonym (https://keybase.io/tonym) on keybase.
- I have a public key whose fingerprint is CDF6 6A0A 8AE8 99E1 AB6C 8298 E9F7 5380 3F69 B474
To claim this, I am signing this object: