Skip to content

Instantly share code, notes, and snippets.

Thomas Löffler spoonerWeb

Block or report user

Report or block spoonerWeb

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
View gist:05554febb2d790340401
### Keybase proof
I hereby claim:
* I am SpoonerWeb on github.
* I am spoonerweb (https://keybase.io/spoonerweb) on keybase.
* I have a public key whose fingerprint is 1546 09BD 23E0 774A 218F 1AD6 FD07 5A11 56B5 F86D
To claim this, I am signing this object:
@spoonerWeb
spoonerWeb / FacebookVideoHelper.php
Last active Aug 6, 2019
Facebook video integration in TYPO3 (needs some love for FE rendering)
View FacebookVideoHelper.php
<?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.
*
@spoonerWeb
spoonerWeb / RteHtmlParser.php
Last active Jul 14, 2016
Use wildcard in allowedClasses RTE
View RteHtmlParser.php
<?php
namespace Vendor\ExtensionKey\Html;
/**
* 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.
*
* For the full copyright and license information, please read the
@spoonerWeb
spoonerWeb / pre-receive-php-lint
Created Aug 11, 2016
Pre-Receive Hook (php-lint)
View pre-receive-php-lint
#!/usr/bin/php
<?php
$ref = trim($argv[2]);
$diff = array();
$return = 0;
exec("git diff --name-only $argv[1] $ref 2> /dev/null", $diff, $return);
@spoonerWeb
spoonerWeb / HelpfulToolsToConcentrate.md
Last active Oct 2, 2019
Helpful tools to concentrate on important things
View HelpfulToolsToConcentrate.md

Helpful tools to concentrate on important things

devdocs.io

It's a bundle of documentation of languages, projects and other stuff. Easily searchable and can be used offline.

Download: https://devdocs.io

postman

@spoonerWeb
spoonerWeb / .gitlab-ci.yml
Last active Nov 7, 2019
GitLab CI (version >= 9) configuration for testing and TER uploading TYPO3 extensions
View .gitlab-ci.yml
cache:
key: "$CI_COMMIT_REF_NAME/$CI_JOB_STAGE"
paths:
- .composer/
before_script:
# Install git on machine
- apk add git --update
stages:
@spoonerWeb
spoonerWeb / GitLab CI Links
Created Jun 24, 2018
Summary of links regarding GitLab CI/CD configurations
View GitLab CI Links
@spoonerWeb
spoonerWeb / DataController.php
Created Jul 20, 2018
Sending an AJAX request to get Extbase objects
View DataController.php
<?php
namespace Vendor\Extension\Controller;
use SJBR\StaticInfoTables\Domain\Repository\CountryZoneRepository;
class DataController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController
{
/**
* @var \TYPO3\CMS\Extbase\Mvc\View\JsonView
*/
View package.json
{
"name": "gitlab-website-test",
"version": "1.0.0",
"description": "",
"main": "Gulpfile.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
@spoonerWeb
spoonerWeb / .gitlab-ci.yml
Last active Feb 18, 2019
GitLab CI for building and deploying TYPO3 websites with deployer
View .gitlab-ci.yml
cache:
paths:
- /cache/composer
stages:
- composer
- deploy
build:
stage: composer
You can’t perform that action at this time.