chapter 11: Python Design Patterns II¶
The adapter pattern 739 The facade pattern 743 The flyweight pattern 745 The command pattern 749 The abstract factory pattern 754 The composite pattern 759 Exercises 763 Summary
11.1 The adapter pattern¶
11.1.1 Linux¶
Automatic Install Script
$ sudo wget -qO- https://get.docker.com/ | sh
remove hell-world
$ sudo docker rm `sudo docker ps -aq`
$ sudo docker rmi hello-world
.