pm = dynamic
pm.max_children = 100
pm.start_servers = 25
pm.min_spare_servers = 5
pm.max_spare_servers = 50
pm.max_requests = 500
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 | |
use PhpCsFixer\Finder; | |
use PhpCsFixer\Config; | |
$finder = Finder::create() | |
->in([ | |
__DIR__ . '/', | |
]) | |
->ignoreDotFiles(true) |
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
<? | |
// | |
// AUTO KEYWORD-BASED FOLLOWER CURATION BOT (by @levelsio) | |
// | |
// File: twitterFollowerCuratorBot.php | |
// | |
// Created: May 2021 | |
// License: MIT | |
// |
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
# Kudos: https://github.com/bitnami/bitnami-docker-matomo | |
version: "2" | |
services: | |
mariadb: | |
image: "docker.io/bitnami/mariadb:10.3-debian-10" | |
environment: | |
- ALLOW_EMPTY_PASSWORD=yes | |
- MARIADB_USER=bn_matomo | |
- MARIADB_DATABASE=bitnami_matomo | |
# Flag necessary for the database max allowed packet check |
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
# Add ppa | |
sudo apt-get update | |
sudo apt -y install software-properties-common | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
# Install PHP + extensions | |
apt-get install php-igbinary |
https://github.com/src-d/beanstool
sudo apt-get install socat
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 python | |
# coding: utf-8 | |
import sys | |
import xml.etree.ElementTree as ET | |
report_file_path = 'project/tests/_output/report.xml' | |
if (len(sys.argv) > 1): |
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
export XDEBUG_MODE=develop,debug | |
export PHP_IDE_CONFIG="serverName=php-docker.local" |
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 | |
namespace Tests\Behat; | |
use Behat\Behat\Context\ClosuredContextInterface; | |
use Behat\Behat\Context\TranslatedContextInterface; | |
use Behat\Exception\PendingException; | |
use Behat\Gherkin\Node\PyStringNode; | |
use Behat\Gherkin\Node\TableNode; | |
use Behat\MinkExtension\Context\RawMinkContext; |
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 | |
namespace Tests; | |
use GuzzleHttp\Client as Client; | |
trait InteractsWithMail | |
{ | |
/** | |
* @var \GuzzleHttp\Client |
NewerOlder