Skip to content

Instantly share code, notes, and snippets.

View brookinsconsulting's full-sized avatar
😀
Creating NeXT Generation eZ Platform Software

Brookins Consulting brookinsconsulting

😀
Creating NeXT Generation eZ Platform Software
View GitHub Profile
@ilukac
ilukac / ezplatform_with_vagrant_ansible
Last active January 7, 2018 23:40
Booting eZ Platform with Netgen Vagrant Ansible Box
0. Requirements on local machine:
- Vagrant
- Ansible
- Virtualbox
- Git
1. Booting Vagrant box
$ git clone https://github.com/netgen/vagrant-ansible-ezpublish.git
$ cd vagrant-ansible-ezpublish
@lolautruche
lolautruche / AdminController.php
Created June 2, 2013 19:58
eZ Publish 5 - Legacy module with a Symfony controller
<?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)
@stypr
stypr / HOWTO.md
Last active August 17, 2019 19:55
MacPorts Yosemite PHP+nginx Installation

Note that the installiation of nginx+php5 on MACOSX IS NOT RECOMMENDED unless you know what you're trying to do.

  • both services are going to be running as root
  • there is no configuration file set for php-cgi53

Tested on OSX 10.10.2 (Yosemite)

Refer to https://gist.github.com/renjunkui/1267057 for lower versions of MACOSX.

# install MacPorts at http://www.macports.org/install.php
@eeree
eeree / resetAdminPasswordEzPublish
Created January 21, 2015 14:35
eZ Publish - how to reset admin password
SQL:
==
UPDATE `ezuser_setting` SET `is_enabled` = '1' WHERE `ezuser_setting`.`user_id` =14;
UPDATE `ezuser` SET `password_hash` = 'bab77ccf06f0b1f982e11c60f344c3c2' WHERE `ezuser`.`contentobject_id` =14;
SITE.INI:
==
[UserSettings]
HashType=md5_user