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 | |
declare(strict_types=1); | |
/* | |
* This file is part of the package jweiland/yellowpages2. | |
* | |
* For the full copyright and license information, please read the | |
* LICENSE file that was distributed with this source code. | |
*/ |
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
# Add Froemmi specified configuration | |
# For complete documentation see https://ckeditor.com/docs/ckeditor5/latest/api/module_core_editor_editorconfig-EditorConfig.html | |
editor: | |
#externalPlugins: | |
# typo3link: { route: 'rteckeditor_wizard_browse_links' } | |
config: | |
# the CSS file to be used inside the editor | |
contentsCss: | |
- "EXT:site_package/Resources/Public/Css/RTE.css" |
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
➜ typo3_git curl -vvv -X 'POST' 'https://typo3git.ddev.site' | |
* Trying ::1:443... | |
* connect to ::1 port 443 failed: Connection refused | |
* Trying 127.0.0.1:443... | |
* Connected to typo3git.ddev.site (127.0.0.1) port 443 (#0) | |
* ALPN: offers h2 | |
* ALPN: offers http/1.1 | |
* CAfile: /etc/ssl/cert.pem | |
* CApath: none | |
* (304) (OUT), TLS handshake, Client hello (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
SELECT table_name AS "Table", ROUND((data_length / 1024 / 1024), 2) AS "Data size (MB)", ROUND((index_length / 1024 / 1024), 2) AS "Index size (MB)" | |
FROM information_schema.TABLES | |
WHERE table_schema = "[database_name]" | |
ORDER BY data_length DESC |
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
// Example for TYPO3 extension maps2 | |
$maps2OpenStreetMaps[0].map.eachLayer(function(layer) { | |
if (layer instanceof L.Polygon){ | |
layer.off("click"); | |
} | |
}); |
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 | |
// For port 24 host without scheme is just fine | |
// Add scheme, if using secure connection. Port 465 or 587 | |
$host = 'ssl://smtp.strato.de'; | |
//$host = 'tls://smtp.strato.de'; | |
$port = 465; | |
//$port = 25; | |
$errorNumber; | |
$error; | |
$timeout = 10; |
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
# Switching directories can be very slow in ZSH with activated git dirty check. | |
# Some themes create their own git queries and sometimes ignore these flags. | |
# @link: https://stackoverflow.com/questions/12765344/oh-my-zsh-slow-but-only-for-certain-git-repo | |
# It does not work with spaceship theme. | |
git config --global --add oh-my-zsh.hide-status 1 | |
git config --global --add oh-my-zsh.hide-dirty 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
/** | |
* While copying pagetree we have to prevent calling getAvailableSites of solr, as it | |
* initializes ALL 300 pagetrees and load its full TS. | |
*/ | |
protected function modifyRequestForSolrAndSolrfal() | |
{ | |
// While copying pagetree solr will monitor various records. But without known | |
// rootPageUid it will call getAllSites() which will build the TS for all sites. | |
// We set monitored tables to invalidTable, so NO table will be monitored. | |
$solrExtConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['solr']); |
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 | |
declare(strict_types=1); | |
/* | |
* This file is part of the package jweiland/events2. | |
* | |
* For the full copyright and license information, please read the | |
* LICENSE file that was distributed with this source code. | |
*/ |
NewerOlder