This file contains hidden or 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
{"lastUpload":"2022-01-06T11:54:52.110Z","extensionVersion":"v3.4.3"} |
This file contains hidden or 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
# ----------------------------------------------------------------------# | |
# Live environment # | |
# ----------------------------------------------------------------------# | |
production/host = foo.com | |
production/user = bar | |
production/port = 22 | |
production/path = /var/www/foo.com/ | |
define production/shell | |
ssh $(production/user)@$(production/host) -p$(production/port) 'cd $(production/path) &&$1' |
This file contains hidden or 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 | |
class ProductMapping extends AbstractMapping { | |
/** | |
* Type/Name of the coremedia content | |
* | |
* @var string | |
*/ | |
protected $sourceType = 'pim_product'; |
This file contains hidden or 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 | |
class ApiController { | |
/** | |
* @Route("/api/search") | |
*/ | |
public function searchAction(Request $request){ | |
$request->get('value'); | |
...do a search... | |
} |
This file contains hidden or 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 | |
class BEAUTIFUL { | |
public function __call($action, $arguments) { | |
switch($action) { | |
case: 'terrificMethod': | |
return 'build a wall and ' . $arguments[0] . '!'; | |
default: | |
die('FAKE METHOD'); | |
} |
This file contains hidden or 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
{ | |
"constants": { | |
"activeFieldTrialGroups": [], | |
"addressFamily": { | |
"ADDRESS_FAMILY_IPV4": 1, | |
"ADDRESS_FAMILY_IPV6": 2, | |
"ADDRESS_FAMILY_UNSPECIFIED": 0 | |
}, | |
"certStatusFlag": { | |
"AUTHORITY_INVALID": 4, |
This file contains hidden or 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 | |
$structure = [ | |
'type' => 'Form', | |
'id' => 'test', | |
'label' => 'Some form', | |
'children' => [ | |
'default' => [ | |
'type' => 'Sheet', | |
'label' => 'Sheet label', | |
'description' => 'Sheet description', |
This file contains hidden or 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
SELECT | |
*, | |
( | |
CASE | |
WHEN title LIKE "%keyword%" AND crdate > 1400000090 THEN 1 | |
WHEN textmodules LIKE "%keyword%" AND crdate > 1400000090 THEN 2 | |
WHEN title LIKE "%keyword%" THEN 3 | |
WHEN textmodules LIKE "%keyword%" THEN 4 | |
ELSE 10 | |
END |
This file contains hidden or 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
{namespace v=FluidTYPO3\Vhs\ViewHelpers} | |
{namespace flux=FluidTYPO3\Flux\ViewHelpers} | |
{namespace t=Famelo\Template\ViewHelpers} | |
<f:layout name="Content" /> | |
<f:section name="Configuration"> | |
<flux:form id="event-registration" options="{group: 'forms'}" label="Registrierungsformular für Veranstaltung"> | |
<flux:field.input name="title" label="Veranstaltungsname" required="1" /> | |
<flux:field.text name="introduction" label="Einleitung" rows="3" enableRichText="1" /> | |
<flux:field.text name="information" label="Veranstaltungsinformationen" rows="3" enableRichText="1" /> |
This file contains hidden or 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 | |
if( ! isset($curl_maxredirs)) | |
$curl_maxredirs = 10; | |
if( ! isset($curl_timeout)) | |
$curl_timeout = 30; | |
function sentry_log($message, $logLevel = 'info', $context = array()) { | |
$sentryUrl = 'http://docker.mia3.com:9000/api/10/store/?sentry_version=7&sentry_client=raven-js%2F3.0.4&sentry_key=80e40c062a184525b2ab66b88f64b4f5&sentry_secret=0394c79e57784c5f841788699c74bf54'; |
NewerOlder