Skip to content

Instantly share code, notes, and snippets.

@graemian
graemian / spec.json
Last active February 8, 2021 12:44
2 mousemove selections
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"layer": [
{
"layer": [
{
"mark": {"type": "area", "color": "#1f77b4"},
"data": {
"values": [
{
#!/bin/bash
set -o errexit
echo "Removing exited docker containers..."
docker ps -a -f status=exited -q | grep -vE "$(docker ps -a --filter='name=-data' -q | tr \"\n\" \|)" | xargs -r docker rm -v
echo "Removing untagged images..."
docker images --no-trunc | grep "<none>" | awk '{print $3}' | xargs -r docker rmi