Skip to content

Instantly share code, notes, and snippets.

View mrimann's full-sized avatar

Mario Rimann mrimann

View GitHub Profile
@mrimann
mrimann / gist:5f44312bcba9afcef0ed
Created March 27, 2015 14:13
Adding a timestamp to the URL of a static asset file

``

@mrimann
mrimann / Root.ts2
Last active August 29, 2015 14:15
Neos: Random Banner
prototype(Internezzo.ProjectTld:Banner) < prototype(TYPO3.Neos.NodeTypes:Image) {
node = ${q(site).find('[instanceof Internezzo.ProjectTld:Banner]').get()}
node.@process.shuffle = ${q(value).count() > 0 ? Array.shuffle(value) : value}
node.@process.slice = ${q(value).count() > 0 ? q(value).slice(0, 1).get(0) : value}
title = ${q(node).property('title')}
@cache {
mode = 'cached'
maximumLifetime = '1'

Keybase proof

I hereby claim:

  • I am mrimann on github.
  • I am mrimann (https://keybase.io/mrimann) on keybase.
  • I have a public key whose fingerprint is 364B D148 8B6B BBB9 0201 0B1D BA4A 0DDF 6AA3 A19A

To claim this, I am signing this object:

<?php
/*
There are Installations with 0..n components attached. The following query should
return matching Installations that have e.g. a component like e.g. "tt_news with version X".
But it returns any installation that has any version of "tt_news" as component, and
also any Installation containing *any* component with version "X"
*/
@mrimann
mrimann / awesome-php.md
Last active December 14, 2015 23:48 — forked from ziadoz/awesome-php.md

Awesome PHP Libraries

A list of amazingly awesome PHP libraries that you should consider using (and some other shiny extras).

@mrimann
mrimann / gist:4280258
Created December 13, 2012 21:47
Meeting minutes of the Swiss TYPO3-Agency-Meetup that took place in December 2012

Meeting Minutes "Swiss TYPO3 Agency Meetup", 2012-12-05

Introduction

On Wednesday 5th of December 2012, the below mentioned group of people (that together represent a big part of the Swiss TYPO3 agencies) have met to discuss their needs and expectations regarding TYPO3's release cycle, the LTS strategy and to generally discuss stuff. To make it short: The meeting was a great success and showed that there's a need to meet more often in the future!

Long-term roadmap & LTS strategy

Michael Stucki started the meeting and presented the current draft that Oliver Hader, Benni Mack and Michael have come up after their meeting in Stuttgart (see Post from Michael Stucki, 2011-11-25: http://lists.typo3.org/pipermail/typo3-team-core/2012-November/052822.html).

What's pressing?

The most urgent issues for us as agencies we collected during our meeting are the following:

use TYPO3\Flow\Annotations as Flow;
use Doctrine\ORM\Mapping as ORM;
/**
* A User
*
* @Flow\Entity
*/
class User {