Moved to repo: https://github.com/Red5d/docker-autocompose
Also available in PyPi: https://pypi.python.org/pypi/docker-autocompose
pip install docker-autocompose
#! /usr/bin/env python | |
# Example: python ghfeed-updates.py vinta/awesome-python | |
import sys, re, requests | |
repo = sys.argv[1] | |
token="<personal GitHub token here>" | |
if token == "<personal GitHub token here>": | |
print "Add your personal GitHub token to the 'token=' line in the script." |
Moved to repo: https://github.com/Red5d/docker-autocompose
Also available in PyPi: https://pypi.python.org/pypi/docker-autocompose
pip install docker-autocompose
version: "3" | |
services: | |
homeassistant: | |
image: homeassistant/home-assistant | |
ports: | |
- "8123:8123" | |
- "3218:3218" | |
volumes: | |
- /opt/docker/home-assistant:/config | |
- /etc/localtime:/etc/localtime:ro |
# /usr/bin/env python | |
# | |
# Author: Red5d | |
# | |
# Description: Extract and run OCR on subtitles from a PGS-format .sup file. | |
# | |
# Example Usage: python sup2srt.py bd_subtitles.sup bd_subtitles.srt | |
# | |
# Dependencies: | |
# - pytesseract |