Skip to content

Instantly share code, notes, and snippets.

@webflo
webflo / ext-xdebug.ini
Last active October 6, 2016 20:59
MAMP xdebug config
; /Applications/MAMP/bin/php/php7.0.10/conf/ext-xdebug.ini
[xdebug]
zend_extension="/Applications/MAMP/bin/php/php7.0.10/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so"
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.max_nesting_level = 3000
<?php
use Drupal\Console\Application;
use Drupal\Console\Bootstrap\Drupal as DrupalConsole;
use Drupal\Console\ConsoleApplication;
set_time_limit(0);
$autoLoadFile = __DIR__ . '/../../../autoload.php';
if (file_exists($autoLoadFile)) {
{% set title = {
'#type': 'inline_template',
'#template': '{{ title }} <strong>foo</strong>',
'#context': {
'title': item.title
}
}
%}
{{ link(title, "foobar", null) }}
{
"name": "fweber/bla",
"authors": [
{
"name": "Florian Weber",
"email": "[email protected]"
}
],
"extra": {
"installer-types": ["library"],
{
"name": "fweber/bla",
"authors": [
{
"name": "Florian Weber",
"email": "[email protected]"
}
],
"require": {
"composer/installers": "^1.1",
<response>
<lst name="error">
<str name="msg">java.lang.StackOverflowError</str>
<str name="trace">java.lang.RuntimeException: java.lang.StackOverflowError
at org.apache.solr.servlet.HttpSolrCall.sendError(HttpSolrCall.java:604)
at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:473)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:225)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:183)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
"installer-paths": {
"web/modules/custom/{$name}", ["webflo/foo", "webflo/bar"],
"web/core": ["type:drupal-core"],
"web/modules/contrib/{$name}": ["type:drupal-module"],
"web/profiles/contrib/{$name}": ["type:drupal-profile"],
"web/themes/contrib/{$name}": ["type:drupal-theme"],
"web/drush/contrib/{$name}": ["type:drupal-drush"]
},
composer create-project drupal-composer/drupal-project:8.x-dev test1 --stability dev --no-interaction -vvv
cd test1
git init
git add .
git commit -m "init"
cd ..
git clone test1 test2
cd test2
composer install