This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Vendor\Solr\EventListener; | |
use ApacheSolrForTypo3\Solr\Event\Indexing\BeforeDocumentsAreIndexedEvent; | |
final class ModifyDocumentSiteHash | |
{ | |
public function __invoke(BeforeDocumentsAreIndexedEvent $event): void | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
_defaults: | |
autowire: true | |
autoconfigure: true | |
public: false | |
TagContentObject\: | |
resource: '../Classes/*' | |
TagContentObject\ContentObject\TagContentObject: | |
tags: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$queryResult = new QueryResult(); | |
foreach ($queryResult as $result) { | |
$data[] = $result; | |
} | |
return json_encode($result); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Dafis\Application\Middleware; | |
use Psr\Http\Message\ResponseInterface; | |
use Psr\Http\Server\MiddlewareInterface; | |
use Psr\Http\Message\ServerRequestInterface; | |
use Psr\Http\Server\RequestHandlerInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: app | |
type: php:7.4 | |
dependencies: | |
php: | |
composer/composer: '^2' | |
runtime: | |
extensions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: app | |
type: php:7.4 | |
dependencies: | |
php: | |
composer/composer: '^2' | |
runtime: | |
extensions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: app | |
type: php:7.4 | |
dependencies: | |
php: | |
composer/composer: '^2' | |
runtime: | |
extensions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "application", | |
"version": "1.0.0", | |
"scripts": { | |
"build": "webpack --progress --color --mode production", | |
"start": "webpack-dev-server --mode development", | |
"watch": "webpack --progress --color --watch --mode development" | |
}, | |
"keywords": [], | |
"author": "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int nudgingLedPin = 13; // choose the pin for the LED | |
int pushButtonPin = 9; | |
int greenLedPin = 11; // choose the pin for the LED | |
int inputPin = 2; // choose the input pin (for PIR sensor) | |
int pirState = LOW; // we start, assuming no motion detected | |
int val = 0; // variable for reading the pin status | |
int push = 0; | |
void setup() { | |
pinMode(nudgingLedPin, OUTPUT); // declare LED as output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$node = new TYPO3\Surf\Domain\Model\Node('production'); | |
$node | |
->setHostname('SERVER_IP') | |
->setOption('username', 'SSH_USERNAME'); | |
$application = new TYPO3\Surf\Application\Neos\Flow('SikkerFaktura Distribution'); | |
$application->setVersion('7.0'); | |
$application | |
->setOption('keepReleases', 3) |
NewerOlder