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
| # unistall orbstack first | |
| # if you install OrbStack, this app uses the same commands and replaces docker symlinks, | |
| # if you uninstall it, the docker commands doesn't work. You need to restore the symlinks. | |
| # remove old links orbstack | |
| sudo rm -f /usr/local/bin/docker /usr/local/bin/docker-compose /usr/local/bin/docker-buildx /usr/local/bin/docker-credential-desktop | |
| # create new links to docker desktop | |
| sudo ln -s /Applications/Docker.app/Contents/Resources/bin/docker /usr/local/bin/docker |
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
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.Random; | |
| import java.util.concurrent.atomic.LongAdder; | |
| public class Main | |
| { | |
| public static void main(String[] args) throws InterruptedException | |
| { | |
| if (args.length != 1) |