View testinram.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script will | |
# * fire up a ramdisk | |
# * start a mysql server using it as storage | |
# * copying your typo3 database to ram | |
# * run the tests | |
# * clean up | |
# | |
# use -k as parameter to clean-up after a failed run |
View flexform.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<image type="array"> | |
<TCEforms type="array"> | |
<label>Bild (Pflichtfeld)</label> | |
<config> | |
<type>inline</type> | |
<minitems>1</minitems> | |
<maxitems>1</maxitems> | |
<appearance type="array"> | |
<createNewRelationLinkTitle>LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference</createNewRelationLinkTitle> |
View steam.sls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dpkg_steam_license: | |
cmd.run: | |
- unless: which steam | |
- name: '/bin/echo /usr/bin/debconf steam/license note | /usr/bin/debconf-set-selections' | |
- require_in: | |
- pkg: steam | |
- cmd: dpkg_steam_question | |
dpkg_steam_question: | |
cmd.run: |
View getter_for_first_request.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/typo3/sysext/core/Classes/Http/ServerRequestFactory.php b/typo3/sysext/core/Classes/Http/ServerRequestFactory.php | |
index bee3e59..7b9cf82 100644 | |
--- a/typo3/sysext/core/Classes/Http/ServerRequestFactory.php | |
+++ b/typo3/sysext/core/Classes/Http/ServerRequestFactory.php | |
@@ -27,6 +27,23 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; | |
class ServerRequestFactory | |
{ | |
/** | |
+ * First request instantiated | |
+ * |
View suggest.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global window, define, jQuery */ | |
(function(factory) { | |
"function" == typeof define && define.amd ? define('suggest', ['jquery', 'jquery-ui'], factory) : factory(jQuery) | |
})(function(jQuery, jQueryUi) { | |
console.log('yeah'); | |
function initialize() { | |
// Change back to the old behavior of auto-complete | |
// http://jqueryui.com/docs/Upgrade_Guide_184#Autocomplete | |
jQuery.ui.autocomplete.prototype._renderItem = function( ul, item ) { | |
return jQuery( "<li></li>" ) |
View gist:275ffa6ab14b52a3ea6ab8a8fb2b1252
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Works with: | |
* | |
* module.tx_extensionname_pluginname < plugins.tx_extensionname_pluginname | |
* | |
* @return void | |
*/ | |
protected function initializeTypoScript() | |
{ | |
/** @var \TYPO3\CMS\Extbase\Object\ObjectManager $objectManager */ |
View mapper.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
<div id="mapper"> | |
<table> | |
<row | |
v-for="row in rows" | |
v-bind:row="row" | |
v-bind:key="row.id"> | |
</row> |
View Psi Tutorial Level 1 - 28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Level 1 - Tutorial 1 | |
{spellName:"Tutorial 1",uuidMost:-9212014085409912628L,validSpell:1b,spellList:[0:{spellPosX:4,spellData:{spellKey:"trickDebug",params:{psi.spellparam.number:0,psi.spellparam.target:2}},spellPosY:3},1:{spellPosX:4,spellData:{spellKey:"selectorCaster",params:{}},spellPosY:4}],uuidLeast:-7812281509448144908L} | |
Level 2 - Tutorial 2 | |
{spellName:"Tutorial 2",uuidMost:-5142199122538312424L,validSpell:1b,spellList:[0:{spellPosX:3,spellData:{spellKey:"connector",params:{psi.spellparam.target:2}},spellPosY:3},1:{spellPosX:3,spellData:{spellKey:"constantNumber",params:{},constantValue:"2"},spellPosY:4},2:{spellPosX:4,spellData:{spellKey:"trickDebug",params:{psi.spellparam.number:3,psi.spellparam.target:2}},spellPosY:3},3:{spellPosX:4,spellData:{spellKey:"selectorCaster",params:{}},spellPosY:4}],uuidLeast:-9206572619882318113L} | |
Level 3 - Tutorial 3 | |
{spellName:"Tutorial 3",uuidMost:7403931311755382661L,validSpell:1b,spellList:[0:{spellPosX:3,spellData:{spellKey:"operatorEntityLook",params:{psi.spellp |
View .gitlab-ci.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cache: | |
paths: | |
- $CI_PROJECT_DIR/cache | |
- $CI_PROJECT_DIR/vendor | |
- $CI_PROJECT_DIR/.Build/vendor | |
stages: | |
- composer | |
- deploy |
View DateFormatter.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Cp\CpSitepackage\Routing\Aspect; | |
class DateFormatter | |
{ | |
public function format($value, $format = 'd.m.Y'): string | |
{ | |
return date($format, $value); | |
} |
OlderNewer