docker exec -t $(docker-compose ps -q pgsql) pg_dumpall -c -U oro_db_user > dump.psql
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
############# | |
# Colors # | |
############# | |
export PS1=" \[\e[32;1m\]\u\[\e[0m\]\[\e[32m\]@\h\[\e[36m\]\w \[\e[33m\]\$ \[\e[0m\]" | |
#export PATH=/usr/local/bin:$PATH | |
#export PATH=/Applications/MAMP/bin/php/php5.6.2/bin/:$PATH | |
#export ORO_PHP_PATH=/Applications/MAMP/bin/php/php5.6.2/bin/ | |
#export PATH=/usr/local/php5/bin:$PATH | |
#export PATH="$(brew --prefix homebrew/php/php56)/bin:$PATH" |
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 | |
use Symfony\Component\ClassLoader\ApcClassLoader; | |
use Symfony\Component\HttpFoundation\Request; | |
$loader = require_once __DIR__.'/../app/bootstrap.php.cache'; | |
// Use APC for autoloading to improve performance | |
// Change 'sf2' by the prefix you want in order to prevent key conflict with another application | |
/* |
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
layout: | |
actions: | |
- @add: | |
id: meta_title | |
parentId: head | |
blockType: meta | |
options: | |
name: 'title' | |
content: '=data["navigation_title"].getTitle()' |
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
------------------------------------------------------------------------------- | |
Language files blank comment code | |
------------------------------------------------------------------------------- | |
PHP 981 19853 60748 73262 | |
XML 58 217 18 1418 | |
Markdown 20 500 0 1400 | |
YAML 56 138 3 1012 | |
XSD 3 116 17 973 | |
JSON 13 0 0 516 | |
Twig 2 67 2 391 |
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
[xdebug] | |
;zend_extension="/usr/local/opt/php71-xdebug/xdebug.so" | |
xdebug.max_nesting_level = 1000 | |
xdebug.idekey="PHPSTORM" | |
xdebug.remote_enable=On | |
xdebug.remote_connect_back=ON | |
xdebug.remote_port=9001 | |
xdebug.remote_autostart=1 | |
#xdebug.remote_log=/Users/anyt/Sites/logs/xdebug.log |
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 Demo\Bundle\CalendarBundle\Migrations\Schema\v2_3; | |
use Doctrine\DBAL\Schema\Schema; | |
use Oro\Bundle\EntityExtendBundle\Tools\ExtendDbIdentifierNameGenerator; | |
use Oro\Bundle\MigrationBundle\Migration\Extension\NameGeneratorAwareInterface; | |
use Oro\Bundle\MigrationBundle\Migration\Migration; | |
use Oro\Bundle\MigrationBundle\Migration\QueryBag; |
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 AppBundle; | |
use Symfony\Component\HttpKernel\Bundle\Bundle; | |
class AppBundle extends Bundle | |
{ | |
} |
- Install PHP 7.3
brew install [email protected]
- Run commands from the above command output. In my environment there are two of them after this phrase:
If you need to have [email protected] first in your PATH run:
echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.zshrc