Skip to content

Instantly share code, notes, and snippets.

Avatar

Don Omondi The-Don-Himself

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am the-don-himself on github.
  • I am the_don_himself (https://keybase.io/the_don_himself) on keybase.
  • I have a public key ASA5FIK0ouZjqVWQY9R4KnNF17uB88G2wrIwmw6Zw5uZWQo

To claim this, I am signing this object:

@The-Don-Himself
The-Don-Himself / gitflow-breakdown.md
Created Oct 20, 2018 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.
View gitflow-breakdown.md

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

View RequestListener.php
<?php
// src/MyBundle/EventListener/RequestListener.php
namespace MyBundle\EventListener;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
class RequestListener
{
protected $twig;
View parameters.yml
orm:
auto_generate_proxy_classes: "%kernel.debug%"
entity_managers:
default:
auto_mapping: true
naming_strategy: doctrine.orm.naming_strategy.underscore
second_level_cache:
enabled: true
log_enabled: %kernel.debug%
region_cache_driver: apc
View parameters.yml
# Doctrine Configuration
doctrine:
dbal:
default_connection: default
connections:
default:
driver: "%database_driver%"
host: "%database_host%"
port: "%database_port%"
dbname: "%database_name%"