- https://typo3.azureedge.net/typo3/11.5.9/README.md
- https://typo3.azureedge.net/typo3/11.5.9/typo3_src-11.5.9.tar.gz
- https://typo3.azureedge.net/typo3/11.5.9/typo3_src-11.5.9.tar.gz.sig
- https://typo3.azureedge.net/typo3/11.5.9/typo3_src-11.5.9.zip
- https://typo3.azureedge.net/typo3/11.5.9/typo3_src-11.5.9.zip.sig
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
#!/bin/bash | |
# | |
# replace `GITHUBTOKEN` with custom token from https://github.com/settings/tokens, having `repo` admin access | |
# | |
for repo in $(curl -s -H "Authorization: token GITHUBTOKEN" 'https://api.github.com/orgs/TYPO3-CMS/repos?per_page=100' | jq -r '.[] | .url' | sort) | |
do | |
echo "Renaming ${repo}..." | |
response=$(curl -s -X POST \ |
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
#!/bin/sh | |
### | |
# TYPO3 Git Cherry-Picked Commit Splitter ("Cherry-Split") | |
# @author Oliver Hader <oliver@typo3.org> | |
# @license GPL v2 on any later version | |
# | |
# Usage | |
# - cherry-pick change to local Git working copy | |
# - execute this script `./cherry-split.sh` which processed the tip commit |
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 | |
// in my_extension/Classes/MyDefaultBuilder.php | |
namespace OliverHader\MyExtension; | |
class MyDefaultBuilder extends \TYPO3\CMS\Core\Html\DefaultSanitizerBuilder | |
{ | |
protected function createBehavior(): \TYPO3\HtmlSanitizer\Behavior | |
{ | |
// overrides TYPO3's default builder | |
// allows `iframe` tag with attrs `src` and `sandbox` |
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 | |
class Node | |
{ | |
/** | |
* @var list<Node> | |
*/ | |
public array $prev = []; | |
/** | |
* @var list<Node> |
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 | |
class Utility | |
{ | |
/** | |
* @param string $data | |
* @param array $allowedClasses | |
* @param bool $extend | |
* @return mixed | |
*/ | |
static public function deserialize(string $data, array $allowedClasses, $extend = false) |
- in directory
C:\Program Files\WindowsPowerShell
- create new directory
Refresh-Proxy
(same name as module) - put
Refresh-Proxy.psm1
module - verify functionality in PowerShell using command
Refresh-Proxy
- create scheduled task
- command
powershell
- command
- argument
Refresh-Proxy
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
# Additions to existing Apache's .htaccess rules | |
# Security: Enforce file types matching at end of filename only | |
# see https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/Security/GuidelinesAdministrators/Index.html#file-extension-handling | |
# see https://httpd.apache.org/docs/2.4/mod/mod_mime.html#multipleext | |
<IfModule mod_mime.c> | |
RemoveType .html .htm | |
<FilesMatch ".+\.html?$"> | |
AddType text/html .html | |
AddType text/html .htm |
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 | |
/** | |
* Migrates MySQL database table columns that have been stored in a mixed | |
* environment - e.g. database running on `latin1` but using `SET NAMES utf8` | |
* during the connection when writing data to the DMBS. | |
* | |
* Expected source character set: latin1 | |
* Defined target character set: utf8 | |
* Defined target collation: utf8_general_ci | |
* |
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 | |
class MyClass | |
{ | |
/** | |
* @var string | |
*/ | |
protected $dontTouch; | |
public function __destruct() | |
{ |
NewerOlder