Skip to content

Instantly share code, notes, and snippets.

# Local development services.
#
# To activate this feature, follow the instructions at the top of the
# 'example.settings.local.php' file, which sits next to this file.
parameters:
http.response.debug_cacheability_headers: true
twig.config:
debug: true
auto_reload: true
cache: false
@giovanigenerali
giovanigenerali / postfix-gmail-macos.md
Last active December 20, 2021 20:07
Postfix Gmail relay on macOS Sierra & macOSHigh Sierra

Postfix Gmail relay on macOS Sierra & macOSHigh Sierra

1 - Create a file to store our credentials:

sudo vim /etc/postfix/sasl_passwd

2 - Add something like this:

@c50
c50 / gist:cc5f0af5d6dabab73d64c0fe1cc4cf5d
Last active July 30, 2018 11:33
Stage file proxy settings with drush (Futurium example)
./bin/drush en stage_file_proxy -y -r ./platform && ./bin/drush vset stage_file_proxy_origin "http://ec.europa.eu/futurium" -r ./platform && ./bin/drush vset stage_file_proxy_origin_dir "sites/futurium/files" -r ./platfor
@cjonesy
cjonesy / macbook_pro_ubuntu_install.md
Last active November 27, 2024 10:18
Installing Ubuntu on MacBook Pro

Macbook Pro - Ubuntu Install

Requirements

2 USB drives > 2GB

Pre-Install

Create bootable USB drive

  1. Grab the latest Ubuntu Desktop iso image