Create a setup.py file, PyCharm has a tool for this. Tools -> create setup.py a basic setup.py file looks like this:
from setuptools import setup
with open('README.md') as readme:| #!/usr/bin/env bash | |
| # Create Nextcloud host directory structure, .env and docker-compose.yml files | |
| # 2020 robertoschwald | |
| # Consists of the following containers: | |
| # nginx-proxy (frontend proxy) | |
| # nginx-proxy-letsencrypt (LetsEncrypt issuing) | |
| # nextcloud-app (Nextcloud application server) | |
| # nextcloud-cron (Nextcloud cron server. Executes cron.php every few minutes) |
| I use the first | |
| —– BEGIN LICENSE —– | |
| Michael Barnes | |
| Single User License | |
| EA7E-821385 | |
| 8A353C41 872A0D5C DF9B2950 AFF6F667 | |
| C458EA6D 8EA3C286 98D1D650 131A97AB | |
| AA919AEC EF20E143 B361B1E7 4C8B7F04 |
We will ne two of them, one for /boot and the other one will be a btrfs partition with subvolumes.
| # Function for your .zshrc file | |
| # Requirements: install the package manager Homebrew (http://brew.sh), then install exiftool (type brew install exiftool in Terminal.app). | |
| # Renames image and MOV files according to EXIF capture date, using YYYY-MM-DD-HH-MM-SS.ext format. | |
| # Files shot within the same second get copy number added (-1,-2, etc.). | |
| # Video files require a different, so we run exiftool 3 times: | |
| # 1. Exclude MOV files and rename the image files with <CreateDate>. | |
| # 2. Target MOV files and rename them with MediaCreateDate (for iPhone videos). | |
| # 3. Target MOV files and rename them with DateTimeOriginal (for Fuji camera videos). |