Skip to content

Instantly share code, notes, and snippets.

Avatar
😷

Michiel Roos Tuurlijk

😷
View GitHub Profile
@Tuurlijk
Tuurlijk / Permissions.yaml
Last active Jan 18, 2016
Configuration file for content permission extension. Actual TSConfig would be generated from this.
View Permissions.yaml
--
TYPO3:
BE:
Permissions:
keyParts:
- isUserGroup
- hasDoktype
- hasBackendLayout
- hasColumnPosition
ruleSets:
@Tuurlijk
Tuurlijk / gist:7240a711605f5ed53f60
Created Jan 8, 2016
Verifying that +tuurlijk is my blockchain ID. https://onename.com/tuurlijk
View gist:7240a711605f5ed53f60
Verifying that +tuurlijk is my blockchain ID. https://onename.com/tuurlijk
View gist:9529896bed1d02c8b675
# Vagrant
alias vu="vagrant up"
alias vh="vagrant halt"
alias vr="vagrant reload"
alias vs="vagrant ssh"
alias vbu="vagrant box update"
@Tuurlijk
Tuurlijk / AdditionalConfiguration.php
Created Jan 7, 2015
Disable TYPO3 extension in production environment
View AdditionalConfiguration.php
if (!empty($_SERVER['CONTEXT'])) {
if (TYPO3_MODE == 'FE' && $_SERVER['CONTEXT'] === 'Production') {
// Avoid cookie set by session_start in rsaauth
if (isset($TYPO3_CONF_VARS['EXT']['ignoredExt'])) {
$TYPO3_CONF_VARS['EXT']['ignoredExt'] .= ',rsaauth';
} else {
$TYPO3_CONF_VARS['EXT']['ignoredExt'] = 'rsaauth';
}
}
}
@Tuurlijk
Tuurlijk / ImportMeasurement.php
Created Mar 19, 2014
Map a FLOW model onto an exising table.
View ImportMeasurement.php
<?php
namespace Typofree\Typo3Benchmark\Domain\Model;
/* *
* This script belongs to the TYPO3 Flow package "Typofree.Typo3Benchmark".*
* *
* */
use TYPO3\Flow\Annotations as Flow;
use Doctrine\ORM\Mapping as ORM;
View gist:8953882
page = PAGE
page.10 = TEXT
page.10 {
data = levelmedia:-1, slide
}
You can’t perform that action at this time.