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
// https://v1.tailwindcss.com/docs/controlling-file-size#purge-css-options | |
module.exports = { | |
future: { | |
removeDeprecatedGapUtilities: true, | |
purgeLayersByDefault: true, | |
}, | |
purge: { | |
content: ['./public/**/*.html'], | |
options: { | |
whitelistPatterns: [ |
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
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa |
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/bash | |
# Creator: Phil Cook | |
# Modified: Andy Miller | |
# Original => https://gist.github.com/rhukster/f4c04f1bf59e0b74e335ee5d186a98e2 | |
brew_prefix=$(brew --prefix | sed 's#/#\\\/#g') | |
brew_array=("5.5","5.6","7.0","7.1","7.2", "7.3", "7.4", "8.0") | |
php_array=("[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]") | |
valet_support_php_version_array=("[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]") | |
php_installed_array=() |
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
# Redis (has to be configured to different databases on shared hosting) | |
TYPO3_TypoScript_Content: | |
backend: TYPO3\Flow\Cache\Backend\RedisBackend | |
backendOptions: | |
defaultLifetime: 0 | |
Flow_Mvc_Routing_Resolve: | |
backend: TYPO3\Flow\Cache\Backend\RedisBackend | |
backendOptions: | |
defaultLifetime: 0 |
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
/** | |
* Add dynmic metatags to response header in Extbase | |
* | |
* @param News $news | |
* @return void | |
*/ | |
protected function addMetaDataToHeader(News $news){ | |
$this->response->addAdditionalHeaderData('<meta property="og:title" content="'. htmlspecialchars($news->getTitle()).'"/>'); | |
$this->response->addAdditionalHeaderData('<meta name="description" content="'. htmlspecialchars($news->getTeaserText()) .'">'); | |
$this->response->addAdditionalHeaderData('<meta name="author" content="'.$author.'">'); |
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 | |
namespace My\Package\Service; | |
use TYPO3\Flow\Annotations as Flow; | |
/** | |
* @Flow\Scope("singleton") | |
*/ | |
class EmailService { |