Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
<?php | |
namespace Onedrop\Solution\Command; | |
/***************************************************************** | |
* Copyright notice | |
* | |
* (c) 2015 Hans Höchtl <hhoechtl@1drop.de> | |
* | |
* All rights reserved |
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 '*.*' |
rsync
must be available on both machines (deployment host and target host)<?php | |
namespace My\Ext\Scheduler\Task; | |
/** | |
* This file is part of the TYPO3 CMS project. | |
* | |
* It is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License, either version 2 | |
* of the License, or any later version. | |
* |
Note: "Forked" from Latency Numbers Every Programmer Should Know
Event | Nanoseconds | Microseconds | Milliseconds | Comparison |
---|---|---|---|---|
L1 cache reference | 0.5 | - | - | - |
Branch mispredict | 5.0 | - | - | - |
L2 cache reference | 7.0 | - | - | 14x L1 cache |
Mutex lock/unlock | 25.0 | - | - | - |
lib.layout.content = COA | |
lib.layout.content { | |
10 < styles.content.get | |
10.select { | |
where = colPos={field:colPos} | |
where.insertData = 1 | |
where.stdWrap.noTrimWrap = || AND NOT sys_language_uid = 0| | |
where.stdWrap.noTrimWrap.if.isTrue.postUserFunc = TypoScript\PageIsCopyModeTranslation->evaluate | |
includeRecordsWithoutDefaultTranslation = 1 |
If you hate git submodule
, then you may want to give git subtree
a try.
When you want to use a subtree, you add the subtree to an existing repository where the subtree is a reference to another repository url and branch/tag. This add
command adds all the code and files into the main repository locally; it's not just a reference to a remote repo.
When you stage and commit files for the main repo, it will add all of the remote files in the same operation. The subtree checkout will pull all the files in one pass, so there is no need to try and connect to another repo to get the portion of subtree files, because they were already included in the main repo.
Let's say you already have a git repository with at least one commit. You can add another repository into this respository like this: