This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| #!/bin/bash | |
| # vars | |
| [ -z "$NUM_WORKERS" ] && NUM_WORKERS=3 | |
| # init swarm (need for service command); if not created | |
| docker node ls 2> /dev/null | grep "Leader" | |
| if [ $? -ne 0 ]; then | |
| docker swarm init > /dev/null 2>&1 | |
| fi |
Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340
Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d
Solution for Sonoma: https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac