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 App\Exceptions; | |
| class Handler | |
| { | |
| /** | |
| * Convert a validation exception into a JSON response. | |
| * | |
| * @param \Illuminate\Http\Request $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
| # Custom docker image which exposes 8080 | |
| image: lafayette/hoth:5.5 | |
| services: | |
| - selenium/standalone-chrome:latest | |
| before_script: | |
| # Use 0.0.0.0 instead of localhost to allow external connections | |
| - php -S 0.0.0.0:8080 -t ../ &> /dev/null & |
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
| --- | |
| hosts: all | |
| tasks: | |
| - name: add github ssh key | |
| copy: > | |
| src=files/id_rsa.github | |
| dest=/root/.ssh/id_rsa.github | |
| owner=root | |
| group=root |