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 ruby | |
# Using this script as your post-receive hook will update mirrors using git | |
# push --mirror. To make this work you have to ensure that access is taken | |
# care of (for example by setting up .ssh/config with an SSH key for the | |
# user that runs the hook). | |
# | |
# To use this script populate /home/git/git-mirrors.yml with YAML like so: | |
# --- | |
# user/repo1.git: |
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 | |
/** | |
* AcmeTestBundle/Controller/AdminController.php | |
*/ | |
namespace Acme\TestBundle\Controller; | |
use eZ\Bundle\EzPublishCoreBundle\Controller; | |
/** | |
* Here is your Symfony controller, defined as a service (see service definition below) |
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
Name: BC Member Of Role (extension) | |
A OWSimpleOperator based template operator extension for eZ Publish ( 4.x -> 4.6 ( Community Build 2011.10 ) ) | |
About this Gist | |
This Gist based solution graduated on 2011/11/12 to a full fledged, ready to use out of the box, eZ Publish based extension. | |
The extension based solution is ready to use with eZ Publish right out of the box with no additional configuration required. |
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 | |
class HelioINIZetaDBFactory | |
{ | |
/** | |
* Database implementations mapping | |
* Key is eZPublish ImplementationAlias, Value is ezcDbFactory alias | |
* @var array | |
*/ | |
private static $map = array( | |
'mysql' => 'mysql', |
NewerOlder