This file contains hidden or 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
// --Config section-- | |
// SHELL file that will be created with tmutil addexclusion | |
const EXCLUSION_SHELL = "tmExceptionAdder.sh"; | |
// Paths in the user directory that will be directly added to exclusions | |
const userPathsToIgnore = ["Library", ".vscode", ".npm", ".nvm", ".gradle", ".expo", ".kube"]; | |
// Paths to scan under the user directory ( | |
const userPathsToScan = [""]; | |
// Folders to search for in the scanned paths | |
const toSearch = ["node_modules", "WEB-INF/lib"]; | |
// Absolute paths to add to exclusions |
This file contains hidden or 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
# Remove exited instances | |
alias drm="docker ps -a | grep 'Exit\|Created' | cut -d ' ' -f 1 | xargs docker rm" | |
# View Network details | |
alias dinw="docker network inspect bridge" | |
# List images | |
alias dlsi="docker images" | |
# List containers | |
alias dpsa="docker ps -a" | |
# Remove given image | |
dirm(){ docker image rm $1 --force; } |