Symfony2 override mail settings

YAML
Example how to override mail settings in Symfony2.
1 year ago

Swiftmailer override outgoing emailaddress to one specific emailaddress

YAML
This setting (in config.yml) will override all outgoing mails with Swiftmailer (for example test@test.com will be mailed to my@email.io).
1 year ago

Symfony2 with FOSUserBundle set sessie lifetime

YAML
Use the following settings to change the Symfony2 and FOSUserBundle session timeout.
1 year ago

Symfony2 Doctrine2 add coding to the database connection

YAML
If you have problems with the database encoding (for example if you use an external party database that has a ISO-xxx encoding and sync this with your...
1 year ago

Symfony2 get parameter in Twig template

YAML
With this example you can get a parameter directly in a Twig template.
1 year ago

Symfony2 CouchDB config.yml

YAML
CouchDB settings to use in the Symfony2 config.yml
1 year ago

SaltStack: edit yaml file on minion host based on salt pillar data

YAML
Say the minion host has a default yaml configuration named myconf.yaml. What I want to do is to edit parts of those yaml entries using values from a p...
8 months ago

Symfony3: Passing variables to FrameworkBundle:Template:template

YAML
Just want to double check with the community, there are no chance to pass variables to a template rendered through FrameworkBundle:Template:template i...
8 months ago

Cassandra Invalid Yaml despite valid values

YAML
I'm writing a python script in Windows that takes in a cassandra.yaml file, writes a new one with different values, then copies that file to a linux s...
8 months ago

Integrating Symfony Routing and Twig using Symfony Twig Bridge

YAML
I use in my code Twig and Symfony routing which I would like to integrate with Twig using Symfony Twig Bridge. I have them both installed and what I...
8 months ago

YAML - intersection of arrays

YAML
In the main.yaml file of an Ansible playbook, I have the following play: - name: configure client include: client-configuration.yml when: "'a' in...
8 months ago

cant find the error in jekyll... "did not find expected key while parsing a block mapping"

YAML
I'm a relative newbee to jekyll and liquid. I had this running a while ago but messed it up somehow, without a backup. When finding something the erro...
8 months ago

Zend Framework 2 + Doctrine 2 Custom configuration with YML mapping not working

YAML
I am trying a different configuration to working with a new Project. What I want to do is to create a database by writing sql on hand. After it I wan...
8 months ago

Why is this basic ansible playbook throwing an error?

YAML
I am trying to understand how ansible playbooks are structured and I am failing at a basic example: --- - hosts: all tasks: # update dependenci...
8 months ago

Trying to convert YAML file to hashtable using yamldotnet

YAML
Right now I am trying to convert a YAML file into a hash table, utilizing the Deserializer that is provided in the YamlDotNet library. Getting the err...
8 months ago

Encode slash / in Ansible YAML file

YAML
When storing randomly generated passwords in an Ansible vault, I have no problems unless the password contains a / (slash, forward slash) According t...
8 months ago

Using Docker-Compose, how to execute multiple commands

YAML
I want to do something like this where I can run multiple commands in order. db: image: postgres web: build: . command: python manage.py migrat...
8 months ago

collectionFormat: multi not working with Perl Mojolicious Swagger2

YAML
I'm trying to make my API support multiple parameters of the same name: e.g. /myAPI/search?myfield=1&myfield=2&myfield=3 I'm using Perl and...
8 months ago

How to have newlines in travis.yml

YAML
I have a repository that uses Travis CI, and in the .travis.yml there I have this line: script: - vim -Nu <(cat <<-EOF set nocompatible | ...
8 months ago

How to access an application parameters from a service?

YAML
From my controllers, I access the application parameters (those in /app/config) with $this->container->getParameter('my_param') But I don't k...
8 months ago