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
# Build dependencies for OpenResty. | |
sudo apt-get install build-essential libpcre3-dev libssl-dev libgeoip-dev | |
# Install standard Nginx first so that you get the relevant service scripts installed too | |
sudo apt-get install nginx | |
# If you want to access Postgres via Nginx | |
sudo apt-get install libpq-dev |
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 Doctrine\ORM\EntityManager; | |
use GuzzleHttp\Client; | |
use GuzzleHttp\Exception\RequestException; | |
use GuzzleHttp\Handler\MockHandler; | |
use GuzzleHttp\HandlerStack; | |
use GuzzleHttp\Psr7\Response; | |
use PostbackBundle\Entity\Notification; |
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 | |
set $connect_rabbitMqStompHost "127.0.0.1"; | |
set $connect_rabbitMqStompPort "61613"; | |
set $connect_rabbitMqStompUsername "test"; | |
set $connect_rabbitMqStompPassword "test"; | |
set $connect_rabbitMqStompVhost "/"; |
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
/** | |
* @param Request $request | |
* @param string $groupBy | |
* @param $groupByList | |
* @param Form $filterForm | |
* @return Response | |
*/ | |
private function processStatistics(Request $request, $groupBy, $groupByList, Form $filterForm) | |
{ | |
$filterForm->handleRequest($request); |