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
# Requires libvips 8.12 | |
import pyvips | |
image = pyvips.Image.new_from_file('input.tif') | |
image.tiffsave('ouput.ome.tif', tile=True, tile_width=512, tile_height=512, pyramid=True, subifd=True, compression='jp2k') |
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
version: '3.6' | |
services: | |
mautic: | |
image: mautic/mautic | |
links: | |
- db:mysql | |
restart: always | |
ports: |
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
version: '3.6' | |
services: | |
web: | |
image: nginx:latest | |
restart: always | |
volumes: | |
- "./www:/usr/share/nginx/html:ro" | |
ports: | |
- "127.0.0.1:6500:80" |
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
mysql -u root -p -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root_password'; FLUSH PRIVILEGES;" |