Skip to content

Instantly share code, notes, and snippets.

View docker-muti-arch.md
  • Enable experimental docker commands:
root@gpod:~ cat /etc/docker/daemon.json
{
	"experimental": true
}
  • Run qemu binaries installation image:
docker run --privileged --rm tonistiigi/binfmt --install all
View gist:c25788b9d853022a7289c54ba14b8fff
BEGIN MESSAGE.
sTINfADpRk6yn3J 337hikqHIBBCO1T pHjFFzk0Pu6PPOC jQSJAny0peXC9nu
FJqsdaACQTq292S LReoVs296GvTCKq 6Xr2MZHgg7ChZP9 vOSEKG9PV4VlJFQ
cZCWeRNC4SKKzcZ Ui1Sd93RrkUJySU fn1BGqzNwcFdfZX wd2dy570nWc50xX
s3kBkrOrT1geYm0 6FAQrU4icn63s2G q8T.
END MESSAGE.
View add_travis_ufw.sh
#!/bin/bash
PORT=5001
PROTO=tcp
TRAVIS_IPS=$(curl -s https://dnsjson.com/nat.travisci.net/A.json | jq -r '.results.records|sort|join(" ")')
for ip in ${TRAVIS_IPS[@]}; do
echo "Adding... $ip"
ufw allow from $ip to any proto $PROTO port $PORT
done
@vdo
vdo / keybase.md
Created September 26, 2018 11:38
View keybase.md

Keybase proof

I hereby claim:

  • I am vdo on github.
  • I am vdo (https://keybase.io/vdo) on keybase.
  • I have a public key ASCwQeyybl_yXxZeFOxzkz-FeTC1FN0py4yToRnEgIl9SAo

To claim this, I am signing this object: