https://unix.stackexchange.com/questions/103920/parallelize-a-bash-for-loop
Sample task
task(){
sleep 0.5; echo "$1";
}
Sequential runs
https://unix.stackexchange.com/questions/103920/parallelize-a-bash-for-loop
Sample task
task(){
sleep 0.5; echo "$1";
}
Sequential runs
| gitlab: | |
| image: 'gitlab/gitlab-ee:latest' | |
| restart: always | |
| hostname: 'gitlab.mycompany.tld' | |
| environment: | |
| GITLAB_OMNIBUS_CONFIG: | | |
| external_url 'https://gitlab.mycompany.tld' | |
| # https://docs.gitlab.com/omnibus/settings/ssl.html | |
| letsencrypt['enable'] = true | |
| letsencrypt['auto_renew'] = true |
I hereby claim:
To claim this, I am signing this object:
| changemac () { | |
| if [ -z "$1" ] | |
| then | |
| echo "please provide network interface" | |
| else | |
| sudo ifconfig $1 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//') && ifconfig $1 | |
| fi | |
| } |
| <redoc spec-url='https://confluence.instance/download/attachments/someid/some_swagger_doc.yaml?api=v2'></redoc> | |
| <!--The some_swagger_doc.yaml can be a site attachment, just copy over the download link once you uploaded the yaml to your page.--> | |
| <script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script> |
| changemac() { | |
| if [ -z "$1" ]; then echo "please provide network interface"; else sudo ifconfig $1 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//') &&ifconfig $1; fi | |
| } |
| alias dockernice='sudo renice 10 $(pgrep com.docker.hyperkit)' |