Skip to content

Instantly share code, notes, and snippets.

View georgringer's full-sized avatar

Georg Ringer georgringer

View GitHub Profile
@t3easy
t3easy / .gitlab-ci.yml
Created April 29, 2019 12:56
Wraith in GitLab CI
compare:staging:live:
image:
name: bbcnews/wraith
entrypoint: [""]
tags:
- docker
- linux
stage: compare
only:
- develop
@einpraegsam
einpraegsam / RadialSearchRepository.php
Created July 3, 2017 10:28
Example radial search SQL statement for TYPO3 Extbase repositories
<?php
/**
* @param FilterDto $filterDto
* @return string
*/
protected function getSqlForRadialSearch(FilterDto $filterDto): string
{
$latitude = $filterDto->getLatitudeFromZip();
$longitude = $filterDto->getLongitudeFromZip();
@smichaelsen
smichaelsen / gitlab_typo3_setup.md
Last active August 12, 2022 14:11
Setting up a Build Server for TYPO3 projects on Gitlab.com

Setting up a Build Server for TYPO3 projects on Gitlab.com

Background

We're a small team of only two people, but we're tackling more and more rather big TYPO3 projects. Over time we introduced package management for PHP (composer) and JS (bower) and depended on frontend building with Grunt. With rising complexity and importance of our projects we felt the demand for an efficient and safe way to deploy our websites on different servers.

We helped our selves with small self written deploy scripts that performed building on the target server, but you can't run node (for Grunt) or sass in every environment, and if building goes wrong the website was likely to be broken on the live server - so we needed a Build Server.

But solutions we looked at turned out to be quite time consuming (setting up and managing self hosted Gitlab and Gitlab-CI or a Jenkins server and runners) or costly.

Free Hosting on Gitlab.com

@helhum
helhum / YoutubeProcessing.php
Created July 11, 2014 08:56
FAL Processing
<?php
namespace Helhum\ProcessingServices\Resource\Processing;
use TYPO3\CMS\Core\Utility;
class YoutubeProcessing {
/**
* @var \TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor
*/
protected $processor;