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
# Configuration/Production/Settings.yaml | |
# ... | |
TYPO3: | |
Flow: | |
core: | |
phpBinaryPathAndFilename: '/usr/local/bin/php7-70STABLE-CLI' |
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: 'Search paginate' | |
uriPattern: '{node}/{--typo3-typo3cr-viewhelpers-widget-paginateviewhelper.currentPage}' | |
defaults: | |
'@package': 'TYPO3.Neos' | |
'@controller': 'Frontend\Node' | |
'@format': 'html' | |
'@action': 'show' | |
'--typo3-typo3cr-viewhelpers-widget-paginateviewhelper': | |
'@package': '' |
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
prototype(Websight.Project:ContactFormPlugin) < prototype(TYPO3.Neos:Plugin) | |
prototype(Websight.Project:ContactFormPlugin) { | |
package = 'Websight.Project' | |
controller = 'ContactRequest' | |
action = 'new' | |
node = ${node} | |
titleLeft = ${q(node).property('titleLeft')} | |
titleRight = ${q(node).property('titleRight')} | |
textLeft = ${q(node).property('textLeft')} | |
} |
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\InfraBundle\Controller; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
use Symfony\Bundle\FrameworkBundle\Console\Application; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Symfony\Component\Console\Input\ArrayInput; | |
use Symfony\Component\Console\Output\BufferedOutput; |
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\InfraBundle\Cache; | |
use Memcached; | |
use Symfony\Component\DependencyInjection\ContainerAwareInterface; | |
use Symfony\Component\DependencyInjection\ContainerInterface; | |
/** | |
* @package Vendor\InfraBundle\Cache |
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
#!groovy | |
# Best of Jenkinsfile | |
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins | |
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
#!/bin/bash | |
source ~/.bash_profile | |
VERSION=$(date +%Y%m%d%H%M%S) | |
BASE_DIRECTORY=/var/www/virtual/foxyzor/html/application | |
SOURCE_ROOT=$BASE_DIRECTORY/versions/$VERSION | |
SHARED_FOLDER=$BASE_DIRECTORY/shared | |
STORAGE_FOLDER=$BASE_DIRECTORY/shared/storage | |
CURRENT_LINK=$BASE_DIRECTORY/current |
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 | |
// .. | |
if (TYPO3_MODE === 'BE') { | |
// Moves the new main module to a new position (after 'web' in this case) | |
$modulName = 'mymod'; // the main module name from below | |
if (!isset($TBE_MODULES[$modulName])) { | |
$temp_TBE_MODULES = array(); | |
foreach ($TBE_MODULES as $key => $val) { | |
if ($key == 'web') { | |
$temp_TBE_MODULES[$key] = $val; |
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
-server | |
-Xms2048m | |
-Xmx2048m | |
-XX:NewSize=512m | |
-XX:MaxNewSize=512m | |
-XX:PermSize=512m | |
-XX:MaxPermSize=512m | |
-XX:+UseParNewGC | |
-XX:ParallelGCThreads=4 | |
-XX:MaxTenuringThreshold=1 |
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
server { | |
server_name foo.bar; | |
listen xx.xx.xx.xx; | |
location / { | |
if ($http_cf_visitor != '{"scheme":"https"}'){ | |
add_header X-From-NGINX yes; | |
rewrite ^(.*)$ https://www.foo.bar$1 redirect; | |
} | |
proxy_pass http://127.0.0.1:62500; | |
proxy_redirect off; |