Skip to content

Instantly share code, notes, and snippets.

View cedricziel's full-sized avatar

Cedric Ziel cedricziel

View GitHub Profile
cedricziel / publish_post.json
Created August 9, 2020 15:53 Publish Extension Request Schema
View publish_post.json
"user": "userid",
"brand": "brandid",
"label": "Publish",
"message": "message provided",
"assets": [
cedricziel / README
Created February 4, 2020 14:29
Simple setup for keycloak and docker.
* run
* run
Take a look at kcadm on how to import more diverse data points like idp metadata and client configurations.
Also take a look at the simple import / export stuff at

Keybase proof

I hereby claim:

  • I am cedricziel on github.
  • I am cedricziel ( on keybase.
  • I have a public key ASAfgwH_iPnBRuetEupEV-aAKQeFZyvkiw-Rop-5rRCSogo

To claim this, I am signing this object:

cedricziel / RealUrlAutoconfHook.php
Created February 1, 2017 12:37
Find all plugins of a specific type and attach fixedPostVars to them
View RealUrlAutoconfHook.php
namespace My\Ext\Hooks;
use TYPO3\CMS\Backend\Utility\BackendUtility;
class RealUrlAutoconfHook {
* @param array $params
cedricziel / composer.json
Created January 13, 2017 08:07
Tools with tooly
View composer.json
"require": {
"tm/tooly-composer-script": "^1.2"
"require-dev": {
"escapestudios/symfony2-coding-standard": "~2.0"
"scripts": {
"post-install-cmd": [
cedricziel /
Created January 12, 2017 09:11
Very simple migration script to move from gitlab to gogs
#!/bin/env bash
## Needs `jq` ( on PATH
## and a personal gogs token of yours.
## Obtain token from
## Usage:
## ./ $clone_url $project_name [$optional_group]
## Migrate a repository to gogs into the user namespace of the token-user
## ./ repo
## Migrate a repository to gogs into the group namespace `group` (needs to exist)
View ext_typoscript_setup.txt
config.tx_extbase {
persistence {
classes {
Vendor\MyExt\Domain\Model\Address {
mapping {
tableName = tt_address
# optional. if you have added additional fields f.e.
columns {
tx_foo_description.mapOnProperty = description
tx_foo_my_other_column.mapOnProperty = unusualPropertyName
View EntityRouter.php
namespace AppBundle\Routing;
use AppBundle\Entity\RoutableEntityInterface;
use JMS\I18nRoutingBundle\Router\I18nRouter;
* Class Router
* Overrides the I18n router to be able to resolve objects by route
cedricziel / CustomerAutocompletion.php
Created November 4, 2016 14:40
TYPO3 CMS 7 fully loaded TSFE in EiD
View CustomerAutocompletion.php
namespace Project\Namespace\Hooks;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3\CMS\Core\Core\Bootstrap;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility;
cedricziel / FacebookVideoHelper.php
Created October 7, 2016 14:27 — forked from spoonerWeb/FacebookVideoHelper.php
Facebook video integration in TYPO3 (needs some love for FE rendering)
View FacebookVideoHelper.php
namespace Vendor\ExtensionKey\Helpers;
* 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.