Skip to content

Instantly share code, notes, and snippets.

View shrink0r's full-sized avatar

Thorsten Schmitt-Rink shrink0r

View GitHub Profile
<?php
/*
* Copyright (C) ShitcoinGraveyard - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* proprietary and confidential.
* Written by Thorsten Schmitt-Rink <schmittrink@gmail.com>, Oktober 2018
*/
declare(strict_types=1);
<?php
interface UrlGeneratorInterface
{
/**
* Generates a URL for the given route name and parameters. The options
* MAY be used to provide hints for the URL generation. This includes
* information about different parts of a URL, e.g. the scheme or port to
* use or whether absolute or relative URLs should be generated.
*
<?php
namespace Honeybee\Core\Domain\UnitOfWork;
use Honeybee\Core\Domain\Model\IAggregateRoot;
interface IUnitOfWork
{
public function register(IAggregateRoot $aggregate_root);

create index

curl -XPUT localhost:9200/localnews/ -d @localnews.index.json

create mapping

curl -XPUT localhost:9200/localnews/news_item/_mapping -d @localnews.mapping.json

Keybase proof

I hereby claim:

  • I am shrink0r on github.
  • I am shrink0r (https://keybase.io/shrink0r) on keybase.
  • I have a public key whose fingerprint is 9505 31E3 B1ED 966C F56A 3728 E798 8695 6C1E B389

To claim this, I am signing this object:

<?xml version="1.0" encoding="UTF-8"?>
<setting name="input_template">
<ae:parameter name="tabs">
<ae:parameter name="content">
<ae:parameter name="rows">
<ae:parameter>
<ae:parameter name="type">custom</ae:parameter>
<ae:parameter name="template">
%core.modules_dir%/Layer/impl/Edit/GoogleMapsDrawWidget.twig
function(doc)
{
if (doc.type === 'asset')
{
emit(doc.sourceDoc, doc._id);
}
}
<?xml version="1.0" encoding="UTF-8"?>
<ae:configurations
xmlns="http://agavi.org/agavi/config/parts/databases/1.0"
xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0">
<ae:configuration>
<databases default="Pulq.Fe">
<database name="Pulq.Fe" class="Honeybee\Agavi\Database\CouchDb\Database">
<ae:parameter name="url">http://localhost:5984/</ae:parameter>
<ae:parameter name="database">%core.project_prefix%_%core.clean_environment%_pulq_fe</ae:parameter>