openssl genrsa -out jwt.private.pem -aes256 4096
openssl rsa -pubout -in jwt.private.pem -out jwt.public.pem
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
# Delete all Docker containers | |
# Must be run first because images are attached to containers | |
docker rm -f $(docker ps -a -q) | |
# Delete all Docker images | |
docker rmi -f $(docker images -q) |
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
# Enable gzip | |
<IfModule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript | |
</IfModule> | |
# Force caching | |
<IfModule mod_expires.c> | |
ExpiresActive on | |
ExpiresDefault "access plus 1 month" |
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
sudo service ntp stop | |
sudo ntpdate -s time.nist.gov | |
sudo service ntp start |
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
class { 'xdebug': | |
service => 'apache', | |
} | |
puphpet::ini { 'xdebug': | |
value => [ | |
'xdebug.default_enable=1', | |
'xdebug.idekey="PHPSTORM"', | |
'xdebug.remote_enable=1', | |
'xdebug.profiler_output_dir=/var/www/xdebug-profiler', | |
'xdebug.profiler_enable_trigger=1', |