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
| # path: .platform/hooks/postdeploy/00_get_certificate.sh (remove this line) | |
| # set a env variable of DOMAIN_NAME and EMAIL_ADDRESS in the elastic bean stalk environment | |
| #!/usr/bin/env bash | |
| # Load environment variables | |
| #source /opt/elasticbeanstalk/support/envvars | |
| # Use environment variables | |
| DOMAIN_NAME="${DOMAIN_NAME}" | |
| EMAIL_ADDRESS="${EMAIL_ADDRESS}" |
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
| packages: | |
| yum: | |
| ImageMagick: [] | |
| ImageMagick-devel: [] | |
| commands: | |
| 01_install_imagickphp: | |
| cwd: /tmp | |
| test: "php -r \"exit(extension_loaded('imagick') ? 1 : 0);\"" | |
| command: | |
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
| <template> | |
| <!-- <div class="page-content"> --> | |
| <div class="object-detail m-b-40"> | |
| <div> | |
| <div class="card-body page-content-inspect-block-card-body"> | |
| <form | |
| enctype="multipart/form-data" | |
| @submit.prevent="submitForm" | |
| > | |
| herhee |
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
| .required:after { | |
| content: " *"; | |
| color: red; | |
| } |
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
| [ | |
| { | |
| "answer": "A ullam tempor saepe", | |
| "parent": { | |
| "id": 1, | |
| "section": { | |
| "key": "personal_details", | |
| "label": "Personal Details" | |
| }, | |
| "field_type": "text", |
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\Services\Tenancy; | |
| use App\Criterias\BaseCriteria; | |
| use App\Repositories\Tenancy\BaseRepository; | |
| use Illuminate\Contracts\Pagination\LengthAwarePaginator; | |
| use Illuminate\Support\Collection; | |
| use Prettus\Repository\Exceptions\RepositoryException; | |
| use Prettus\Repository\Presenter\FractalPresenter; |
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\Transformers\Tenancy\LeadsCustomField; | |
| use App\Models\Tenancy\LeadsCustomField; | |
| use Illuminate\Support\Str; | |
| use League\Fractal\TransformerAbstract; | |
| /** | |
| * Class LeadsCustomFieldListTransformer |
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
| FROM php:7.4-fpm | |
| # Copy composer.lock and composer.json | |
| #COPY composer.lock composer.json /var/www/ | |
| COPY composer.json /var/www/ | |
| # Set working directory | |
| WORKDIR /var/www | |
| # Install dependencies |
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
| docker compose up (image pull) => app container banaidey | |
| docker exec -it app bash | |
| composer install | |
| key:generate | |
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
| sudo iptables-save > ~/iptables-rules | |
| ## modify rules, remove drop and reject lines | |
| grep -v "DROP" iptables-rules > tmpfile && mv tmpfile iptables-rules-mod | |
| grep -v "REJECT" iptables-rules-mod > tmpfile && mv tmpfile iptables-rules-mod | |
| ## apply the modifications | |
| sudo iptables-restore < ~/iptables-rules-mod | |
| ## check | |
| sudo iptables -L | |
| ## save the changes | |
| sudo netfilter-persistent save |
NewerOlder