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
| # FORGE CONFIG (DOT NOT REMOVE!) | |
| include forge-conf/mydomain.com/before/*; | |
| server { | |
| listen 443 ssl; | |
| listen [::]:443 ssl; | |
| server_name mydomain.com; | |
| root /home/forge/mydomain.com/; | |
| # FORGE SSL (DO NOT REMOVE!) |
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
| <?php | |
| class MyValetDriver extends ValetDriver | |
| { | |
| protected $cacheUri = '/images/'; | |
| protected $cachePath = '/image-cache'; | |
| /** | |
| * Determine if the driver serves the request. | |
| * |
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
| <?php | |
| return PhpCsFixer\Config::create() | |
| ->setRules(array( | |
| '@PSR2' => true, | |
| 'binary_operator_spaces' => true, | |
| 'blank_line_after_namespace' => true, | |
| 'blank_line_after_opening_tag' => true, | |
| 'blank_line_before_return' => true, | |
| 'braces' => true, |
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
| #!/usr/bin/env python3 | |
| """Convert video to SER format for Planet Stacker X""" | |
| import struct | |
| import subprocess | |
| import sys | |
| from datetime import datetime | |
| def create_ser_file(input_file, output_file): | |
| """ | |
| Create a proper SER file with correct headers. |