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
# Move typo3temp into RAM-Disk. Do not sync vendor and TYPO3-Directory. | |
# For MAC: 'nocopy' will only work correct, if nfs_mount_enabled is true | |
version: '3.6' | |
services: | |
web: | |
volumes: | |
- type: tmpfs | |
tmpfs: | |
size: 268435456 | |
# TYPO3 8 |
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
config.contentObjectExceptionHandler = 0 | |
# Default PAGE object: | |
page = PAGE | |
page.10 = FLUIDTEMPLATE | |
page.10.file = fileadmin/template.html | |
page.10 { | |
dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor | |
dataProcessing.10 { | |
table = pages | |
pidInList = 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 | |
$errNo = 0; | |
$errMsg = ''; | |
// throws WARNING if hostname is invalid. Add @. | |
if ($res = @fsockopen($ipAddress, 1883, $errNo, $errMsg, 10)) { | |
//var_dump(chr(63>>8)); | |
//var_dump(bin2hex('11110000')); | |
$packetType = '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 | |
declare(strict_types=1); | |
/* | |
* This file is part of the package jweiland/maps2. | |
* | |
* 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
<?php | |
namespace Elo\EloCareer\Tca; | |
/* | |
* This file is part of the TYPO3 CMS project. | |
* | |
* It is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License, either version 2 | |
* of the License, or any later version. |
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 JWeiland\MyExtension\Tests\Unit; | |
/* | |
* This file is part of the my project. | |
* | |
* It is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License, either version 2 | |
* of the License, or any later version. |
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
# You can check you .htaccess with: https://htaccess.madewithlove.be/ | |
RewriteEngine On | |
# First: rewrite domains to different targets | |
RewriteCond %{HTTP_HOST} sfroemken-old\.de$ [NC] | |
RewriteRule ^(.*)$ https://www.sfroemken-new.com/$1 [R=301,L] | |
RewriteCond %{HTTP_HOST} another-domain-old\.cc$ [NC] | |
RewriteRule ^(.*)$ https://www.another-domain-new.com/$1 [R=301,L] |
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 | |
$fp = fopen('requests.txt', 'a'); | |
$now = new \DateTime('now'); | |
fwrite( | |
$fp, | |
sprintf( | |
'%s %s %s' . CHR(10), | |
$now->format('d.m.Y H:i:s'), | |
$_SERVER['REMOTE_ADDR'], |
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 | |
# Remote Server | |
# If you don't use a SSH-Key you have to use format: user[:password]@jweilandXYZ.net | |
# else domainname is enough | |
server="jweiland124.net" | |
path="~/typo3cms/SCRIPTS/" | |
#System variables | |
localSsh="/usr/bin/ssh" |
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 | |
# Remote Server | |
# If you don't use a SSH-Key you have to use format: user[:password]@jweilandXYZ.net | |
# else domainname is enough | |
server="jweilandXYZ.net" | |
rPath="~/typo3cms/dev/" | |
# Path to project root, not FE root (web) | |
lPath="/Users/stefan/htdocs/kunden/project/" | |
# PID of first root page. Needed to create a sys_domain record. In most cases this will be 1 | |
lRootPageUid="1" |