Skip to content

Instantly share code, notes, and snippets.

View kathangeorg's full-sized avatar

Schorsch kathangeorg

View GitHub Profile

To do

  • Post to Hacker News
  • Share HN post on Twitter

Next

  • Raise $1MM
  • Retire
@kathangeorg
kathangeorg / gist:f2cc7e872c942ee9e28a
Created March 21, 2015 10:32
Less Webfont Example
//** Load fonts from this directory.
@icon-font-path-custom: "/typo3conf/path/to/your/fonts/";
@font-face {
font-family: 'YourFont';
font-style: normal;
font-weight: 400;
src: url('@{icon-font-path-custom}your-webfont.eot');
src: url('@{icon-font-path-custom}your-webfont.eot?#iefix') format('embedded-opentype'),
url('@{icon-font-path-custom}your-webfont.woff') format('woff'),
@kathangeorg
kathangeorg / AdditionalConfiguration.php
Last active July 6, 2020 22:00
Override for staticfilecache BoostQueueCommand.php
<?php
/*
* typo3conf/AdditionalConfiguration.php
*/
// ... all the other stuff ...
if (isset($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['staticfilecache'])) {
$oExtensionConfig = TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(SFC\Staticfilecache\Service\ConfigurationService::class);