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
| openssl rsa -in [my.key] -out [new.key] | |
| Enter the passphrase | |
| The output file new.key should now be unencrypted |
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
| RewriteCond %{REQUEST_URI} !^/wp-content/plugins/file/to/exclude\.php | |
| RewriteCond %{REQUEST_URI} !^/wp-content/plugins/directory/to/exclude/ | |
| RewriteRule wp-content/plugins/(.*\.php)$ - [R=404,L] | |
| RewriteCond %{REQUEST_URI} !^/wp-content/themes/file/to/exclude\.php | |
| RewriteCond %{REQUEST_URI} !^/wp-content/themes/directory/to/exclude/ | |
| RewriteRule wp-content/themes/(.*\.php)$ - [R=404,L] |
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
| ls -lahot --full-time |
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 | |
| namespace AppBundle\Form\EventListener; | |
| use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
| use Doctrine\ORM\EntityManager; | |
| use Symfony\Component\Form\FormEvents; | |
| use Symfony\Component\Form\FormEvent; | |
| class AddEntityChoiceSubscriber implements EventSubscriberInterface |
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 bash | |
| set -euo pipefail | |
| export DEBIAN_FRONTEND=noninteractive | |
| echo "[setup] System deps" | |
| apt-get update -y | |
| apt-get install -y --no-install-recommends python3-pip python3-venv git ffmpeg jq curl | |
| python3 -m pip install --upgrade pip | |
| cd /workspace |
OlderNewer