Symfony2 override mail settings

YAML
Example how to override mail settings in Symfony2.
2 years 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).
2 years 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

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...
1 year ago

Confusion with inconsistent fixtures

YAML
something wrong with my fixtures is causing them to behave strangely. The "Score" model joins "Users" with "Assignments" with additional columns for s...
1 year ago

Define shared path parameter that can be re-used by multiple paths with Swagger

YAML
I've got a series of paths that use the same path parameter: paths: /catalog/items/{id}: ... /catalog/items/{id}/children: ... etc. I...
1 year ago

MoSql and YAML parsing: Invalid ordered hash entry

YAML
I'm using MoSql 0.4.3 with the following YAML file: MyDb: Names: :meta: :table: Names :extra_proprs: true :columns: - _id:...
1 year ago

Chaining a star sign in Ansible playbook

YAML
Lately, I've started to use Ansible, and i need some help with a playbook. I'm trying to get a device details as a parameter, and then chain a star si...
1 year 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...
1 year 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 | ...
1 year ago

How to escape the '#' comment character within Ansible lineinfile module?

YAML
How can I escape characters in Ansible's lineinfile module? Here's the line I want to insert on the server: EMAIL='hi@demo.com' # Server notificatio...
1 year ago

ConfigObj/ConfigParser vs. using YAML for Python settings file

YAML
Which is better for creating a settings file for Python programs, the built-in module (ConfigParser) or the independent project (ConfigObj), or using ...
1 year ago

Add Memcahed service to symfony2

YAML
Services: memcached: class: Memcached calls: -[addServers,[%memcached.servers%]] Parameters: memcached.servers: - { host: 1...
1 year ago

Trying to use yaml.load in python fails

YAML
I'm trying to understand the use of yaml.load() but even running this simple code won't work for me: import yaml document = """ a: 1 b: c: 3 ...
1 year ago

Ansible - grab a key from a dictionary (but not in a loop)

YAML
Another question regarding dictionaries in Ansible! For convenience, I have certain values for mysql databases held in dictionaries, which works fine...
1 year ago

F# Yaml type provider

YAML
I have tried using a Yaml collection of maps in my config file : Companies: - code: 11 name: A country: FR functionalCurrency: EUR - ...
1 year ago

How to separate yaml.dump key:value pair by a new line?

YAML
I am trying to make yaml dump each key:value pair on a separate line. Is there a native option to do that? I have tried line_break but couldn't get it...
1 year ago