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 My\Extension; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
class CalendarizeCalendarController | |
{ | |
/** | |
* @param $index \HDNET\Calendarize\Domain\Model\Index | |
* @param $domain string |
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
#!/bin/sh | |
# @see https://github.com/Eficode/wait-for | |
# install nmap on centos | |
TIMEOUT=15 | |
QUIET=0 | |
echoerr() { | |
if [ "$QUIET" -ne 1 ]; then printf "%s\n" "$*" 1>&2; fi |
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
$cObj = $this->configurationManager->getContentObject(); | |
$resizedFile = $cObj->cObjGetSingle('IMG_RESOURCE', array( | |
'file' => $file->getPublicUrl(), | |
'file.' => array( | |
'maxW' => '160', | |
'maxH' => '160c', | |
) | |
)); |
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
import {Injectable} from "@angular/core"; | |
import {Location, HashLocationStrategy, PlatformLocation} from "@angular/common"; | |
@Injectable() | |
export class KeepFileNameHashLocationStrategy extends HashLocationStrategy { | |
constructor(_platformLocation: PlatformLocation, _baseHref?: string) { | |
super(_platformLocation, _baseHref); | |
} | |
prepareExternalUrl(internal: string): string { |
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 | |
$dbhost = "localhost"; | |
$dbname = ""; | |
$dbuser = ""; | |
$dbpswd = ""; | |
$mapColPos = array( | |
0 => 10, | |
1 => 11 |