Skip to content

Instantly share code, notes, and snippets.

@ryanschneider
ryanschneider / flow.graphql
Last active February 15, 2025 01:51
EthQL transaction confirmation via subscription
# offline, sign a transaction to generate it's raw bytes 0xRAWTX
# connect to our new transaction websocket endpoint
# send the graphql mutation:
mutatation {
sendRawTransaction(data: "0xRAWTX") {
hash
}
}
# get back the hash or an error
{
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm