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
#!/bin/bash | |
# How to set it up: | |
# Create a project in Google Cloud admin console | |
# Install google cloud sdk (you need gcloud and gsutil commands) | |
# Install ffmpeg and jq | |
# Run gcloud init, login, answer the questions | |
# Under the project you created, create a globally unique bucket | |
# here: https://console.cloud.google.com/storage/browser | |
# set the name of the globally unique bucket name prefixed by gs:// | |
# here |
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
# Don't show errors which contain full path diclosure (FPD) | |
# Use that line only if PHP is installed as a module and not per CGI | |
# try using a php.ini in that case. | |
# Change mod_php5.c to mod_php7.c if you are running PHP7 | |
<IfModule mod_php5.c> | |
php_flag display_errors Off | |
php_value session.cookie_httponly 1 | |
php_value session.cookie_secure 1 | |
</IfModule> |