This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/awk -f | |
# This program is a copy of guff, a plot device. https://github.com/silentbicycle/guff | |
# My copy here is written in awk instead of C, has no compelling benefit. | |
# Public domain. @thingskatedid | |
# Run as awk -v x=xyz ... or env variables for stuff? | |
# Assumptions: the data is evenly spaced along the x-axis | |
# TODO: moving average |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HINTS | |
## Add self to the docker group (run docker without sudo) | |
sudo gpasswd -a myusername docker | |
## Get container ID | |
alias dl='docker ps -l -q' | |
## Get container IP | |
docker inspect --format='{{ .NetworkSettings.IPAddress }}' `dl` | |
docker inspect `dl` | grep IPAddress | cut -d '"' -f 4 |