system I used
$ uname -a
Linux brick5 4.15.0-99-generic #100~16.04.1-Ubuntu SMP Wed Apr 22 23:56:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linuxinstall docker & buildx https://www.docker.com/blog/getting-started-with-docker-for-arm-on-linux/
| #!/usr/bin/env bash | |
| # https://stackoverflow.com/a/7292992 | |
| # https://git-scm.com/docs/git-sh-setup | |
| . "$(git --exec-path)/git-sh-setup" | |
| if git diff-index -p -M --cached HEAD -- \ | |
| | grep ^+ \ |
| """Example issuing TLS certificate using TLS-ALPN-01 challenge. | |
| see also: https://github.com/certbot/certbot/blob/master/acme/examples/http01_example.py | |
| """ | |
| import binascii | |
| import codecs | |
| import contextlib | |
| import os | |
| import threading |
| // A cli tool to generate Fibonacci numbers. | |
| package main | |
| import "fmt" | |
| func main() { | |
| var a, b uint64 = 0, 1 | |
| for a <= b { | |
| fmt.Println(a) |
system I used
$ uname -a
Linux brick5 4.15.0-99-generic #100~16.04.1-Ubuntu SMP Wed Apr 22 23:56:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linuxinstall docker & buildx https://www.docker.com/blog/getting-started-with-docker-for-arm-on-linux/