Skip to content

Instantly share code, notes, and snippets.

Attestation:
Message: https://www.aztecprotocol.com/ignition/participant/0x16f375e0f83bbdba8071b0c438505eb7fa741fa9/?timestamp=1578753486160
Hash: 0x8e9bccf6111302c61568fa5061ae6853bd5f1b51a0163298b963ad1007c1ac6e
Signature: 0xd00988d9bbc3236c0f32d0942d44d79d682f3da869dbd1aa4ffb6841d85b9b4914681e3b83d7716df2ffebb45a0dacbc47214679c1d766c1688c932ada9ae2721b
@knarz
knarz / Dockerfile
Last active April 22, 2022 20:18
cosmos testnet dockerfile
# vi: set ft=dockerfile :
# example usage
# docker build -t cosmos .
# docker run -d -v cosmos-data:/opt/cosmos --rm -ti --name cosmos-1 cosmos
# docker exec -it cosmos-1 sh
# /go/bin/basecli --home $BASECOIN_HOME keys add default
# /go/bin/gaiad --home $GAIAD_HOME show_validator
FROM golang:1-alpine
RUN apk add --no-cache git make
@knarz
knarz / fwpass.sh
Created January 9, 2017 18:00
set firmware password macOS
sudo firmwarepasswd -setpasswd -setmode command # https://twitter.com/XenoKovah/status/809418554428657666
@knarz
knarz / rm.sh
Created June 22, 2016 15:41
remove vendor submodules from golang repository
git ls-files --stage|grep "^16" # show all submodules
git rm --cached -r vendor && git add vendor
@knarz
knarz / tags.sh
Created June 17, 2016 09:49
google container registry display available image tags
curl -k -s -X GET https://gcr.io/v2/google_containers/kube-apiserver/tags/list | jq -r '.tags[]'