It's a bundle of documentation of languages, projects and other stuff. Easily searchable and can be used offline.
Download: https://devdocs.io
composer create-project typo3/cms-base-distribution='^7.6.0' my-test-typo3 --no-interaction | |
cd my-test-typo3/ | |
composer require helhum/typo3-console | |
# This will only work with PHP < 7 as realurl need PHP 5.x | |
composer require typo3-ter/introduction | |
cp web/typo3conf/ext/typo3_console/Scripts/typo3cms . | |
cp web/typo3conf/ext/bootstrap_package/Configuration/Apache/.htaccess web/ | |
chmod +x typo3cms | |
./typo3cms install:setup --non-interactive --database-user-name="root" --database-user-password="root" --database-host-name="localhost" --database-port="3306" --database-name="t3_my_test" --admin-user-name="admin" --admin-password="password" --site-name="Auto Install" | |
./typo3cms database:updateschema '*.*' |
# Additions to existing Apache's .htaccess rules | |
# Security: Enforce file types matching at end of filename only | |
# see https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/Security/GuidelinesAdministrators/Index.html#file-extension-handling | |
# see https://httpd.apache.org/docs/2.4/mod/mod_mime.html#multipleext | |
<IfModule mod_mime.c> | |
RemoveType .html .htm | |
<FilesMatch ".+\.html?$"> | |
AddType text/html .html | |
AddType text/html .htm |
It's a bundle of documentation of languages, projects and other stuff. Easily searchable and can be used offline.
Download: https://devdocs.io
-- TweetSongViaTweetbot.applescript | |
-- Copy title, artist, album and year of playing song from iTunes to Tweetbot | |
-- Author: Sascha Foerster | |
-- based on script from: Romain Briche | |
-- iTunes and Tweetbot active? | |
tell application "System Events" | |
if not (exists application process "Tweetbot") or not (exists application process "iTunes") then | |
display alert "iTunes and Tweetbot required" message "You have to launch iTunes and Tweetbot before executing script" | |
end if |
Do you remember the good old days?
What is TypoScript? Various myths and speculations exist about that, well, programming language? No, it never was a programming language. Though it could be used to express logic. Is it a configuration language then? It's often used to configure settings, but the scope is certainly blurry.
The power of TypoScript - if used well - is the declarative approach of expressing the rendering and execution of various parts of the system. And a declaration in TypoScript is never final, but can be changed at a later time by another extension or template.
git --no-pager log --date=short --no-merges --pretty="%<(12)%ad%<(9)%h%s" `git describe --abbrev=0 --tags`..HEAD
--no-pager Do not pipe Git output into a pager.
--date=short Show only the date, but not the time, in YYYY-MM-DD
format.
#!/bin/bash | |
# | |
# PHP 5.4 Deprecated function checker | |
# | |
# Version: 0.0.3 | |
# | |
# Original Author: Michiel Roos <michiel@donationbasedhosting.org> | |
# | |
# http://www.php.net/manual/de/migration54.incompatible.php | |
# http://www.php.net/manual/en/migration54.deprecated.php |
<?php | |
$GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'] = '$P$CEF2NP3kCoIHwDupr8RiYUMQ7/Rp.j.'; | |
$GLOBALS['TYPO3_CONF_VARS']['DB']['database'] = 'projects_my_onenode'; | |
$GLOBALS['TYPO3_CONF_VARS']['DB']['username'] = 'user'; | |
$GLOBALS['TYPO3_CONF_VARS']['DB']['password'] = 'secret'; | |
$GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'] = 'My OneNode'; |
<?php | |
namespace Smichaelsen\MyExt\ViewHelpers; | |
use TYPO3\CMS\Extbase\Utility\LocalizationUtility; | |
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper; | |
/** | |
* Class TimeSpanViewHelper | |
* |