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
#cf { | |
position:relative; | |
height:200px; | |
width:200px; | |
margin:0 auto; | |
} | |
#cf .box { | |
position:absolute; | |
left: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
#!/usr/bin/php | |
<?php | |
ini_set('display_errors', 1); | |
error_reporting(E_ALL ^ E_STRICT); | |
define('FLOW_PATH_ROOT', __DIR__ . DIRECTORY_SEPARATOR); | |
define('FLOW_PATH_PACKAGES', FLOW_PATH_ROOT . 'Packages' . DIRECTORY_SEPARATOR); | |
class Gerrit { |
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 | |
use TYPO3\Surf\Domain\Model\Node; | |
use TYPO3\Surf\Domain\Model\SimpleWorkflow; | |
$application = new \TYPO3\Surf\Application\TYPO3\Flow(); | |
$application->setOption('version', getenv('VERSION')); | |
$application->setOption('repositoryUrl', getenv('REPOSITORY')); | |
$application->setOption('localPackagePath', FLOW_PATH_DATA . 'Checkout' . DIRECTORY_SEPARATOR . $deployment->getName() . DIRECTORY_SEPARATOR . getenv('DEPLOYMENT_NAME') . DIRECTORY_SEPARATOR); | |
$application->setOption('composerCommandPath', getenv('COMPOSER_PATH') ? getenv('COMPOSER_PATH') : '/usr/bin/composer'); | |
$application->setOption('transferMethod', 'rsync'); |
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
page.body { | |
sections { | |
main = TYPO3.Neos.NodeTypes:Plugin { | |
package = 'Radmiraal.RensadmiraalNl' | |
subpackage = 'Plugins' | |
# package = 'RobertLemke.Plugin.Blog' | |
controller = 'Post' | |
action = 'index' | |
} | |
} |
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
fruit1: apple | |
fruit2: pear | |
fruit3: banana | |
fruit4: cherry | |
: | |
{/f:for} |
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
public function showAction() { | |
if ($this->request->getFormat() === 'pdf') { | |
header('Content-Type: application/pdf'); | |
$pdf = new \Knp\Snappy\Pdf('/usr/bin/wkhtmltopdf.sh'); | |
echo $pdf->getOutputFromHtml($this->view->render()); | |
return ''; | |
} | |
} |
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 | |
class Tx_Something_ViewHelpers_Format_DateViewHelper extends Tx_Fluid_ViewHelpers_Format_DateViewHelper { | |
/** | |
* Render the supplied DateTime object as a formatted date. | |
* | |
* @param mixed $date either a DateTime object or a string that is accepted by DateTime constructor | |
* @param string $format Format String which is taken to format the Date/Time |
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
"name": "some/package", | |
"description" : "", | |
"config": { | |
"vendor-dir": "Packages/Libraries", | |
"bin-dir": "bin" | |
}, | |
"require": { | |
"typo3/flow": "2.0.0-beta1" | |
}, |
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
{ | |
"extra": { | |
"installer-paths": { | |
"Packages/Custom/{$name}/": ["composer/packagename1", "composer/packagename2"] | |
} | |
} | |
} |
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
Problem 1 | |
- Conclusion: don't install typo3/flow 2.0.x-dev | |
- Conclusion: don't install typo3/flow 2.0.x-dev | |
- Conclusion: don't install typo3/flow 2.0.0-beta1 | |
- Conclusion: remove typo3/buildessentials dev-master | |
- Conclusion: don't install typo3/buildessentials dev-master | |
- Conclusion: don't install typo3/buildessentials dev-master|remove typo3/flow-composer-installers dev-master | |
- Conclusion: don't install typo3/flow-composer-installers dev-master|don't install typo3/buildessentials dev-master | |
- Installation request for typo3/flow 2.0.* -> satisfiable by typo3/flow 2.0.0-beta1, typo3/flow 2.0.x-dev. | |
- Installation request for typo3/buildessentials dev-master -> satisfiable by typo3/buildessentials dev-master. |