These set of scripts are for Magento 2. For Magento 1, see this Gist.
$ uname -r
This file contains 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 | |
/** | |
* StatusCodes provides named constants for | |
* HTTP protocol status codes. Written for the | |
* Recess Framework (http://www.recessframework.com/) | |
* | |
* @author Kris Jordan | |
* @license MIT | |
* @package recess.http | |
* |
This file contains 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 bash | |
# | |
# script to stop vagrant box for use with systemd | |
# place scripts into /usr/lib/systemd/scripts/ | |
# be sure to put the .service file in /lib/systemd/system/ | |
# | |
# -- Geoffrey McClinsey | |
VAGRANTUSR=vagrant # user you want vagrant box to run as | |
VAGRANTBOXPATH= # add path to Vagrantfile |
This file contains 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
# | |
# Name: nginx-tls.conf | |
# Auth: Gavin Lloyd <[email protected]> | |
# Desc: Nginx SSL/TLS configuration for "A+" Qualys SSL Labs rating | |
# | |
# Enables HTTP/2, PFS, HSTS and OCSP stapling. Configuration options not related | |
# to SSL/TLS are not included here. | |
# | |
# Additional tips: | |
# |