Skip to content

Instantly share code, notes, and snippets.

Manuel Selbach manuelselbach

Block or report user

Report or block manuelselbach

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
manuelselbach /
Last active Sep 14, 2019
Install script for my personal tool chain (Mac OS)
set -e
# insert a line to a file if the line does not already exist
# - first parameter is the file to insert the line
# - second parameter is the line to insert. It'll only be inserted if not already exists
# - third parameter is optional. This will override the search behavior.
# Instead of searching for the line of parameter 2 this term is used.
function insertLineIfNotExists {
manuelselbach /
Last active Dec 27, 2019
How to add a custom element for the formEditor of ext:form

EXT:form How to add a custom form element

If you like to add a custom form element, please follow these steps. For detailed information and documentation of ext:form please visit the official documentation:


First of all create a new extension, which will hold all the configuration, templates, etc.

manuelselbach /
Last active Jan 4, 2020
xdebug docker on macOS with PhpStorm

Use xdebug with docker on macOS and PhpStorm

To use xdebug with macOS and docker is quite, let´s call it tricky ;)

The following steps need to be proceed to get it working:

  1. use the config from the xdebug.ini wihtin your docker web container. Important: set remote_connect_back to off


You can’t perform that action at this time.