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
vi /var/www/ezpublish4/config.php | |
# content of the file: | |
<?php | |
include( 'extension/ezperformancelogger/classes/ezxhproflogger.php' ); | |
eZXHProfLogger::start(); |
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 | |
class ForwardAdapter | |
{ | |
private $object; | |
private $properties; | |
private $staticproperties; |
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 | |
/** | |
* A simple process manager, forking jobs to run in parallel. Works on linux and windows. | |
* | |
* @copyright G. Giunta | |
* @license GPL v2 | |
* | |
* @todo add more methods? f.e. one to kill any the executing processes | |
*/ |
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
namespace Kaliop\AProject\PageObjects\Pages; | |
use SensioLabs\Behat\PageObjectExtension\PageObject\Page; | |
use Behat\Mink\Session; | |
use SensioLabs\Behat\PageObjectExtension\PageObject\Factory; | |
abstract class BasePage extends Page | |
{ | |
protected $aService; |
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 Kaliop\Behat\KToolsExtension\Listener; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
use Behat\Behat\EventDispatcher\Event\ScenarioTested; | |
use Behat\Behat\EventDispatcher\Event\OutlineTested; | |
use Behat\Behat\EventDispatcher\Event\ScenarioLikeTested; | |
use Kaliop\Behat\KToolsExtension\Context\SharedContext; |
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\controllers; | |
use yii\web\Response; | |
use xmlrpc_server; | |
use xmlrpcval; | |
use xmlrpcresp; | |
class XmlrpcController extends \yii\web\Controller |
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 | |
/** | |
* A Mink driver for Selenium2. | |
* | |
* Compared to the default Selenium2Driver, it allows us to get a different Webdriver | |
*/ | |
namespace XXX\Behat\KToolsExtension\Driver; | |
use Behat\Mink\Element\NodeElement; |
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
$dataManager = $this->getContainer()->get('liip_imagine.data.manager'); | |
$filterManager = $this->getContainer()->get('liip_imagine.filter.manager'); | |
$assetManager = $this->getContainer()->get('eris_fo.assets_manager'); | |
$variationManager = $this->getContainer()->get('eris_fo.assets.variation_generator'); | |
// works using the custom data loader as set in imaginebundle config | |
$fullSizeImagePath = '/images/content/advertising.png'; | |
$filters = $this->getContainer()->getParameter('assets_image_variations'); | |
$targetAssetsBucket = 'images'; |
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
class WebDriver extends AbstractWebDriver | |
{ | |
protected $proxy = ''; | |
public function setProxy($proxy) | |
{ | |
$this->proxy = $proxy; | |
} | |
/** |
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
#!/usr/bin/env bash | |
# Command to dump the dev db + storage | |
# We try to clean up both the db and the storage as much as possible when dumping | |
# | |
# @todo allow user to specify target files | |
function help { | |
echo 'Usage: dumpdb.sh [-f] [env]' | |
echo 'Options:' |