This file contains hidden or 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 XXX\YYY\Xclass; | |
use GeorgRinger\News\Domain\Model\NewsDefault; | |
use GeorgRinger\News\Domain\Repository\NewsRepository; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
use TYPO3\CMS\Extbase\Object\ObjectManager; | |
/** | |
* Indexer |
This file contains hidden or 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 | |
/** | |
* Assigns flexform FAL files to fluid template | |
* | |
* @param string $flexformFieldname | |
* @param string $fluidVarName | |
*/ | |
public function assignFlexFormFal($flexformFieldname, $fluidVarName): void | |
{ |
This file contains hidden or 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\Extension\Domain\Validator\SpamShield; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
use TYPO3\CMS\Core\Database\ConnectionPool; | |
use In2code\Powermail\Domain\Model\Answer; | |
use In2code\Powermail\Domain\Validator\SpamShield\AbstractMethod; | |
/** |
This file contains hidden or 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
#!/usr/bin/env bash | |
set -eu | |
IMAGE=node:16 | |
function nodeRun() { | |
docker run -i --user $(id -u):$(id -g) --rm -v $(pwd):/app -w /app "$IMAGE" ${*} | |
} | |
function pullNewImage() { | |
IMAGE=$1 |
This file contains hidden or 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 | |
function Language2XML($data, $language, $translations = array()) { | |
$xml = new DOMDocument('1.0', 'UTF-8'); | |
$xliff = $xml->createElement('xliff'); | |
$xliff->setAttribute('version', '1.0'); | |
$file = $xml->createElement('file'); | |
$file->setAttribute('source-language', 'en'); | |
if (func_num_args() > 2) { | |
$file->setAttribute('target-language', $language); |
This file contains hidden or 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
From 002c27d1d2e9605af0c9a2dcca0052fbdc1d368b Mon Sep 17 00:00:00 2001 | |
From: Patrick Schriner <patrick.schriner@diemedialen.de> | |
Date: Wed, 13 May 2020 14:46:09 +0200 | |
Subject: [PATCH] [BUGFIX] Fix image size detection | |
--- | |
typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php b/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php |
This file contains hidden or 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\Example\Command; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Helper\Table; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Input\InputOption; |
This file contains hidden or 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
diff --git a/Classes/Hooks/UrlRewritingHook.php b/Classes/Hooks/UrlRewritingHook.php | |
index 2299ec0..cb1a688 100644 | |
--- a/Classes/Hooks/UrlRewritingHook.php | |
+++ b/Classes/Hooks/UrlRewritingHook.php | |
@@ -161,6 +161,13 @@ class UrlRewritingHook implements SingletonInterface | |
*/ | |
protected $rebuildCHash; | |
+ /** | |
+ * Flag to have realurl get cache entries greedy |
This file contains hidden or 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
#!/bin/bash | |
# | |
# Updating system | |
# | |
sudo apt-get update # Update resources | |
sudo apt dist-upgrade -f # Then, a dist upgrade | |
# |
This file contains hidden or 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
cache: | |
paths: | |
- /cache/composer | |
stages: | |
- composer | |
- deploy | |
build: | |
stage: composer |
NewerOlder