Connect the SD card to your computer and open the terminal.
- Find the disk id
df -h
docker logs nginx 2>&1 | grep "127." | |
# ref: http://stackoverflow.com/questions/34724980/finding-a-string-in-docker-logs-of-container |
import requests | |
import time | |
import json | |
token = '' | |
#Delete files older than this: | |
ts_to = int(time.time()) - 30 * 24 * 60 * 60 | |
def list_files(): |
Connect the SD card to your computer and open the terminal.
df -h
As configured in my dotfiles.
start new:
tmux
start new with session name: