I put a python program in cron and it starts behaving different. #!/usr/bin/env python3 import sys import os import stat from os import isatty #https://python-forum.io/thread-10606.html print(“stdin”) print(“isatty”, isatty(sys.stdin.fileno()) ) mode = os.fstat(0).st_mode print(“ISFIFO”, stat.S_ISFIFO(mode) ) print(“ISREG”, stat.S_ISREG(mode) ) print(“ISLNK”, stat.S_ISLNK(mode)…
(Continue Reading →)
I’m so old, that I came from age of XML. XML was going to revolutionize simplicity in data transfers. You might still work with it, if you work with XML web services provided by Google Cloud. But every API that…
(Continue Reading →)
The primary purpose of Docker volumes is to keep data outside of the container so it may be backed up or shared. Docker volumes rely on Docker’s file system and are the recommended means of preserving data for Docker containers…
(Continue Reading →)
This does not go over DNS for email, which is different. And I’m not even sure how that DNS data is looked up, for mail-relay. SMTP and IMAP use the regular A and CNAME records. The MX record, is used…
(Continue Reading →)
MJPEG stands for “Motion JPEG” (wikipedia). I have a sample PHP that will create one https://github.com/studio-1b/php-mjpeg Demo of Uploaded Image (shows last image): Demo of MJPEG (shows last 60 images, and will update live after a new upload): Above might…
(Continue Reading →)