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
RABBITMQ_HOST=rabbitmq | |
RABBITMQ_DEFAULT_USER=developer | |
RABBITMQ_DEFAULT_PASS=developer | |
RABBITMQ_DEFAULT_VHOST=/ | |
RABBITMQ_PORT_WEB=15672 | |
RABBITMQ_PORT=5672 |
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 php | |
<?php | |
echo <<<HEAD | |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="VcsDirectoryMappings"> | |
HEAD; | |
$iter = new RecursiveIteratorIterator( | |
new RecursiveDirectoryIterator('.', RecursiveDirectoryIterator::SKIP_DOTS), | |
RecursiveIteratorIterator::SELF_FIRST, |
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 | |
declare(strict_types=1); | |
namespace common\values; | |
interface ObjectValue | |
{ | |
/** | |
* ObjectValue constructor. |
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
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8 |
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
youtube-dl -citk --max-quality FORMAT <playlist url> |
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
zend_extension=xdebug.so | |
xdebug.idekey = "PHPSTORM" | |
xdebug.remote_enable = 1 | |
xdebug.remote_port = 9001 | |
xdebug.remote_host=127.0.0.1 | |
xdebug.idekey="PHPSTORM" | |
xdebug.remote_handler="dbgp" | |
xdebug.remote_autostart=on | |
xdebug.remote_connect_back=on |
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
server { | |
listen 80; | |
root /vagrant; | |
index index.html index.htm index.php app.php app_dev.php; | |
# Make site accessible from ... | |
server_name 192.168.29.29.xip.io flarum.dev; | |
access_log /var/log/nginx/vagrant.com-access.log; |
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
server { | |
listen 80; | |
server_name phpci.local; | |
root /path/to/phpci; | |
index index.php index.html index.htm; | |
location { | |
try_files $uri @phpci; | |
} |
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
server { | |
listen 80 | |
server_name laravel.local; | |
root /var/www/laravel/public/; | |
index index.php index.html index.htm; | |
location / { | |
try_files $uri $uri/ /index.php$is_args$args; | |
} |
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
Проверка правильности конфигурационного файла и всех подключаемых файлов | |
nginx -t -c <path-to-nginx.conf> |
NewerOlder