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
#!/bin/bash | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) | |
# Some images might still exist | |
# check with: docker images | |
# delete with: docker rmi --force 0482a5fd046c |
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
class IAmDisposable : IDisposable | |
{ | |
private int _isDisposed; | |
private SomeDisposableThing _disposable1; | |
private SomeDisposableBar _disposable2; | |
private SomeDisposableBaz _disposable3; | |
// Only if you **need** it. You don't though, use SafeHandle. | |
//~IAmDisposable() | |
//{ |
NewerOlder