Skip to content

Instantly share code, notes, and snippets.

@hoandang
hoandang / php-docker-ext
Created May 20, 2017 01:12
Complete list of php docker ext
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN docker-php-ext-install mcrypt
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
@oliverthiele
oliverthiele / FluidLayout.html
Created March 12, 2017 16:07
Some of my favorite Live-Templates for PhpStorm
{namespace b=OliverThiele\OtBootstrap3\ViewHelpers}
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:spaceless>
$END$
<f:render section="Content" />
</f:spaceless>
</html>
@nerdpraxis
nerdpraxis / typo3_tricks_that_saved_my_live
Last active June 12, 2018 06:36 — forked from ut/typo3_tricks_that_saved_my_live
[Langsame Bilderstellung dank IM] #typo3 #imageMagic #ts #typoscript
# after typo3 4.2 > 4.5 update backend loads on some page very slow (or newer) -- after activating firebug i learned thumbs.php doesn't load.
# next step was imagemagick via install tool > image processing, same very slow. finally i found an older posting which recommends to
# disable im_useStripProfileByDefault at localconf.php
$TYPO3_CONF_VARS['GFX']['im_useStripProfileByDefault'] = '0';
# tt_news && cache, always a pain for editors
# enable cache reset for editors at user ts config
options.clearCache.pages=1 # allow be user to clear cache of a page
options.clearCache.all=1 # allow be user to clear fe cache