Skip to content

Instantly share code, notes, and snippets.

Tobias Liebig etobi

Block or report user

Report or block etobi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
froemken / docker-compose.override.yaml
Last active Oct 14, 2019
How to exclude typo3temp directory from ddev to get more performance
View docker-compose.override.yaml
# Move typo3temp into RAM-Disk. Do not sync vendor and TYPO3-Directory
version: '3.6'
- type: tmpfs
size: 268435456
# TYPO3 8
target: /var/www/html/public/typo3temp/var/Cache
spoonerWeb / .gitlab-ci.yml
Last active Feb 18, 2019
GitLab CI for building and deploying TYPO3 websites with deployer
View .gitlab-ci.yml
- /cache/composer
- composer
- deploy
stage: composer
smichaelsen / DateInterval.php
Last active Nov 26, 2015
Example how to use the TypeInterface to let extbase initialize objects from your database records
View DateInterval.php
namespace AppZap\MyExt\Type;
use TYPO3\CMS\Core\Type\TypeInterface;
* In our application we have fields that store time intervals as minutes in the database.
* In our code we want proper DateInterval objects, so we use a TypeInterface to let extbase take care of the conversion.
* Usage example on a model property:
View gist:776ca1c15074129de883
hier wie versprochen mein Rezept:
500g Weizenmehl,
50g Margarine
1 Teeloeffel Salz
250ml Milch
1 Ei
1 Wuerfel frische Hefe
Mehl in eine Schuessel sieben, in die Mitte ein Kuhle druecken. Milch
fhemberger / backup-uberspace.exclude
Created Oct 17, 2013
How to easily backup your Uberspace ( account with rsync
View backup-uberspace.exclude
ohader / forge-analyse.php
Last active Dec 10, 2015
Forge Issue Analysis
View forge-analyse.php
* Usage:
* php forge-analyse.php <date-from> [<date-until>]
* php forge-analyse.php 2012-12-24 2012-12-31
* @author Oliver Hader <>
* @license GPL v2 or any later version
* @see
smichaelsen / VersionedTypo3DbBackend.php
Created Dec 6, 2012
Extbase Storage Backend that writes the changes to sys_history and sys_log
View VersionedTypo3DbBackend.php
class Tx_OrderTracker_Persistence_Storage_VersionedTypo3DbBackend extends Tx_Extbase_Persistence_Storage_Typo3DbBackend {
* @var t3lib_TCEmain
* @inject
protected $tcemain;
samdark / github-post-receive.php
Last active Oct 11, 2019
Simple GitHub post-receive PHP hook
View github-post-receive.php
function cidr_match($ip, $ranges)
$ranges = (array)$ranges;
foreach($ranges as $range) {
list($subnet, $mask) = explode('/', $range);
if((ip2long($ip) & ~((1 << (32 - $mask)) - 1)) == ip2long($subnet)) {
return true;
erikh /
Created Mar 31, 2012 — forked from DAddYE/
OSX For Hackers
#!/usr/bin/env sh
# This is script with usefull tips taken from:
# install it:
# curl -sL | sh
You can’t perform that action at this time.