Skip to content

Instantly share code, notes, and snippets.

View tbal's full-sized avatar

Tilo Baller tbal

  • CosmoCode GmbH
  • Berlin, Germany
View GitHub Profile
@jonaseberle
jonaseberle / additional.php_or_AdditionalConfiguration.php
Last active January 12, 2024 09:52
Parse environment variables into $TYPO3_CONF_VARS
<?php
defined('TYPO3') || die();
/**
* Sets environment variables from the shell environment of the user (e.g. used with docker --environment=), from
* webserver's virtual host config, .htaccess (SetEnv), /etc/profile, .profile, .bashrc, ...
* When a .env file and the composer package helhum/dotenv-connector is present, the values from .env are also present
* in the environment at this stage.
*/
@a-r-m-i-n
a-r-m-i-n / FaViewHelper.php
Created March 25, 2020 14:41
Font Awesome ViewHelper (using SVG sprites) for TYPO3 CMS 9+
<?php declare(strict_types=1);
namespace Armin\Vieweg\ViewHelpers;
use TYPO3\CMS\Core\Core\Environment;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
/**
* Font Awesome SVG ViewHelper
@t3easy
t3easy / .gitlab-ci.yml
Last active October 26, 2023 10:09
TYPO3 Surf in GitLab CI
cache:
key: "$CI_JOB_STAGE-$CI_COMMIT_REF_NAME"
paths:
- .cache/
.dedicated-runner:
tags:
- docker
- linux
@spoonerWeb
spoonerWeb / .gitlab-ci.yml
Last active October 1, 2024 08:23
GitLab CI for building and deploying TYPO3 websites with deployer
cache:
paths:
- /cache/composer
stages:
- composer
- deploy
build:
stage: composer
@greigdp
greigdp / xps-9370.md
Created February 3, 2018 22:27
Dell XPS 13 (9370) Archlinux Install Notes

Install Notes - Dell XPS 13 (9370) 2018

The laptop works well on Archlinux. A few notes based on the installation guide for the previous version.

Intel GPU Power Saving

Per the Arch wiki, more power can be saved by creating /etc/modprobe.d/i915.confwith the following content:

options i915 modeset=1 enable_rc6=1 enable_fbc=1 enable_guc_loading=1 enable_guc_submission=1 enable_psr=1
@koehnlein
koehnlein / .gitlab-ci.yml
Last active December 1, 2021 15:21
simple deployment based on TYPO3 Surf and Gitlab CI
stages:
- deploy
# use caching
cache:
key: "$CI_BUILD_REF_NAME/$CI_BUILD_STAGE"
paths:
- .caches/
variables:
@t3easy
t3easy / .gitlab-ci.yml
Last active January 22, 2020 18:36
GitLab CI
cache:
# Use a cache for every branch and every stage
key: "$CI_COMMIT_REF_NAME/$CI_JOB_STAGE"
# Cache the path .cache within the project workspace
paths:
- .cache/
variables:
# Tell composer to save and load it's cache within the .cache folder
COMPOSER_CACHE_DIR: "$CI_PROJECT_DIR/.cache/composer"
@xperseguers
xperseguers / MyCustomActionBackend.yaml
Last active May 19, 2020 15:41
Custom finisher for EXT:form in TYPO3 v8
# File EXT:your_ext/Configuration/Yaml/MyCustomActionBackend.yaml
TYPO3:
CMS:
Form:
prototypes:
# add our finisher to the 'standard' form prototype
standard:
formElementsDefinition:
Form:
formEditor:
@spoonerWeb
spoonerWeb / .gitlab-ci.yml
Last active February 12, 2024 10:54
GitLab CI (version >= 9) configuration for testing and TER uploading TYPO3 extensions
cache:
key: "$CI_COMMIT_REF_NAME/$CI_JOB_STAGE"
paths:
- .composer/
before_script:
# Install git on machine
- apk add git --update
stages: