Skip to content

Instantly share code, notes, and snippets.

Avatar

Rens Admiraal radmiraal

View GitHub Profile
View gist:3451988b880292deb9e98d89277749c9
PHPUnit 8.5.2 by Sebastian Bergmann and contributors.
............................................................. 61 / 1179 ( 5%)
............................................................. 122 / 1179 ( 10%)
............................................................. 183 / 1179 ( 15%)
............................................................. 244 / 1179 ( 20%)
............................................................. 305 / 1179 ( 25%)
...................................F......................... 366 / 1179 ( 31%)
............................FF..FF.F......................... 427 / 1179 ( 36%)
............................................................. 488 / 1179 ( 41%)
View centos-release
CentOS Linux release 7.7.1908 (Core)
@radmiraal
radmiraal / nginx.conf
Last active Apr 25, 2017
Raspberry TYPO3 install
View nginx.conf
server {
listen 80 default_server;
server_name pi;
root /var/www/pi/web;
index index.php;
location = /favicon.ico {
log_not_found off;
access_log off;
@radmiraal
radmiraal / NodeTypes.yaml
Created Sep 27, 2015
A collection node type for Neos. This allows for creating a content node type that acts like a container for other elements without extra wrapping elements
View NodeTypes.yaml
'My.Vendor:Section':
superTypes:
'TYPO3.Neos:Content': TRUE
'TYPO3.Neos:ContentCollection': TRUE
ui:
label: 'Section'
inlineEditable: TRUE
View gist:7a891aaa826d13b0d868
<?php
namespace My\Package\Media\Adjustments;
use TYPO3\Flow\Annotations as Flow;
use Imagine\Image\ImageInterface;
use Imagine\Image\Point;
use TYPO3\Media\Domain\Model\Adjustment\CropImageAdjustment;
use TYPO3\Media\Domain\Model\Adjustment\ImageAdjustmentInterface;
use TYPO3\Media\Domain\Model\Adjustment\ResizeImageAdjustment;
use TYPO3\Media\Domain\Model\ImageVariant;
View gist:10fc65ee73e928171417
$q = new FlowQuery(array($parentNode));
$products = $q->find('[instanceof EKS.Site:Product]');
@radmiraal
radmiraal / bash
Last active Aug 29, 2015
Run behat tests on CI with internal php webserver
View bash
#!/bin/bash
# Searches for all behat.ci.yaml files in the project and runs the tests
FLOW_CONTEXT=Development/Behat php -S 0.0.0.0:8452 -t Web/ &
phpPid=$!
find . -type f -path "*/Tests/Behavior/behat.ci.yml" -print0 | while IFS= read -r -d $'\0' line; do
bin/behat -c $line
done
View gist:fd56448742628cd4b9e1
### Keybase proof
I hereby claim:
* I am radmiraal on github.
* I am radmiraal (https://keybase.io/radmiraal) on keybase.
* I have a public key whose fingerprint is 8545 C4CE D1A4 8976 227C 7AEF 2217 1AEC CD6E 11A9
To claim this, I am signing this object:
View gist:13622e0d289809e292a0
../Templates/TypoScriptObjects/NeosBackendEndpoints.html
../../Public/JavaScript/Content/Inspector/Editors/ImageEditor.js
*/
_imageServiceEndpointUri: null,
+ _sites: [],
+
loadingindicator: null,
View Gruntfile.js
module.exports = function (grunt) {
grunt.loadNpmTasks("grunt-extend-config");
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
compass: grunt.file.readJSON('../../../../Build/Grunt/Defaults/compass.json'),
watch: grunt.file.readJSON('../../../../Build/Grunt/Defaults/watch.json'),
requirejs: grunt.file.readJSON('../../../../Build/Grunt/Defaults/requirejs.json'),
concat: grunt.file.readJSON('../../../../Build/Grunt/Defaults/concat.json'),
clean: {