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
| Left shift: | |
| x << n = x * 2^n | |
| Example: | |
| if x = 1, n = 3 | |
| 1 << 3 = 1 * (2^3) = 8 | |
| --- --- --- --- --- --- |
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
| # build docker image from current directory | |
| docker build -t <tag name> . | |
| # remove docker image | |
| docker rmi <tag name> | |
| # remove docker image that is exited | |
| docker rm $(docker ps -a -q -f status=exited) | |
| # run docker image |
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
| find . -type f -name '*.xml' -exec sed -i '' s/target=\"1.4\"/target=\"1.6\"/ {} + |